第9章:變數(記憶與遊戲狀態)
📌 本頁學習重點
透過「第9章:變數(記憶與遊戲狀態)」掌握 Scratch 核心邏輯,依照「預測 → 執行 → 比較 → 說明」四步法穩步累積運算思維。
本節目標與核心觀念
透過「第9章:變數(記憶與遊戲狀態)」掌握 Scratch 核心邏輯,依照「預測 → 執行 → 比較 → 說明」四步法穩步累積運算思維。
INTERACTIVE LAB
Variable & List Visualizer (1-Indexed Scratch Lists)
Click the Scratch data operations below to watch variables update and see how Scratch 1-indexed list items shift when you add, insert, or delete.
Variable: score 0
Ready: click any variable or list button
List: inventory length: 3
四步驟實作練習
透過「第9章:變數(記憶與遊戲狀態)」掌握 Scratch 核心邏輯,依照「預測 → 執行 → 比較 → 說明」四步法穩步累積運算思維。
- 先看本節目標,想像程式按下綠旗後會怎麼運作。
- 在 Scratch 編輯器用最少積木組裝小實驗。
- 按下綠旗觀察結果,一次只修改一個數值驗證規律。
- 勾選下方學習完成紀錄,試著用自己的話講解原理。
第9章:變數(記憶與遊戲狀態)
- When green flag clicked
- Set score to 0
- Set lives to 3
動手試試看: Starts every game cleanly with fresh counters.
繼續下一節
透過「第9章:變數(記憶與遊戲狀態)」掌握 Scratch 核心邏輯,依照「預測 → 執行 → 比較 → 說明」四步法穩步累積運算思維。
FAQ
學習「第9章:變數(記憶與遊戲狀態)」建議花多少時間?
每次建議專注 15~20 分鐘:理解核心觀念、動手做完小實驗並嘗試改編一個數值。
本指南僅供學習參考。Scratch 介面與使用條款可能會隨版本更新而變動,請一併參考 Scratch 官方網站說明。