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



protected char walkAround(char[][] grid) { protected char walkAround(char[][] grid) {
if (steps == 0) { if (steps == 0) {
currentStepCount++;
currentStepCount = (currentStepCount + 1) % 10;
if (offByOne) { if (offByOne) {
currentStepCount++; currentStepCount++;
} }

Loading…
Cancel
Save