Go to file
2022-10-05 16:31:59 +02:00
scm using maven 3.8.1-jdk-11 docker image to fix the CI/CD build issue 2021-09-14 23:58:15 +02:00
src code cleanup, lombok update to 1.88.22 due some compile issues with a new JDK 2022-10-05 16:31:59 +02:00
.gitignore added intelliJ stuff to the .gitognore 2017-04-21 22:42:44 +02:00
LICENSE Initial commit 2017-04-19 20:36:22 +02:00
pom.xml code cleanup, lombok update to 1.88.22 due some compile issues with a new JDK 2022-10-05 16:31:59 +02:00
README.md add drone config, update dependencies 2021-02-07 18:43:47 +01:00

toy-bot

Build Status

Many thanks to Lorenzo Sinisi for this beautiful experience.

Requirements

  • maven 3
  • oracle JDK 8

Quick start

  • clone the repository
git clone https://code.poweronoff.click/steam/toy-bot.git
  • build the project
mvn clean package
  • run it
java -jar target/de.dj_steam.toybot-<version>-jar-with-dependencies.jar

Toy-Bot Reference

Commands:
PLACE X,Y,F - place robot on position X,Y - coordinates, and direction (NORTH|SOUTH|WEST|EAST)
MOVE - move the robot to the next field in facing direction
LEFT - turn the robot to the left
RIGHT - turn the robot to the right
REPORT - show robots position and facing direction
exit - exit the application

Further plans and implementation road

  • refactoring and rework MoveStrategy
  • implement JUMP command
  • implement TURN_AROUND command
  • user interface
  • add random pitfalls or barriers to the field