Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The classic tic-tac-toe game with a choice of 3 interfaces (cli, sinatra or shoes)
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
cli
game
shoes
sinatra
.gitignore
MIT-LICENSE
README.rdoc

README.rdoc

Ric-Rac-Roe

Ric-Rac-Roe is the classic tic-tac-toe game with a choice of 3 interfaces:

  • command line interface (cli)

  • web app (using Sinatra)

  • GUI desktop app (using Shoes)

The motivation behind this project was to experiment with a few technologies: Sinatra, Shoes, HAML. In addition to that, an effort has been made to write concise Ruby code.

How to run the game

Command line interface

From the project root directory, run the executable Ruby file:

./cli/run.rb

Sinatra interface

From the project root directory, start the Sinatra web server with:

ruby /sinatra/server.rb

Shoes interface

Something went wrong with that request. Please try again.