Skip to content

jufa/game_of_life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life for terminal

Ruby implementation of Conway's Game of Life using fun terminal display.

Termianl use

ruby game_of_life.rb

Class use

TerminalConway.new(params)

rows: integer
columns: integer
fill_ratio: float 0..1 initial fraction of spaces populated by live cells
rate: seconds between generations
patterns: 2D array of string filled with empty space or * to initialize cell pattern, if defined, overrides other params other than rate

About

ruby game for life with terminal display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages