Sha256: 55663cd880f66c2866945de90c3fe8861891396b424695440ee9194f1512d982
Contents?: true
Size: 606 Bytes
Versions: 2
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 Game.() instructions 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
robot_rea-0.1.7 | lib/robot.rb |
robot_rea-0.1.6 | lib/robot.rb |