Tic-Tac-Toe for one player

[TTT-1.BBX 10KB]

This neural network can play the game of Tic-Tac-Toe against a human. The computer's moves are very good, but not infallible; it is possible to trap the computer and win the game. For information about how to use the Tic-Tac-Toe game, see the documentation for the two-player version of the game: TTT-2.
[Image of network]
When playing this game, make your move then wait for the computer to play before making your next move. The functionality is the same as the two-player version, including the Clear All, Who goes first and Error neurons.

The computer follows three simple rules when playing:

  1. Play any move that will result in an instant victory.
  2. Play any move that will block the human from victory in the next turn.
  3. If nothing urgent is detected, then play the center or a corner or a side (in that order of preference).
Last modified: 21 September 1998