A Toy Robot Program in Ruby
toy_robot is an attempt of the Toy Robot Coding Puzzle by Jon Eaves. It's not a Ruby gem, but uses a similar directory layout to make it familiar to a Ruby developer.
It requires Ruby version 2.3 or later to run.
git clone https://github.com/erikse/toy_robot
When passing commands via STDIN
bin/toy_robot
When passing commands via a file, e.g. sample.txt
bin/toy_robot sample.txt
rspec