Skip to content

iboard/agol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Andi's Game of Life

This is a Curses-implementation of 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

      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]

About

Andi's Game of Life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages