The Odin Project Assignment: "Build a Tic Tac Toe Game in Ruby"
is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game. Please see Wikipedia article for extended info.
Save Tic-Tac-Toe-Game folder in your chosen location
And then inside of it execute:
$ bundle
To play the game run:
ruby Tic-Tac-Toe-Game\run_game\play.rb
TO DO
Let me know if you find a bug!
- Preventing crashing with wrong inputs
- Enabling user game setup (right now game starts with previously set players, names, etc.)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
* See license.txt for usage details.