https://github.com/iboard/agol
Andi's Game of Life
https://github.com/iboard/agol
Last synced: about 1 year ago
JSON representation
Andi's Game of Life
- Host: GitHub
- URL: https://github.com/iboard/agol
- Owner: iboard
- Created: 2013-06-02T08:40:13.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-02T10:06:47.000Z (about 13 years ago)
- Last Synced: 2025-04-04T08:08:48.234Z (about 1 year ago)
- Language: Ruby
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Andi's Game of Life
===================
This is a Curses-implementation of
[Conway's Game of Life](http://en.wikipedia.org/wiki/Conway's_Game_of_Life)
git pull https://github.com/iboard/agol.git
cd agol
ruby agol.rb
Then press a number-key between 1 and 9 (init the grid with randomly
alive or dead cells.
Press c to change the colors (randomly)
Press any other key than q to calculate the next cycle
Press q to quit
Have fun!
[Watch in action](https://plus.google.com/u/0/116071098827301487282/posts/2NrnsczFDK5)
X X X |
X X X X X |
X X X X X X X |
X X X X X |
X X X X X X |
X X X X |
X X X X X X X X |
X X X |
X X X |
------------------
1-9=init grid, q=quit, c=change color, any other key = cycle [44 cells alive]