https://github.com/dr-mod/game-of-life
Conway's Game of Life
https://github.com/dr-mod/game-of-life
cellular-automaton game-of-life
Last synced: 3 months ago
JSON representation
Conway's Game of Life
- Host: GitHub
- URL: https://github.com/dr-mod/game-of-life
- Owner: dr-mod
- License: mit
- Created: 2016-05-29T11:47:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-14T11:18:05.000Z (about 4 years ago)
- Last Synced: 2025-04-26T17:46:58.600Z (6 months ago)
- Topics: cellular-automaton, game-of-life
- Language: Haskell
- Homepage:
- Size: 946 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Game of Life
A Haskel implementation of a cellular automaton game. The game of life is a zero player game, thus, the way how the game process develops is determined by the game's initial state.

In this implementation of the game newly created cells are green, while those survived one or more rounds are of the default colour.
To change the game's initial state modify _init.txt_, while an asterisk means that a cell is alive, a space represents a dead cell.
To execute the game:
```
runghc gameOfLife.hs
```
To compile and execute:
```
ghc gameOfLife.hs
./gameOfLife
```If you want to find interesting patterns, you can start here: https://en.wikipedia.org/wiki/Conway's_Game_of_Life