Tic Tac Toe was created to help me learn Ruby
The Ruby Files are played in terminal:
- Tic Tac Toe.rb is two player
- Tic Tac Toe AI.rb is against the computer
The AI will always win or draw. It follows the move order found on wikipedia:
- Win
- Block Win
- Fork
- Block Fork
- Play Center
- Play Opposite Corner
- Play Empty Corner
- Play Empty Side
The Web App is a two player Javascript version with a simple UI
Play Online: http://dbz.github.io/Tic-Tac-Toe/