A program plays tic-tac-toe using Machine Learning method called Minimax. This type of decision tree evaluates a score for every possible game outcome and makes a decision that has the greatest avaerage score. The "Hard" difficulty setting fully utilizes the Minimax function, while the "Easy" difficulty setting will make a ranodm move. The "Medium" difficulty setting alternates between making "Hard" and "Easy" choices with a 60-40 probability each turn.

Chose a difficulty setting and click "Start" to begin.

Easy Medium Hard
Start
It's your turn ...
You won !
You lost !
It's a Draw
Reset