Question: Could someone please help me write this program using C++ please. The instructions are in he pictures provided and the code in text below is

Could someone please help me write this program using C++ please. The instructions are in he pictures provided and the code in text below is the starting code:
#include
#include
void DisplayStats( int cab, int goat, int trav, int wolf );
void DisplayMenu();
void MoveObject( int& obj, int& trav );
bool CheckWin( int cab, int goat, int trav, int wolf );
bool CheckLose( int cab, int goat, int trav, int wolf );
int main()
{
int cabbage = 1, goat = 1, traveller = 1, wolf = 1;
bool done = false;
while ( !done )
{
}
}
 Could someone please help me write this program using C++ please.
The instructions are in he pictures provided and the code in text
below is the starting code: #include #include void DisplayStats( int cab, int
goat, int trav, int wolf ); void DisplayMenu(); void MoveObject( int& obj,
int& trav ); bool CheckWin( int cab, int goat, int trav, int
wolf ); bool CheckLose( int cab, int goat, int trav, int wolf
); int main() { int cabbage = 1, goat = 1, traveller
= 1, wolf = 1; bool done = false; while ( !done

About For this project, you will implement the Cabbage, Goat, Wolf game. You will need to implement: * Keeping track of which island each character is on (cabbage, goat, wolf, and traveller) Allow the traveller to move between islands, with or without another object Check for "lose state": Either cabbage and goat left alone, or goat and wolf left alone Check for "win state": All objects are on the 2nd island

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!