TTT(6) DOMAIN/IX SYS5 TTT(6)
NAME
ttt - tic-tac-toe
USAGE
/usr/games/ttt
DESCRIPTION
Ttt is the popular X and O game, but it is also a learning
program that never makes the same mistake twice.
When you begin, the program prompts you with
Accumulated knowledge? ( Yes or No )
You must respond with a yes or no. Then, the program tells
you how many ``words'' of knowledge it currently has in its
learning file. Then, ttt states whether or not this is a
``new game'', prints a three-by-three grid of numbers 1-9,
and prompts with ``Your move?'' as shown below:
new game
123
456
789
Your move?
One by one, as you specify numbers in the grid, the program
places an ``X'' in the location where the number once was.
After each turn that you have, the program takes a turn,
placing an ``O'' in any available spot. This continues
until either you or the program wins by creating a vertical,
horizontal, or diagonal line of three of the same characters
in a row on the grid. To exit the game, send an interrupt
(↑I).
Although it learns, ttt learns slowly. It must lose nearly
80 games to completely know the game.
FILES
/usr/games/ttt.k
learning file
Printed 12/4/86 TTT-1