P6: TicTacToe
P6: TicTacToe


Due Date: Monday, April 1, 2002, 23:59:59

The purpose of the sixth assignment is to gain introductory experience using an array of characters to represent the board position of a simple game of Tic-Tac-Toe. Use the sample data input/output files below to test your program before submitting it to the Curator.

P6 Tic-Tac-Toe (PDF  format)

Sample sets of I/O files are available for testing:

0 TTTmoves.txt TTTgame.txt
1 TTTmoves0.txt TTTgame0.txt
2 TTTmoves1.txt TTTgame1.txt

Downloading Sample Input/Output Files

To download a file, right-click on the link. Select "Save Target As..." or "Save Link As...", choose a directory to save the file, and save it.

In order for your program to read the input file, you must use the correct name, which will be given in the program specification, and you must save the file in the same directory as your source code (cpp) file.

Computer Science 1044, Introduction to Programming in C/C++
D. Barnette