Implementation of John Conway's Game of life in the context of the programming and algorithms course at ENJMIN.
- Edit the constants in the file params.py :
- WINDOW_SIZE : the size of the display window, in pixels
- INITIAL_STATE : the initial matrix of cells the game will begin with. You can use this matrix generator to help you create one.
- Launch the file game_of_life.py
At any time during the game you can interact with it :
| Action | Key |
|---|---|
| Pause / resume the game | SPACEBAR |
| Speed up the game | UP |
| Slow down the game | DOWN |
| Toggle state of a cell | LEFT BUTTON (mouse) |