Page 1 of 1

Game of Life :D

Posted: Thu Sep 18, 2008 12:45 am
by SamPerson12345
Just finished this! It's Conway's game of life. Click while the game is paused to make a live cell. Spacebar toggles pause. Right arrow while paused moves it ahead a single generation. Backspace kills all live cells, pauses, and resets the amount of generations. There are comments in the code where there are settings you can edit. I hope you like it! :D

Re: Game of Life :D

Posted: Thu Sep 18, 2008 2:58 am
by Mr. Strange
Awesome. I own the original issues of Scientific American which, I believe, were the first publications dealing with this system. Just one of the fine things to come out of the 1970s.

--Mr. Strange

Re: Game of Life :D

Posted: Thu Sep 18, 2008 6:16 am
by cag
Ah, yes, I love Conway. I was lucky to have met and talked with him, too...
Good fun. Crazy cellular automaton Turing Machines.

Re: Game of Life :D

Posted: Thu Sep 18, 2008 9:51 am
by qubodup
conny.png
conny.png (5.17 KiB) Viewed 13002 times
Not totally boring, as opposed to all other gols I tried.

Please allow to drag-and-draw instead of having to click each field.

Maybe it would be good too if the field that would be filled if you clicked would shine a little. (So you can see where you'll draw.)

Re: Game of Life :D

Posted: Thu Sep 18, 2008 11:31 pm
by SamPerson12345
Alright! I finished doing what you just said. Enjoy! :D

Re: Game of Life :D

Posted: Fri Sep 19, 2008 11:05 am
by qubodup
Cool!
ani
ani
life.gif (9.63 KiB) Viewed 12937 times
The brush is a bit funny, as it will change the field it is on to its opposite, as opposed to the more intuitive "it will draw what it drawed on first press". It is not a problem though - it creates more interesting results imho

PS: it's confusing (for me) to not see where your mouse is. maybe a slight indicator would help

Re: Game of Life :D

Posted: Sat Sep 20, 2008 2:24 am
by Kaze
You should add saving and loading. It would be awesome.

Image
Try that :P

Re: Game of Life :D

Posted: Sat Sep 20, 2008 7:27 pm
by Kaze
Some suggestions:
Left click to place, right click to remove.
A grid (toggleable?).
More colors? Make it colorful! :D.
Show the list of controls while F1 is held down.

Re: Game of Life :D

Posted: Thu Oct 09, 2008 6:55 pm
by farvardin
this version is fantastic !!
I love it.