Skip to content

erkde/toy_robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toy Robot

A Toy Robot Program in Ruby

Description

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.

Install

git clone https://github.com/erikse/toy_robot

Run

When passing commands via STDIN

bin/toy_robot

When passing commands via a file, e.g. sample.txt

bin/toy_robot sample.txt

Test

rspec

See

About

A Toy Robot Program in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages