Question: program in C! Write a program that will allow two users to play a tic-tac-toe game. You should write the program such that two people
program in C!

Write a program that will allow two users to play a tic-tac-toe game. You should write the program such that two people can play the game without any special instructions. (assume they know how to play the game) Prompt first player(X) to enter their first move. Then draw the gameboard showing the move. Prompt the second player(O) to enter their first move. Then draw the gameboard showing both moves. And so on...through 9 moves. . . You will need to: 1) Test each move to see if that space is still available 2) After each move, check to see if someone has won the game yet 3) After 9 moves, if there is not winner declare a draw. You must use functions to: . Test each move to see if it's a valid move . Check to see if someone has won
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
