Simulator to move a robot on a grid area
git clone git@github.com:VLMH/toy-robot-simulator.git
cd toy-robot-simulator
bundle install
You may start the game in interactive mode or file mode
Interactive Mode
cd path/to/simulator
bin/play -i
File (YAML) Mode
cd path/to/simulator
bin/play -f <path/to/yaml/file>
Please refer to sample.yml for file settings
PLACE x, y, direction place robot on playground
'x' and 'y' are integer
direction can be one of ['north', 'east', 'south', 'west']
MOVE move a step forward
LEFT turn left
RIGHT turn right
REPORT report on current position
QUIT quit the game
HELP print available commands