You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify your robot.py and other modules from Toy Robot 4 to solve the problem as stated in the topic content.
You can run the program using the instructions in To Run below.
You can test technical correctness by running the unit tests as in the section To Test below.
To Run
python3 robot.py
follow the input prompts to get the desired output
To Test
To run all the unittests: python3 -m unittest tests/test_main.py
To run a specific step's unittest, e.g step 1: python3 -m unittest tests.test_main.MyTestCase.test_step1
Note: at the minimum, these (unedited) tests must succeed before you may submit the solution for review.
About
This is a robot simulator that runs on the terminal. The user can make the simulated robot move back/forward by n Steps, turn left/right, replay past movements, Load or Generate a procedural Maze of obstacles, and solve it using the Depth-First Search Algorithm. The program makes use of the turtle library to render the robot's environment and th…