Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pyro2927/game-of-life

Conway's Game of Life in Ruby
https://github.com/pyro2927/game-of-life

Last synced: about 17 hours ago
JSON representation

Conway's Game of Life in Ruby

Awesome Lists containing this project

README

        

Game-of-Life
============

Conway's Game of Life in Ruby

Running `example.rb` starts with a block and a glider, which then run for 50 iterations. Each iteration is printed to the screen, and ends with this:

```
| | | | | | | | | | | | | | | | | | | |
| |X|X| | | | | | | | | | | | | | | | |
| |X|X| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |X| | | |
| | | | | | | | | | | | | | | | |X|X| |
| | | | | | | | | | | | | | | |X|X| | |
| | | | | | | | | | | | | | | | | | | |
```