U E D R , A S I H C RSS

데블스캠프2005/RUR-PLE/Harvest/이승한

No older revisions available

No older revisions available



데블스캠프2005/RUR-PLE/Harvest/이승한

데블스캠프2005/RUR-PLE/Harvest/Refactoring
리펙토링 안된 소스는 날려버린...-_-ㅋ
~cpp 
def turnRight():
	repeat(turn_left,3)

def getSixBeepOneLine():
	pick_beeper()
	move()
	pick_beeper()
	move()
	pick_beeper()
	move()
	pick_beeper()
	move()
	pick_beeper()
	move()
	pick_beeper()

def getTwoLine():
	getSixBeepOneLine()
	turn_left()
	move()
	turn_left()
	getSixBeepOneLine()

##main
move()
getTwoLine()
turnRight()
move()
turnRight()
getTwoLine()
turnRight()
move()
turnRight()
getTwoLine()
turn_off()

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:58
Processing time 0.0171 sec