Home > mars-rover

mars-rover

Mars-rover is a project mainly written in Ruby, it's free.

A solution to a well known coding test

Running

All input is read from the file named input.txt

ruby explore.rb

Assumptions

  • You are on *nix
  • You have ruby installed
  • You have bundler installed
  • Only valid rover commands are issued
  • Rovers do not collide

Testing

bundle exec rspec spec && cucumber