added+fixed game state loader, using NewGrid() to allocate new grids

This commit is contained in:
2024-05-23 15:04:08 +02:00
parent 1001210d54
commit ab51a27b4c
7 changed files with 99 additions and 11 deletions

View File

@@ -37,12 +37,13 @@ While it runs, there are a couple of commands you can use:
* right mouse click: set a cell to dead
* space: pause or resume the game
* while game is paused: press n to forward one step
* q: quit
* page up: speed up
* page down: slow down
* Mouse wheel: zoom in or out
* move mouse while middle mouse button pressed: move canvas
* escape: reset to 1:1 zoom
* s: save game state to file (can be loaded with -l)
* q: quit
# Report bugs