Your task: implement the decision logic that makes the agent follow the right wall until it reaches the goal.
Edit only inside decide_next_move(state). Return either a single move ('forward', 'left', 'right', 'back') or a list/tuple of moves. The engine will queue your moves and execute one per time step until the queue is empty, then call your function again. Use Reset to restart the run while keeping your algorithm’s internal memory; use Clear Memory to wipe any persisted state in your Python logic.
Tip: If the agent bumps into walls, your function may be suggesting invalid moves; the engine prevents walking through walls and will not move when the requested direction is blocked.