/TicTacToe

Java (Swing) implementation of unbeatable Tic Tac Toe.

Primary LanguageJava

Unbeatable Tic Tac Toe

Java implementation of Tic Tac Toe using Java Swing. You can play against computer, but the best outcome you can get is draw.
This program (AI) uses minimax algorithm for deciding which move to play. The game tree of Tic Tac Toe isn't big, so program can calculate fast enough the whole game tree every move and because of that it can play the best possible move.