Return to Video

Minecraft: Voyage Aquatic Repeat Until

  • 0:00 - 0:01
    太好了
  • 0:01 - 0:02
    我們釣到了一條鱈魚
  • 0:02 - 0:08
    你知道麼 如果你把鱈魚餵給海豚 海豚會帶你去看沉船
  • 0:08 - 0:09
    那裡有寶藏
  • 0:09 - 0:12
    我們一定越來越近了
  • 0:12 - 0:15
    下一組謎題一定會更難
  • 0:15 - 0:17
    我們最好學習更多的編碼技巧
  • 0:17 - 0:19
    這是什麼
  • 0:19 - 0:21
    一個洞穴 歡迎你冒險家
  • 0:21 - 0:23
    我的名字叫烏賊
  • 0:23 - 0:23
    我看到
  • 0:23 - 0:27
    你在之前的謎題中一次又一次地使用同一套命令
  • 0:27 - 0:30
    你一定有點厭煩
  • 0:30 - 0:33
    你是否曾希望有一種方法可以讓你一遍又一遍地做一件事
  • 0:33 - 0:38
    比如洗碗或刷牙而不感到累或無聊
  • 0:38 - 0:39
    那太好了
  • 0:39 - 0:43
    電腦真的很擅長一遍又一遍做同樣的事情
  • 0:43 - 0:50
    當您希望您的程序多次執行相同的指令時 可以使用循環
  • 0:50 - 0:54
    循環包含指令和命令去重複指令直到目標達成
  • 0:54 - 0:56
    一旦程序開始重複
  • 0:56 - 0:58
    直到目標達成
  • 0:58 - 1:02
    它將一直在內部運行指令 直到到達目標
  • 1:02 - 1:03
    自己試試這個
  • 1:04 - 1:06
    將你想要的指令在重複中
  • 1:06 - 1:08
    直到目標達成
  • 1:08 - 1:10
    點擊運行 看著它如何工作
  • 1:12 - 1:13
    好吧
  • 1:13 - 1:17
    這有點奇怪 誰還需要會編碼的烏賊
  • 1:17 - 1:19
    我甚至不認為他們有手指
  • 1:19 - 1:21
    現在我們知道循環了
  • 1:21 - 1:23
    讓我們用它們來裝更多的財寶
Title:
Minecraft: Voyage Aquatic Repeat Until
Description:

Start learning at http://code.org/

Stay in touch with us!
• on Twitter https://twitter.com/codeorg
• on Facebook https://www.facebook.com/Code.org
• on Instagram https://instagram.com/codeorg
• on Tumblr https://blog.code.org
• on LinkedIn https://www.linkedin.com/company/code-org
• on Google+ https://google.com/+codeorg

more » « less
Video Language:
English
Team:
Code.org
Project:
CSF '21-'22
Duration:
01:25

Chinese, Traditional subtitles

Revisions