第 9 步:让我们打败龙!用尽可能多的动作创造一场酷炫的战斗!

  • .使用.move().turn()命令来创建你的战斗。
  • 尝试让骑士移动到龙攻击并让龙从桥上掉下来。
  • 发挥创意并添加一些跳跃和转弯,使战斗更加复杂。
  • 战斗结束后,使用Say让骑士宣布"The path is clear!"

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)