-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# TicTacToe | ||
|
||
Sinatra Tic Tac Toe game built around a Ruby Tic Tac Toe gem. | ||
|
||
## 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. | ||
|
||
|
||
|