ssunday / TicTacToeSinatra

Tic Tac Toe as a Sinatra web app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#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

About

Tic Tac Toe as a Sinatra web app


Languages

Language:Ruby 79.1%Language:CSS 11.6%Language:HTML 9.3%