Conway's game of life written in Haskell.
- Install haskell:
brew cask install haskell-platform
- Compile the executable (from the project directory)
cabal build
- Run the executable from the provided symlink
./game
- Default is a measly 10 by 10.
./game 400 100
will run life on a board of width 400 and height 100
- A third command line argument with legal values
live
orcross
will initialize a board with that shape of live cells. - Why
line
andcross
? They produce neat patterns. - Example:
./game 400 100 line
Life is more fun to watch on a large board like 400 x 100. This means you'll have to reduce your font size to the point that your terminal is only useful for watching life run.