https://github.com/tahniat-ashraf/robot-game
A fun game built using Spring Boot and Vue
https://github.com/tahniat-ashraf/robot-game
Last synced: 7 months ago
JSON representation
A fun game built using Spring Boot and Vue
- Host: GitHub
- URL: https://github.com/tahniat-ashraf/robot-game
- Owner: tahniat-ashraf
- Created: 2021-10-18T18:23:18.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-18T18:48:00.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T00:44:36.810Z (9 months ago)
- Language: Java
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Robot Game
Live demo : https://fierce-falls-59862.herokuapp.com/robot-game/
Move the robot along the grid by giving it commands!
Allowed commands -
1) POSITION X Y DIRECTIONSets initial position of the robot. e.g-
```aidl
POSITION 1 3 EAST
```
2) FORWARD NMove the robot N steps in the same direction it was already in. e.g-
```aidl
FORWARD 3
```
3) WAIT - Do nothing!
4) TURNAROUND - Turn 360!
5) LEFT - Turn left!
6) RIGHT - Turn right!## Prequisites to run program
- JDK 11
- Maven
## How to run the tests
```
mvn clean
mvn test
```
## How to run
```
mvn clean
mvn spring-boot:run
```
Then, visit http://localhost:9086/robot-game/ from browser to play the game.
Have fun!