Skip to content

kgunbin/robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toy robot simulator

Instalation

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

Development

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

Releases

No releases published

Packages

No packages published

Languages