U E D R , A S I H C RSS

데블스캠프2005/RUR-PLE/Harvest/허아영

~cpp 
def turn_right(): 
    repeat(turn_left, 3) 
def move2():
    if next_to_a_beeper(): 
        pick_beeper()
        move()
    else:
        move()
def move3():
    move()
    ifif()
    turn_left()
    repeat(move2, 5)
    ifif()
    turn_left()
    turn_left()
    ifif()
    repeat(move2, 5)
    turn_left()
    ifif()

def ifif():
    if next_to_a_beeper(): 
        pick_beeper()
repeat(move3, 6)

turn_off() 
아직 미완성이구요
다 모으는 것 까지 했어요 ㅋㅋ
열씸히 노가다 하는게 재밌을 것 같애서 그렇게 만들었어요 ~ ㅎㅎ
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:58
Processing time 0.0056 sec