lol

lol

Thursday, January 31, 2008

7 line defines

define movewall: if front_is_clear: movedefine pickall: while next_to_a_beeper: pickbeeperdefine cleartowall: while front_is_clear: movewall pickalldefine turneast: while not_facing_east: turnleftdefine turnwest while not_facing_west: turnleftdefine turnnorth: while not_facing_north: turnleftdefine turnsouth: while not_facing_south: turnleft

1 comment:

Danny said...

define cleartowall:
while front_is_clear:
movewall
pickall

This code won't work!

Powered By Blogger