Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgartner/game_of_life
Simple Game of Life I wrote in Ruby
https://github.com/mgartner/game_of_life
Last synced: 5 days ago
JSON representation
Simple Game of Life I wrote in Ruby
- Host: GitHub
- URL: https://github.com/mgartner/game_of_life
- Owner: mgartner
- Created: 2013-10-20T19:41:02.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-08-02T02:03:16.000Z (over 10 years ago)
- Last Synced: 2024-10-12T02:46:19.337Z (about 1 month ago)
- Language: Ruby
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Game of Life
============Simple Game of Life I wrote in Ruby quite a while ago. It runs completely in a terminal using a character matrix to visualize the game.
To run the game:
$ ruby runner.rb
The game is setup with a glider gun by default. I created 3 other setups as well. Edit the `runner.rb` file to try them.```ruby
# Initialize with a toad.
game.setup_toad# Initialize with a glider.
game.setup_glider# Initialize with a glider gun.
game.setup_glider_gun# Initialize a random setup.
game.setup_random(1000)
```