Skip to content
Conway's Game of Life, built with Opal, the Ruby to JS transpiler
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
opal
Gemfile
Gemfile.lock
README.md
Rakefile
index.html
life.css

README.md

Conway's Game of Life in Ruby

Background

While playing with the Volt framework and the Opal Ruby-to-JS transpiler, I knocked up this browser based implementation of Conway's Game of Life.

The code is a bit over-complex, and not particularly efficient, it was purely and experiment in how to use Opal in the browser.

Setup

To build the css and js files run...

bundle install

rake build

Now open index.html in a browser.

You can’t perform that action at this time.