I am doing a project for tic-tac-toe-How do I create a grid that holds the positions (9) for two players-have the program recognize if a position is chosen-and to flag a player - and how to recognize if a player has won or it is a draw?
Printable View
I am doing a project for tic-tac-toe-How do I create a grid that holds the positions (9) for two players-have the program recognize if a position is chosen-and to flag a player - and how to recognize if a player has won or it is a draw?
The whole program for the tic-tac-toe is given in the book titled 'Object Oriented programming using Turbo C++' by Robert Lafore.