Question: I need help with Part 4 and I cannot use arrays or vectors. Thank you. Learning Objectives: The intent of this programing project is to

 I need help with Part 4 and I cannot use arraysor vectors. Thank you. Learning Objectives: The intent of this programing projectis to allow you the opportunity to demonstrate your ability to solveproblems using procedural C++ programming. This project will focus on using loops,

I need help with Part 4

and I cannot use arrays or vectors. Thank you.

Learning Objectives: The intent of this programing project is to allow you the opportunity to demonstrate your ability to solve problems using procedural C++ programming. This project will focus on using loops, functions, random numbers, and global variables in the implementation of tac toe game Program Description: In this design project, you will implement a tic tac toe game between a user and the computer. You may make the following assumptions The user is always the first player and the computer is the second player The user gets the marker X' and the computer gets the marker O'. Optional credit (extra Option 1 15 points]: Ask the user to flip a coin to determine who (either the user or the computer should play first. Option 215 points]: Ask the user (or the first player to choose their own marker. between "X" and "O Option 3 [10 points]: Create separate h and .cpp files for each function. Program Requirements Part 1: Create a function to draw the tic tac toe board Tic tac toe is a game that two parties play taking turns to mark a space (with X and O) in a 3x3 board. The player wins who succeeds to put three marks on a line (horizonta vertical, or diagonal). In the example above (source: Wikipedia), the first player wins As the first step to implementing the tic tac toe game, you are required to create a function that draws the tic tac toe board. This function will get called repeatedly until either all the nine spaces (or slots) on the board have been played Draw or a player Wins Initially, the nine spaces will have numbers associated with individual slots, as shown in the screen shot below. Then, after each play, a user's or a computer s chosen slots will show either X or O to designate the choice instead of the slot number. You will create a function to draw the board 1) initially with no choices made and 2) after each choice is made either by the player or by the computer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!