My Conway's Game of Life Implementation
Posted: March 23rd, 2017, 11:28 pm
This code was previously only on the Discord chat, so I decided to post it here as well.
It is a simulation of Conway's Game of Life made with Chili's awesome framework. It uses the concepts taught in the 2D arrays tutorial as well as references and the timers used in Snek. I will not explain GoL here as you can easily find out on Google (or read my code).
Controls:
SPACE: Pause/resume simulation.
RIGHT: Step forward one "life iteration".
LEFT: Step backward (coming soon)
DELETE: Clear the board (not particularly useful at this point)
I plan to update this post as new features are added, but for an (almost) real-time view of all my changes, follow the GitHub repository (https://github.com/threen-plus-one/conway-gol).
It is a simulation of Conway's Game of Life made with Chili's awesome framework. It uses the concepts taught in the 2D arrays tutorial as well as references and the timers used in Snek. I will not explain GoL here as you can easily find out on Google (or read my code).
Controls:
SPACE: Pause/resume simulation.
RIGHT: Step forward one "life iteration".
LEFT: Step backward (coming soon)
DELETE: Clear the board (not particularly useful at this point)
I plan to update this post as new features are added, but for an (almost) real-time view of all my changes, follow the GitHub repository (https://github.com/threen-plus-one/conway-gol).