Features:
- Terminal User Interface
- Either Human or Computer can go first
- Can play Human vs Human and Computer vs Computer as well
- Computer player has two options:
- Easy (random selection)
- Unbeatable (minimax algorithm)
- Make sure you have Ruby and Bundler installed.
- Clone the repo
git clone https://github.com/arootroatch/ruby-ttt.git
cd ruby-ttt
bundle install
bundle exec rspec -f d
cd ruby-ttt/lib
ruby tic_tac_toe.rb