Live demo : https://fierce-falls-59862.herokuapp.com/robot-game/
Move the robot along the grid by giving it commands!
Allowed commands -
- POSITION X Y DIRECTION
Sets initial position of the robot. e.g-
POSITION 1 3 EAST
- FORWARD N
Move the robot N steps in the same direction it was already in. e.g-
FORWARD 3
- WAIT - Do nothing!
- TURNAROUND - Turn 360!
- LEFT - Turn left!
- RIGHT - Turn right!
- JDK 11
- Maven
mvn clean
mvn test
mvn clean
mvn spring-boot:run
Then, visit http://localhost:9086/robot-game/ from browser to play the game.
Have fun!