Question: I need help with a c++ robot program. Implement a system that simulates a robot finding gold: 1) Each one of the following objects should
I need help with a c++ robot program.
Implement a system that simulates a robot finding gold:
1) Each one of the following objects should be implemented as classes: Workspace, Robot, GoldBar, Bomb. Create objects from these classes, making them to communicate among themselves as necessary to integrate your OOD/OOP (Object Oriented Design/Programming).
2) The Workspace is a 4 x 4 square walking place see figure; All objects have their initial position generated by a uniform distribution; objects should not be initiated in the same square, i.e. initial position should not be repeated;
3) The Robot should walk around and avoid stepping on any square where a Bomb is randomly placed. The robot can move one square at time.
4) Robot should keep walking around for as long as there is still a GoldBar to be found and collected in the workspace. 


Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
