I wish to create a Tic Tac Toe game with interactive help for my project.
The project will consist of four or five forms. There will be one parent form, the child Board form, the child Help form, the About form, and a possible child High Score Form.
The parent form will contain the child forms as well as the menu:
CTRL + N
)CTRL + S
)CTRL + X
)CTRL + H
)CTRL +
A
)The board
form will consist of a graphical title, the running score, and the board
itself. I will use line controls to separate the labels that are used to
contain the X
, O
, or blank values. When one of these lables is
clicked, the main board algorithm is run.
The help form will contain a scrolling list of expected questions. When one of these is chosen, the lable will be updated to contain the appropriate information.
The about form, as expected will give the program name, author name, publisher, version, license and copyright information, etc.
If I implement this, it will be a matter of reading a file upon load and parsing it. It would probably be a comma-separated values file.
The basic Tic Tac Toe Algorithm will be run upon the click of one of the label boxes in the Tic Tac Toe board form. In pseudocode, it is:
The help algorithm will be:
Upon exit, it will be necessary to save high scores (if implemented). The High Score form will also have a function to clear previous high scores.