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