第3步:让精灵说出游戏规则!

记住,你需要将 .say() 前面的名称更改为要说话的精灵的名称。

  • 点击 ,将 Wait 拖动到程序底部。
  • 拖出 Say 并将字符串更改为 "You have three tries to guess my number!"
  • 将另一个 Wait 拖动到程序底部。

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)