Browse Source

RumbleBot smaller walking rounds

master
Your Average Code 11 months ago
parent
commit
dec106ca98
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/RumbleBot.java

+ 1
- 1
src/RumbleBot.java View File

@@ -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++;
}

Loading…
Cancel
Save