- Robot.java: the Abstract Robot Class, defines the methods other Robots inherit
- Bob.java: the Bob robot that searches for Alice
- Alice.java: the robot at the end
- ScientistRobot.java: scientist robot
- DoctorRobot.java: doctor robot
- PolicemanRobot.java: policeman robot
- StudentRobot.java: student robot
- MazeRobotFactory.java: Factory class that supplies robots to RobotMaze.java
- Client.java: Facade class for simple usability
- RobotMaze.java: Maze generator and solver - code for maze generation and solving based on:
- StdDraw.java: Drawing class taken from:
- Put all files in the same directory.
- Run Client.java with a filename in the commandline.
- Example: java MyProgram myfile.type
Note: Program will read the first int of the file and create a maze size (first int * first int).