6840e3ecd5 | ||
---|---|---|
app | ||
src | ||
test | ||
.gitignore | ||
ChangeLog.md | ||
LICENSE | ||
README.md | ||
Setup.hs | ||
life.cabal | ||
package.yaml | ||
stack.yaml | ||
stack.yaml.lock |
README.md
What doth life?
Install
git clone
this repository and run stack install
You probably need libfreeglut-dev or devel to build this, and libfreeglut installed to run it.
Then, run life
You can load .cells files using life my_file.cells
Keybindings:
Click a cell to toggle it
SPACEBAR: Stop - Start simulation
f: forward 1 generation
x: speed up
z: slow down
s: zoom out
a: zoom in
arrows: move around
h,j,k,l: move around
r: clear all cells
q: quit program
Links:
https://www.youtube.com/watch?v=Sq2egQOygV8
TODO:
- Hashlife
- HUD
- save files
- support for .rle