Question: In c++ Create a function named startHunt. It will be called from the main. The startHunt function is called the huntLoop function. The huntLoop function
In c++
Create a function named startHunt. It will be called from the main. The startHunt function is called the huntLoop function. The huntLoop function will contain a loop that will run for as long as turns remain and the user hasnt found the prize or lost it in another way. Write a function named huntMove. This function takes no input parameters. It should ask the user which direction they want to move. Write a function named movement. This function will take one input parameter, a char indicating the direction of movement. Write a function named prizeHunt that takes no input parameters and returns True if the players coordinates are the same as the prize coordinates or False otherwise.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
