Thumbnail

rani/games.git

Clone URL: https://git.buni.party/rani/games.git

Viewing file on branch master

1# Life
2
3Conway's Game of Life. The game begins in a board editor. Click on a dead cell to give it life and click on a living cell to kill it. Pressing enter begins the simulation. r clears the board. q quits the game.
4
5During simulation, i edits the initial board, e edits the current board, and q quits the game.
6
7# Config
8
9* `Y`: Board height
10* `X`: Board width
11* `DELAY`: Time between generations (ms)
12* `LIVE_C`: Character for living cells
13* `DEAD_C`: Character for dead cells
14