You are free to copy, modify and share under your name my exercises. But you will learn nothing, or will have the impression to understand without be able to do it again alone. Be responsible and simply ask for help.
omiroshn
This time, let’s code a Game Of Life, also known as Conway’s automaton. And while we’re talking about Life, let’s do it in Lisp.
Before starting the program you need to install the Lisp interpreter sbcl and the SDL bind for Lisp "lispbuilder-sdl".
How to start the program:
sbcl --load game_of_life.lsp [-h] width height
Some usefull buttons:
esc - exit
WASD - image dragging
C - center
R - reset
G - grid on/off
P - pause
1-6 - pulsars, gliders, lightweight spaceships
< - slow down
> - speed up
+ - zoom
- - zoom
Mouse wheel - zoom
RB + shift - image dragging