tahniat-ashraf / robot-game

A fun game built using Spring Boot and Vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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-

POSITION 1 3 EAST
  1. FORWARD N

Move the robot N steps in the same direction it was already in. e.g-

FORWARD 3
  1. WAIT - Do nothing!
  2. TURNAROUND - Turn 360!
  3. LEFT - Turn left!
  4. 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!

About

A fun game built using Spring Boot and Vue


Languages

Language:Java 70.1%Language:HTML 16.4%Language:JavaScript 9.8%Language:CSS 3.7%