Go to file
Stanislav Nowogrudski b72f3f1b6a
All checks were successful
continuous-integration/drone/push Build is passing
bumped to maven:3.8.2-openjdk-17 because it works on ubuntu hosts
2022-10-18 12:32:52 +02:00
scm bumped to maven:3.8.2-openjdk-17 because it works on ubuntu hosts 2022-10-18 12:32:52 +02:00
src Merge remote-tracking branch 'origin/master' 2022-10-13 13:01:35 +02:00
.gitignore added intelliJ stuff to the .gitognore 2017-04-21 22:42:44 +02:00
.travis.yml moved to openjdk:17, refactoring, dependency update, code cleanup 2022-10-13 12:57:52 +02:00
LICENSE Initial commit 2017-04-19 20:36:22 +02:00
pom.xml moved to openjdk:17, refactoring, dependency update, code cleanup 2022-10-13 12:57:52 +02:00
README.md trigger CI 2022-10-17 22:00:56 +02:00

toy-bot

Many thanks to Lorenzo Sisini (deactivated account) for this beautiful experience.

Requirements

  • maven 3
  • openjdk 17

Quick start

  • clone the repository
git clone https://github.com/poweronoff/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