clone the repository on your local
run npm install
to play the robot
run npm start
- When user keys in an invalid 1st command (that should be a PLACE command)
- When user keys in an invalid coordinate
- When user keys in an invalid direction
- When user keys in an invalid commands (input other than PLACE, MOVE, LEFT, RIGHT, REPORT)
- When the toy robot had moved to an invalid coordinate (changes will be discarded)
run npm test
to start the test