diff --git a/src/RumbleBot.java b/src/RumbleBot.java index b612e8a..367f7be 100644 --- a/src/RumbleBot.java +++ b/src/RumbleBot.java @@ -61,7 +61,7 @@ public class RumbleBot extends Bot { protected char walkAround(char[][] grid) { if (steps == 0) { - currentStepCount++; + currentStepCount = (currentStepCount + 1) % 10; if (offByOne) { currentStepCount++; }