lib/robot.rb in robot_rea-0.1.8 vs lib/robot.rb in robot_rea-0.1.9
- old
+ new
@@ -13,10 +13,10 @@
def self.run
instructions
Game.()
end
- def instructions
+ def self.instructions
puts <<~HEREDOC
Welcome to the Robot game
Please enter one of the following commands:
PLACE 0,0,NORTH (PLACE X,Y,DIRECTION)
MOVE