Haskell class final project -- game in Haskell.
Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
LICENSE
Life.cabal
Main.hs
README.md
Setup.hs

README.md

Haskell class final project

Conway's Game of Life in Haskell

Takes a command-line argument specified input file specifying living cells (x,y) at initial state separated by newlines.

Example: in order to start with living cells at (0,0) and (2,3) the input file is:

0 0
2 3

Awaits newline between each "step" of the world, and keeps track of number of steps performed.

To run on given input file:

runhaskell Life.hs input