# 迷宮遊戲
---

---
### 遊戲說明
按下綠色旗子後,小貓咪會回到Start的位置,按下鍵盤的上下左右可以移動小貓咪,走到Goal,貓咪就會說過關了~
---
### 製作方式
- 打開上次的作品,檢查貓咪上下左右移動是否均移動10步。
- 下載迷宮圖,然後上傳到背景
- 按下綠色旗子後,將貓咪尺寸設定為20%,並移動到 X=-160, Y=-110
- 貓咪上下左右移動不能穿越黑線。
- 貓咪如果走到出口,就說過關了,並且停止程式。
---
### 成果
<iframe allowtransparency="true" width="485" height="402" src="//scratch.mit.edu/projects/embed/156388176/?autostart=false" frameborder="0" allowfullscreen></iframe>
---
### 教學影片:
<iframe width="560" height="315" src="https://www.youtube.com/embed/sbhDu3enSgI" frameborder="0" allowfullscreen></iframe>
---
### 簡報檔:
https://hackmd.io/p/r182d0HAg
{"metaMigratedAt":"2023-06-14T12:45:09.118Z","metaMigratedFrom":"Content","title":"迷宮遊戲","breaks":true,"contributors":"[]"}