Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 744 Bytes

README.rdoc

File metadata and controls

31 lines (16 loc) · 744 Bytes

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

  • Download Shoes @ shoooes.net/downloads

  • Once installed, open Shoes and select the ‘/shoes/app.rb’ file