This gem contains the core functionality for a basic Tic-Tac-Toe game. It can be used with an interface for games between two human players, human vs computer or computer vs computer. The computer player uses the Minimax algorithm to determine the best move possible thus making it unbeatable.
Add this line to your application's Gemfile:
gem 'TicTacToeCore'
And then execute:
$ bundle
Or install it yourself as:
$ gem install TicTacToeCore
TODO: Write usage instructions here
- Fork it ( https://github.com/[my-github-username]/TicTacToeCore/fork )
- 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 a new Pull Request