TicTacToe Applet

Version 1.04, April 5, 2001.


Human is X and moves first, computer is O.
Click a square to begin.
Source code.

This game is simple enough that the applet uses exhaustive tree search (min-max algorithm) to decide its moves. As such, it cannot be defeated. Most games will be drawn, but it will win if you let it.


index.html
This page created February 5, 2001.
HTML, Applet, and source code copyright © 2001-2010, by Rick Wagner, all rights reserved.
This page updated July 12, 2010.