Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

Students also viewed these Databases questions