/locomote-robot

Solution to the Locomote toy robot challenge

Primary LanguageRubyMIT LicenseMIT

LocomoteRobot

Installation

$ git clone git@github.com:theminted/locomote-robot.git

In locomote-robot directory

$ bundle

Usage

$ ./bin/robot <command_file_path>

Command files have a single command for each line. For example

PLACE 1,2,NORTH
MOVE
LEFT

Test suite

$ rspec spec