
Francesco Procopio
MYP5A
Tic Tac Toe in C++


My product is a video game of Tic Tac Toe which is coded in C++ programming language
​
The objective of the product was to allow me to learn how to program in an object oriented programming language.
​
​
The main challenges that I needed to accomplish for developing the game were the following:
-
Allow 2 players to choose their own names and play against each other;
-
Control the game play to allow only 1 player to move at a time;
-
Visualize the play grid at the center of the screen;
-
Check that the players couldn't position their marker (O or X) in a taken place;
-
Verify when a player would position his three markers in a row, horizontally, vertically and diagonally; this would determine the winning player;
-
Measure the time of play of the single game;
-
Manage replay or exit from the game;
-
Save the results to a file, to allow future players to see who played and who won the previous games.
​