Ruby Tic Tac Toe
Clone the git repository
$ git clone https://github.com/lisahamm/tic_tac_toe.git
Then cd
into the directory
$ cd tic_tac_toe
Install dependencies
$ bundle install
Run game!
$ ./bin/tic_tac_toe
The game is setup for a 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 player must enter a number 1-9 to mark the corresponding cell:
+- - - - - -+
| 1 | 2 | 3 |
+- - - - - -+
| 4 | 5 | 6 |
+- - - - - -+
| 7 | 8 | 9 |
+- - - - - -+