lol

lol

Friday, February 1, 2008

step 17

define zoom1: move while next_to_a_beeper: pickbeeperdefine zoom2: while front_is_clear: zoom1define east: while not_facing_east: turnleftdefine west: while not_facing_west: turnleftdefine north: while not_facing_north: turnleftdefine south: while not_facing_south: turnleftwestzoom2southzoom2eastzoom2northwhile front_is_clear: zoom1 turnleft if front_is_blocked: turnleft turnleft zoom2 northif any_beepers_in_beeper_bag: putbeepersouthzoom2westzoom2turnoff

DONE STEAO 17.... grtas bb

No comments:

Powered By Blogger