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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started