/TicTacToeSinatra

Tic Tac Toe as a Sinatra web app

Primary LanguageRuby

#Project Name

Tic Tac Toe Web App

Description

Allows two players to play Tic Tac Toe as a web app, locally or online. Made using Sinatra and Ruby and deployed with Heroku. Users can resume unfinished games or view previous completed games.

Installation

Clone the repository onto desktop.

Usage

To play online go to: https://tic-tac-toe-sinatra-1.herokuapp.com/

Locally:

Enter into the /TicTacToeSinatra folder and type the following lines on the command line:

bundle install
ruby main.rb

And then go to http://localhost:4567/

History

3/1/2016 - Presenters, file decoupling. Can resume games. 27/1/2016 - Converted to a database system and now allows users to see previous games. 25/1/2016 - Deployed with heroku 25/1/2016 - removed code duplication and created ReadMe