Game of life written in Haskell
Go to file
Raphy 6840e3ecd5 removed dist-newstyle from git 2021-11-30 05:13:33 +01:00
app changes in changelog 2021-01-12 15:21:24 +01:00
src changes in changelog 2021-11-30 05:08:32 +01:00
test initial commit 2021-01-12 09:43:20 +01:00
.gitignore removed dist-newstyle from git 2021-11-30 05:13:33 +01:00
ChangeLog.md changes in changelog 2021-11-30 05:08:32 +01:00
LICENSE initial commit 2021-01-12 09:43:20 +01:00
README.md changes in changelog 2021-11-30 05:08:32 +01:00
Setup.hs initial commit 2021-01-12 09:43:20 +01:00
life.cabal changes in changelog 2021-01-12 15:21:24 +01:00
package.yaml changes in changelog 2021-11-30 05:08:32 +01:00
stack.yaml changes in changelog 2021-11-30 05:08:32 +01:00
stack.yaml.lock initial commit 2021-01-12 09:43:20 +01:00

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

https://www.youtube.com/watch?v=Sq2egQOygV8

TODO:

  • Hashlife
  • HUD
  • save files
  • support for .rle