Cells to go
- Teleport Robot -
# # Hashtag lines are optional comments # # if in state 0 0 x*** -> N 0 # nothing N? Go N. (stay in state 0) 0 N*** -> W 1 # wall to N? Go W. (change to state 1) # if in state 1 1 ***x -> S 1 # nothing S? Go S. (stay in state 1) 1 ***S -> X 0 # wall to S? Don't move.(change to state 0)
Be sure to hit "Enter rules" after making changes.