https://github.com/bwdmonkey/lifehs
Haskell implementation of Conway's Game of Life
https://github.com/bwdmonkey/lifehs
Last synced: 11 months ago
JSON representation
Haskell implementation of Conway's Game of Life
- Host: GitHub
- URL: https://github.com/bwdmonkey/lifehs
- Owner: bwdmonkey
- License: gpl-3.0
- Created: 2018-10-15T03:05:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-19T06:56:37.000Z (over 7 years ago)
- Last Synced: 2025-03-01T08:45:16.310Z (over 1 year ago)
- Language: Haskell
- Size: 24.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lifehs
Haskell implementation of Conway's Game of Life
Authors: Tom Lee, Susie Chen, James Luo
Usage:
```bash
$ runhaskell LifeGUI.hs
Welcome to Conway's Game of Life!
What would you like to do?
1) Use custom plots
2) Use seeds
> 1
Please provide a cell position you like to add in format of x, y (1-index)
or "quit" to quit:
> [...]
. ■ . . . . . . . . . . . . . . . . . .
■ . ■ . . . . . . . . . . . . . . . . .
. ■ ■ . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Press ^c in order to finish
```
Note that this program uses ANSI escape sequences hence may not work on Windows.