Prerequisites:
- Ruby 2.6.x
No dependencies are required to run the robot simulator. To run the program:
bin/robot
The program accepts the following command-line arguments:
-s SIZE
,--size=SIZE
- Board size. Defaults to 5-v
,--version
- Show version and exit-d
,--debug
- Print debug messages-o
,--num-obstacles
- Number of the obstacles on the board-h
,--help
- Prints help message
Prerequisites:
- Ruby 2.6.5
- Bundler
No dependencies are required to run the robot simulator. However, some are required for development. Install the development dependencies with Bundler
bundle install
To run tests:
bundle exec rspec