Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 1.29 KB

README.md

File metadata and controls

66 lines (51 loc) · 1.29 KB

Conway's Game of Life

Contains multiple implementations of GoL, in various languages and algorithms.

TODO

  • Feed custom rules sets to game
  • Feed custom neighbor set patterns to game
  • Switch between borderless, bordered, and looped edges
  • Track cells that have lived
  • Clean up Shoes UI
  • Change algorithm to use hashes
  • Keep history during game
  • Game stops when board becomes static
  • Make board capable of dimensions being entirely in positive quadrant (for Ruby implementation 3)

Running instructions

Note: all listed commands executed with the working directory being the root folder of the sub-project. ###JavaScript ####Test

  • load spec/spec-runner.html in browser

###Ruby ####1 #####Test

  • $ rspec

#####CLI

  • $ ruby conway.rb

####2 #####Test

  • $ rspec

####3 #####Test

  • $ rspec

#####CLI

  • $ ruby game_of_life.rb

#####Shoes GUI

####4 #####Test

  • $ rspec

#####CLI

  • $ ruby game_of_life.rb

#####Shoes GUI

  • Open shoes_practice.rb in Shoes.app

####5 #####Test

  • $ rspec