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
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