README.md in toy_robot_cli-0.1.0 vs README.md in toy_robot_cli-0.1.1
- old
+ new
@@ -31,10 +31,11 @@
- place X Y FACING: Place the robot on the table at position X,Y facing the specified direction (NORTH, EAST, SOUTH, WEST).
- move: Move the robot one unit forward in the current direction.
- left: Rotate the robot 90 degrees to the left.
- right: Rotate the robot 90 degrees to the right.
- report: Report the current position and direction of the robot.
+- current_position: Report the current position of the robot.
Here's an example usage:
```shell
$ toy_robot
@@ -42,9 +43,10 @@
> move
> move
> right
> move
> report
+> current_position
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` or `bundle exec cucumber features` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.