4 ms·
Oh what the heck, because we're all sharing our Conways Attempts here is mine: https://github.com/JAStanton/conways-game-of-life https://github.com/JAStanton/co
by jastanton_ 14y ago
Oh what the heck, because we're all sharing our Conways Attempts here is mine:
https://github.com/JAStanton/conways-game-of-life https://github.com/JAStanton/conways-game-of-life
And the live version:
http://www.jastanton.com/experiments/conways-game-of-life/ 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.
- gsabo 14y agoThe 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.