Clobber on Rails is an online browser-based version of Clobber (a simple two-player board game), written in Ruby on Rails for Dan Bogaard's Web Client/Server Programming class at RIT.


(click to enlarge)

The site uses only HTML5 and JavaScript, except for the game board, which was required to be SVG. It features a basic user account system with win/loss tracking, a chat lobby, and of course the head-to-head game environment itself. Almost everything is updated "live" via simple ajax polling.

Clobber on Rails is my first Rails app: I took this project as an opportunity to learn the framework, which I'd been meaning to do for a while. It has no tests, very little documentation, and a few rough edges, but for the most part the code is (I think) fairly straightforward.

Source Code and Live Site

Source code is freely available on GitHub at https://github.com/grantovich/Clobber-on-Rails.

For the moment, this code is also live on Heroku at http://clobber-on-rails.heroku.com, though I make no guarantees that it will remain there for any length of time.