项目作者: asolanki

项目描述 :
Haskell class final project -- game in Haskell.
高级语言: Haskell
项目地址: git://github.com/asolanki/cs1501-final.git
创建时间: 2013-03-26T22:08:27Z
项目社区:https://github.com/asolanki/cs1501-final

开源协议:GNU General Public License v2.0

下载


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:

  1. 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:

  1. runhaskell Life.hs input