Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivan-guerra/game_of_life
An ncurses visualization of Conway's Game of Life
https://github.com/ivan-guerra/game_of_life
game-of-life ncurses
Last synced: 17 days ago
JSON representation
An ncurses visualization of Conway's Game of Life
- Host: GitHub
- URL: https://github.com/ivan-guerra/game_of_life
- Owner: ivan-guerra
- License: unlicense
- Created: 2023-11-29T04:02:54.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-13T04:45:30.000Z (3 months ago)
- Last Synced: 2024-11-13T05:24:18.770Z (3 months ago)
- Topics: game-of-life, ncurses
- Language: Rust
- Homepage: https://programmador.com/posts/2023/the-game-of-life/
- Size: 189 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conway's Game of Life
https://github.com/user-attachments/assets/feffca94-4a83-4eb4-9729-ac8268d8db4a
`life` is a command line application that renders a [Conway's Game of Life][1]
simulation in your terminal window. The user can define their own custom initial
state or use one of the many [examples](examples/).### Program Usage
Below is the program usage message that can be seen by running `life --help`:
```text
A visualization of Conway's Game of Life.Usage: life [OPTIONS]
Arguments:
initial game board stateOptions:
-r, --refresh-rate-usec
delay between iterations in microseconds [default: 100]
-h, --help
Print help
-V, --version
Print version
```The `INIT_STATE` argument is a path to a text file containing 2D coordinates
that define the initial state of the game board. The dimensions of the game
board are equal to the dimensions (width/height) of the terminal window.
Reference the [example](examples/) initial state configs when creating your own
config.[1]: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life#