cawel / ric-rac-roe
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit cb4325d68b6eaecbd6d02c30dd334c13c1b19450
tree e9487a01892b8dc6c462847d5e74f405b223c64a
parent 64241722cd274cfa17adebf81cb1efd7ed472200
tree e9487a01892b8dc6c462847d5e74f405b223c64a
parent 64241722cd274cfa17adebf81cb1efd7ed472200
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
MIT-LICENSE | ||
| |
README.rdoc | ||
| |
cli/ | ||
| |
game/ | ||
| |
shoes/ | ||
| |
sinatra/ |
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
- Download Shoes @ shoooes.net/downloads
- Once installed, open Shoes and select the ’/shoes/app.rb’ file

