News for hackers. Stuff that matters.
Re:A Readable Conway's Game of Life by jastanton_ on Sunday April 22, 2012 @08:31PM (#3876658)
Oh what the heck, because we're all sharing our Conways Attempts here is mine: https://github.com/JAStanton/conways-game-of-life

And the live version: http://www.jastanton.com/experiments/conways-game-of-life/

Mine acts more like a game, you can start and stop with 's' and enter draw mode with 'd' and draw on the cells.

Re:A Readable Conway's Game of Life by gsabo on Sunday April 22, 2012 @09:12PM (#3876755)
The logical simplicity of the rules makes it impossible to resist implementation, it seems :) I love being able to draw on your version - I missed out on implementing drag events.

I notice that you separate your "views" (this.cells) from your "models" (this.grid). This seems like a good idea from an MVC perspective, but I would worry that I'm forgetting to keep them in-sync in all cases.