第2步:让我们记录分数!

  • 点击 ,将 Integer Variable 拖动到程序中。
  • 将变量名称更改为 score,将值更改为 0
  • 中,拖动 Variable Display
  • 将显示名称更改为 score_board,并将变量更改为 score

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)