We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0d47d commit 133c780Copy full SHA for 133c780
lib/handle_input.rb
@@ -75,6 +75,9 @@ def interpret(command)
75
puts "New position #{robot.position.x},#{robot.position.y},#{robot.position.f}"
76
end
77
78
- puts 'reporting' if report.match?(command)
+ # puts 'reporting' if report.match?(command)
79
+ if report.match?(command)
80
+ puts "Output: #{robot.position.x},#{robot.position.y},#{robot.position.f}"
81
+ end
82
83
0 commit comments