Module: RubyLabs::LifeLab
- Defined in:
- lib/lifelab.rb
Overview
LifeLab
Conway’s Game of Life. #– TODO all of it… #++
Defined Under Namespace
Constant Summary collapse
- @@lifeDirectory =
– Initializations – These are “global” vars in the outer LifeLab scope that are accessible to all the classes and modules defined inside LifeLab
File.join(File.dirname(__FILE__), '..', 'data', 'life')
- @@rule =
"B3/S23"
- @@params =
{ :rounds => 1000, :rows => 20, :cols => 20, :pause => 0.01, }
- @@viewOptions =
{ :cellSize => 2, :cellRows => 100, :cellCols => 200, :padding => 20, :traceSize => 10, :cellColor => '#DDDDDD', }
- @@drawing =
nil