RumbleBot smaller walking rounds
This commit is contained in:
+1
-1
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user