Question: Write a C++ program to play the game of Ricochet Robots. Instructions: Displays header info and instructions on screen when run Displays the board Allows

Write a C++ program to play the game of Ricochet Robots. Instructions:

Displays header info and instructions on screen when run

Displays the board

Allows selecting default values (robot 2 to square M), random values, or user-selected values.

Allows making moves, displaying move numbers. Input can be upper or lower case, and can have spaces or not.

Robots stop at walls and don't run over each other

Game stops and message is given when goal robot makes it to the goal square.

If some robot besides robot 2 goes to the destination square (square M in this case), the destination square should change to show the robot there. When this robot moves away, the square should go back to displaying the letter that was there previously (M in our case.)

Must use appropriate STL classes for full credit

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!