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) {
|
protected char walkAround(char[][] grid) {
|
||||||
if (steps == 0) {
|
if (steps == 0) {
|
||||||
currentStepCount++;
|
currentStepCount = (currentStepCount + 1) % 10;
|
||||||
if (offByOne) {
|
if (offByOne) {
|
||||||
currentStepCount++;
|
currentStepCount++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user