Conway's Game of Life
#1
In my class we had to make a simple version of Conway's Game of Life in Python using simple ASCII characters to represent the cells. I was inspired and created a very nice looking (at least IMO) applet version.
http://lantry.us.to/gameOfLife
Right now it just randomly generates a starting board whenever you load the page (so you can refresh to restart) but I might add more control later.
The colors are on a sort of gradient depending on how many neighbors the cell has.
Thanks given by:
#2
hmmm......Interesting....
Thanks given by:
#3
When I saw Conway I immediately thought Mighty Ducks
Thanks given by:
#4
I added some more controls: you can now pause/unpause, move one step at a time (while paused), and control cell size.

Yeah, I'm bumping my thread. Sue me. :P
Thanks given by:
#5
Source?
I'd be interested to see how your implementation differs from mine.
Thanks given by:
#6
http://www.lantry.byethost24.com/gameOfL...fLife.java
I apologize for the lack of comments.
Thanks given by:
#7
'salright, the comments which are there are truly masterful ;)

Pleasant code, makes me realise how unnecessarily complicated I made my version.
Thanks given by:
#8
Gravedig, but what was your coloring scheme? Upon rereading about the game of life, I realized that there is nothing that would serve as a good color making thing. Is it the number of neighbors?
Thanks given by:
#9
Oui.
public Color getCellColor(int nAmt){    //controls cell color based on neighbor amount
:)
Thanks given by:
#10
Ahh, forgot I could look at the code. Thanks
Thanks given by: