command
module
Version:
v0.0.0-...-313f873
Opens a new window with list of versions in this module.
Published: Apr 8, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Conway's Game of Life
Requirements:
- Golang version >= go1.22 linux/amd64
Usage:
git clone https://github.com/Cybergenik/cgt && cd cgt
go run .
Map Editor key bindings:
- Left-MB: draw
- Right-MB: erase
- SPACE: fill map with a preset (hjkl/←↓↑→, Enter, Backspace)
- BACKSPACE: clear map
- ENTER: draw life!
Simulation key bindings:
- SPACE: Pause the game state and go back to Map Editor
- BACKSPACE: Clear the map and go back to Map Editor
Esc/Ctrl-C to exit
Run with DEFAULT=1 to set a default screen size of 160x66
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.