Cells to go
- Teleport Robot -
# These lines are comments. # Remember that rules are formatted as # State Surroundings -> Move NewState # Picobot starts in state 0. # Here, state 0 goes N as far as possible 0 x*** -> N 0 # if there's nothing to the N, go N 0 N*** -> X 1 # if N is blocked, switch to state 1 # and state 1 goes S as far as possible 1 ***x -> S 1 # if there's nothing to the S, go S 1 ***S -> X 0 # otherwise, switch to state 0
Be sure to hit "Enter rules" after making changes.