A simple Tic-Tac-Toe CLI game as an exercise to learn Ruby language.
You can run it in several ways.
In your terminal run bin/tictactoe
or ruby lib/tictactoe.rb
command.
Or generate the tictactoe
gem and install it:
gem build tictactoe.gemspec
gem install tictactoe-[VERSION].gem
And then run tictactoe
.
- Add one player mode.
- Analyze board and end game if no winning movements.