GOL | ||
Graphics | ||
.envrc | ||
.gitignore | ||
conways-game-of-life.cabal | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
Main.hs | ||
README.md |
Conway's Game of Life
An implementation of Conway's Game of Life in Haskell using comonads and functional reactive programming.
This package consists of two parts:
-
A library that can be used to simulate Conway's Game of Life on an arbitrary space using arbitrary rules. It is based on a comonad transformer stack.
-
An executable that uses Yampa and Gloss to graphically display a 100x100 simulation of Conway's Game of Life. The simulation can be controlled by the keys:
Space
– Play/Pause-
– Slow down the tick rate+
(hold shift) – Speed up the tick rate
This package is a work in progress and may not be fully functional.