Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
i need help in writing program on Tic Tac Toe
please any idea on how i can get this done please ......
Your task on this project is to create a program to play a game of Tic Tac Toe. The program should implement 2 versions of the game. One is a standard 2-person game in which there are two players. Each player takes a turn making a move. The second is a one person game, where the opponent is the program itself. After the player makes a move, the computer responds with a move.
At the start of the game, the player is asked whether the game will be a two-player game or a one-player game. At each turn, the player will be asked to enter a row and column to play. In a two-player game, X always goes first. In a one-player game, the human player is always X and goes first. The prompts should include whether it is X
0 · ·