Watch
1
0
Fork
You've already forked advent-of-code
0

Actually break the loop

This commit is contained in:
Jeremy Kaplan 2019-12-13 09:56:43 -08:00
commit d0b8dfa45f

View file

@ -90,7 +90,7 @@ class Game
blocks = @screen.tiles.values.count { |val| val == :block }
puts blocks
rescue DoneExecuting
nil
return nil
end
end