- 29 Oct, 2021 1 commit
-
-
Josiah Wang authored
-
- 17 Oct, 2021 2 commits
-
-
Josiah Wang authored
Refactored project to be even more OOP. Added Drink, DrinkFactory, Grid classes. Renamed the robot_init module to robot_factory. Also fixed a bug where prev_id was not incremented in RobotFactory.
-
Josiah Wang authored
-
- 15 Oct, 2021 1 commit
-
-
Josiah Wang authored
-
- 24 Sep, 2021 1 commit
-
-
Josiah Wang authored
-
- 22 Sep, 2021 1 commit
-
-
Josiah Wang authored
-
- 17 Sep, 2021 1 commit
-
-
Josiah Wang authored
Refactored robot to group its attributes like id, name, position and direction as a single dict representation. Refactored all relevant function implementations accordingly.
-
- 08 Sep, 2021 1 commit
-
-
Josiah Wang authored
-
- 02 Sep, 2021 3 commits
-
-
Josiah Wang authored
-
Josiah Wang authored
-
Josiah Wang authored
Updated main.py to randomly pick a name for the robot from a pre-defined list. Also added robot_names.txt that contains the list of condidate names for the robot
-
- 06 Aug, 2021 1 commit
-
-
Josiah Wang authored
-
- 02 Aug, 2021 8 commits
-
-
Josiah Wang authored
-
Josiah Wang authored
Improved robot in main.py so that it automatically rotates 90 degrees clockwise whenever it hits a wall.
-
Josiah Wang authored
Improved robot in main.py so that it automatically moves forward in the same initial direction until it hits a wall.
-
Josiah Wang authored
-
Josiah Wang authored
-
Josiah Wang authored
-
Josiah Wang authored
Updated robot program to read in coordinates, clip the coordinates to be between 0-9, and print out the robot's coordinates and quadrant.
-
Josiah Wang authored
-