RumbleBot smaller walking rounds
This commit is contained in:
parent
edea18ee8c
commit
dec106ca98
@ -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…
x
Reference in New Issue
Block a user