i need help in writing program on Tic Tac Toe - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

i need help in writing program on Tic Tac Toe

ka412bka412b Posts: 1Member
please any idea on how i can get this done please ......

TicTacToe

Goal:
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.

Input:
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
Sign In or Register to comment.