Conway's Game of Life in ncurses on Steel Bank Common Lisp (SBCL).
2 display modes are supported: Ncurses and Opengl.
This game follow these rules:
- Any live cell with fewer than two live neighbours dies, as if caused by under-population.
- Any live cell with two or three live neighbours lives on to the next generation.
- Any live cell with more than three live neighbours dies, as if by overcrowding.
- Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
- r: Reset the game
- q: Quit
- sbcl
- Ncurses: libncursesw (path: /lib/x86_64-linux-gnu/libncursesw.so.5.9)
- OpenGL: freeglut
Sadly, you must have to satisfy all of these requirements for now(because i'm lazy).
sh build.sh
Edit build.lisp
for choosing display mode.