matthiassiegel / gameoflife

Ruby implementation of Conway's Game of Life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conway's Game of Life

How to use

ruby life.rb

With custom board size (default is 40x40):

ruby life.rb --width 80 --height 20

With custom interval (default is 0.5sec):

ruby life.rb --interval 0.2

For terminals with dark background you may want to invert the output:

ruby life.rb --inverted

Print all options:

ruby life.rb --help

About

Ruby implementation of Conway's Game of Life

License:MIT License


Languages

Language:Ruby 100.0%