Execute : python robot.py
To exit enter EXIT
NOTE: Use ALL CAPS FOR COMMANDS
TEST CASES :
MOVE
Robot has not been placed, the action cannot be performed.
LEFT
Robot has not been placed, the action cannot be performed.
RIGHT
Robot has not been placed, the action cannot be performed.
REPORT
Robot has not been placed, the action cannot be performed.
PLACE 0,0,NORTH
REPORT
X axis : 0, Y axis: 0, Facing Direction: NORTH
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Invalid movement, robot is not moved
LEFT
MOVE
Invalid movement, robot is not moved
REPORT
X axis : 0, Y axis: 4, Facing Direction: WEST
RIGHT
RIGHT
REPORT
X axis : 0, Y axis: 4, Facing Direction: EAST
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Invalid movement, robot is not moved
REPORT
X axis : 4, Y axis: 4, Facing Direction: EAST
RIGHT
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Invalid movement, robot is not moved
REPORT
X axis : 4, Y axis: 0, Facing Direction: SOUTH
RIGHT
REPORT
X axis : 4, Y axis: 0, Facing Direction: WEST
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Robot has moved
MOVE
Invalid movement, robot is not moved
REPORT
X axis : 0, Y axis: 0, Facing Direction: WEST
EXIT
Exiting
Process finished with exit code 0