From dec106ca98148819e331631eb6b5d88cd37d690a Mon Sep 17 00:00:00 2001 From: Your Average Code <138674451+UrAvgCode@users.noreply.github.com> Date: Thu, 25 Jan 2024 01:20:17 +0100 Subject: [PATCH] RumbleBot smaller walking rounds --- src/RumbleBot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; }