(Set: $xy to 22)
(set:$y to 2)
[[xy]](if:$xy is 13)[X](if:$xy is not 13)[O](if:$xy is 23)[X](if:$xy is not 23)[O](if:$xy is 33)[X](if:$xy is not 33)[O]
(if:$xy is 12)[X](if:$xy is not 12)[O](if:$xy is 22)[X](if:$xy is not 22)[O](if:$xy is 32)[X](if:$xy is not 32)[O]
(if:$xy is 11)[X](if:$xy is not 11)[O](if:$xy is 21)[X](if:$xy is not 21)[O](if:$xy is 31)[X](if:$xy is not 31)[O]
(if:$xy is <30)[(link:"Left")[(set:$xy to $xy+10)(goto:"xy")]]
(if:$xy is >20)[(link:"Right")[(set:$xy to $xy-10)(goto:"xy")]]
(if:$y is <3)[(link:"Up")[(set:$xy to $xy+1)(set:$y to $y+1)(goto:"xy")]]
(if:$y is >1)[(link:"Down")[(set:$xy to $xy-1)(set:$y to $y-1)(goto:"xy")]]