life

Conway's Game of Life (ncurses)
git clone https://github.com/michaelneuper/life.git
README | Files | Log | Refs

life/README (657B)


GAME OF LIFE
============
A simple tui version of Conway’s Game of Life using ncurses.

Build
-----
`make`

Run
---
`make run`

Game Controls
-------------
* q            quit
* e            edit grid
* space / p    pause or resume
* n            step one generation (only when paused)
* + or =       speed up
* - or _       slow down

Editor Controls
---------------
Use arrows, `hjkl` or `wasd` to move
* t            toggle cell
* r            randomize grid
* space / e    exit editor
* enter        exit editor
* q            quit program

Notes
-----
Grid size is based on the terminal size at launch.
Resize the terminal before starting if needed.