An open API service indexing awesome lists of open source software.

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

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 DIRECTION

Sets initial position of the robot. e.g-
```aidl
POSITION 1 3 EAST
```
2) FORWARD N

Move 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!