benjohnson77 / cgol

Conway's Game of Life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conway's Game of Life

This is how I went about solving the CGOL.

Tools I Used

  • ruby
  • Sinatra
  • Rspec
  • HAML
  • jQuery

Approach

I really did this as an example of full stack dev. So I wanted to incorporate server side data/logic ie ruby class and JQuery/HAML for visualization. I tested with a 3x3 array to test my logic and wrote rspec tests with sample behavior covering logic. I chose sinatra for light weight web server without having to mess with full rails app. I chose haml just to use it.

Play the game here.

http://cgol-uber.herokuapp.com/

TODO

User should be able to make a rectangular board. User should not see the turn route in the URL.

Could make it social and allow other users to save initial game states and share them, if we wanted to get CRAZY!!!

About

Conway's Game of Life


Languages

Language:Ruby 65.7%Language:JavaScript 30.5%Language:CSS 3.8%