This program generates every possible, legal, and unique layout for the game of tic-tac-toe and gives several methods of investigating the results.