diff --git a/src/RumbleBot.java b/src/RumbleBot.java index fada332..fd1c7be 100644 --- a/src/RumbleBot.java +++ b/src/RumbleBot.java @@ -108,7 +108,10 @@ public class RumbleBot extends Bot { protected char walkAround(char[][] grid) { if (steps == 0) { steps = random.nextInt(20); - return '>'; + if(random.nextBoolean()) + return '<'; + else + return '>'; } else { steps--; return safeMove(grid);