A ruby implementation of Conway's Game of Life using Gosu Library.
-
Start up the game via the terminal.
$ ruby conways_game_of_life.rb
-
Type in the desired width and height of the grid.
-
Use the mouse to select the seed of the game (you can toggle the state of a cell by clicking again on it).
-
Press Enter to begin the simulation of the game.
-
Press ESC to exit the game.
-
Press R to reset the grid and start a new game.