FunRobo will obey your valid commands
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
sample-input
spec
.gitignore
README.md
robo.rb

README.md

fun-robo

Play with robot

Valid Commands

  • PLACE x,y,face
  • MOVE
  • LEFT
  • RIGHT
  • REPORT

How to run FunRobo

  • commands from command line parameters ruby robo.rb 'PLACE 2,2,NORTH' MOVE LEFT MOVE RIGHT REPORT 'PLAVE 4,3,SOUTH' MOVE REPORT
  • commands from file ruby robo.rb filename