toy-bot/README.md

44 lines
1.1 KiB
Markdown
Raw Normal View History

2017-04-22 22:03:21 +02:00
# toy-bot
2021-02-07 18:43:47 +01:00
[![Build Status](https://ci.poweronoff.click/api/badges/steam/toy-bot/status.svg)](https://ci.poweronoff.click/steam/toy-bot)
2017-04-22 22:03:21 +02:00
2017-05-03 16:55:14 +02:00
Many thanks to [Lorenzo Sinisi](https://github.com/lorenzosisini) for this beautiful experience.
2017-04-22 22:03:21 +02:00
#### Requirements
- maven 3
- oracle JDK 8
#### Quick start
- clone the repository
```bash
git clone https://code.poweronoff.click/steam/toy-bot.git
2017-04-22 22:03:21 +02:00
```
- build the project
````bash
mvn clean package
````
- run it
```bash
java -jar target/de.dj_steam.toybot-<version>-jar-with-dependencies.jar
```
#### Toy-Bot Reference
```bash
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