Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 677 Bytes

README.md

File metadata and controls

30 lines (15 loc) · 677 Bytes

TicTacToe

Sinatra Tic Tac Toe game built around a Ruby Tic Tac Toe gem. View online here.

Installation

Clone the git repository

$ git clone https://github.com/lisahamm/sinatra_tic_tac_toe

Then cd into the directory

$ cd sinatra_tic_tac_toe

Install dependencies

$ bundle install

Run app

$ ruby tic_tac_toe_controller.rb

Usage

The game is setup for two human players or one human player and an unbeatable computer player. The human player can pick its mark ('X' or 'O') and its turn order (first or second). Human players must click on a cell/square to set the corresponding cell with their mark.