Write a program to play tic tac toe (zero kaataa). (Google tic tac toe if you dont know)
You need to create a 3 by 3 array to represent the game board.
One by one, each player would specify the row and column numbers and that player’s symbol would be written to the corresponding array cell. Make sure a player doe not write to an already occupied cell.
At the end of each turn, the table would be drawn on the screen. At the end of each turn, your program should check if any player has won or not.
Game ends when either a player wins or the table is full.
Answer to : Question 157611