# 你可以在循环前写代码
hero.moveRight()
# 在使用循环逃离迷宫之前,打开"Chest"!
hero.moveUp()
hero.attack("Chest")
# Return back back into the main hallway.
hero.moveDown()
while True:
# 移动3次
hero.moveRight(3)
# Move 3 times more.
hero.moveDown(3)
网易极客战记-KITHGARD地牢--攻破突袭 (需解锁)
猜你喜欢
转载自blog.csdn.net/Along_168163/article/details/122299229
今日推荐
周排行