[Solved] : Question 157611

 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.

Expert Answer

Answer to : Question 157611

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?