A Spring Boot application to control a Robot's movements in Mars.
mvn clean install
java -jar target/mars-robot.jar
-
Right Rotations -> http://localhost:8080/rest/mars/MMRMMRMM (Response: (2, 0, S))
-
Left movement -> http://localhost:8080/rest/mars/MML (Response: (0, 2, W))
-
Invalid command -> http://localhost:8080/rest/mars/AAA (Response: 400 Bad Request)
-
Invalid position -> http://localhost:8080/rest/mars/MMMMMMMMMMMMMMMMMMMMMMMM (Response: 400 Bad Request)