Sinatra Tic Tac Toe game built around a Ruby Tic Tac Toe gem. View online here.
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
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.