magnum:code$ gcc -o ttt ttt.c magnum:code$ ttt Do you want to go first? (y/n) y Enter a square: 5 * * * * * * *********** * * * X * * * *********** * * * * * * I am choosing square 1! * * O * * * * *********** * * * X * * * *********** * * * * * * Enter a square: 3 * * O * * X * * *********** * * * X * * * *********** * * * * * * I am choosing square 7! * * O * * X * * *********** * * * X * * * *********** * * O * * * * Enter a square: 4 * * O * * X * * *********** * * X * X * * * *********** * * O * * * * I am choosing square 6! * * O * * X * * *********** * * X * X * O * * *********** * * O * * * * Enter a square: 8 * * O * * X * * *********** * * X * X * O * * *********** * * O * X * * * I am choosing square 2! * * O * O * X * * *********** * * X * X * O * * *********** * * O * X * * * Enter a square: 9 * * O * O * X * * *********** * * X * X * O * * *********** * * O * X * X * * The game is a draw. Do you want to play again? (y/n) n magnum:code$