Sha256: 54f208b01e6739004629fa7b42d0a98e9ced2cfa02282a0e153f152b8b0505c8
Contents?: true
Size: 606 Bytes
Versions: 1
Compression:
Stored size: 606 Bytes
Contents
# frozen_string_literal: true require 'robot/version' require 'robot/point' require 'robot/position' require 'robot/directions' require 'robot/commands' require 'robot/command_proxy' require 'robot/table' require 'robot/game' module Robot def self.run instructions Game.() end def instructions puts <<~HEREDOC Welcome to the Robot game Please enter one of the following commands: PLACE 0,0,NORTH (PLACE X,Y,DIRECTION) MOVE LEFT RIGHT REPORT invalid commands are ignored. You must start with a place command. HEREDOC end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
robot_rea-0.1.8 | lib/robot.rb |