Game of Life

Talk about anything in here.
Post Reply
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Game of Life

Post by jacek »

Recently I was challenged to a game-of-life-off competition. The result was http://jacekk.co.uk/scripts/life.html

The code for this can be seen in the page source since its all in JavaScript. The challenge was to get a working version as fast as possible so there are no fancy optimisations.

It's a nice challenge and worth trying if you have a spare hour :)

</random sharing>
Image
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Game of Life

Post by Helx »

Could you explain a bit more?
I'm not too sure what I'm looking at when I click "randomize" then "start" (or maybe it's just my ignorance).
User avatar
EcazS
Posts: 789
Joined: Fri May 06, 2011 5:29 pm

Re: Game of Life

Post by EcazS »

Now do it in Minecraft! :lol:
ExtremeGaming
Posts: 205
Joined: Mon Jul 09, 2012 11:13 pm

Re: Game of Life

Post by ExtremeGaming »

I think I broke it :? Whatever it is.
<?php while(!$succeed = try()); ?>
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Game of Life

Post by jacek »

It's a simple simulation with 4 rules http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life black cells are dead white ones are alive.
EcazS wrote:Now do it in Minecraft! :lol:
Challenge accepted !

EDIT:
Image
User avatar
EcazS
Posts: 789
Joined: Fri May 06, 2011 5:29 pm

Re: Game of Life

Post by EcazS »

Dammit!

I got distracted by the random slime at 1:50 :lol:
User avatar
Helx
Posts: 350
Joined: Thu May 17, 2012 6:45 am
Location: Auckland, New Zealand

Re: Game of Life

Post by Helx »

jacek wrote:It's a simple simulation with 4 rules http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life black cells are dead white ones are alive.
Ohhhhh!!!
I get it now :D

Very clever :P
User avatar
EcazS
Posts: 789
Joined: Fri May 06, 2011 5:29 pm

Re: Game of Life

Post by EcazS »

I thought the moving black cells were alive.
JelvinJS7
Posts: 341
Joined: Thu May 12, 2011 8:40 pm

Re: Game of Life

Post by JelvinJS7 »

i think i just broke… :P
Post Reply