# scratch-demos **Repository Path**: znlgis/scratch-demos ## Basic Information - **Project Name**: scratch-demos - **Description**: Scratch 3.0 游戏演示项目 - **Primary Language**: Unknown - **License**: LGPL-2.1 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-01-02 - **Last Updated**: 2026-01-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: scratch3, 游戏, 演示 ## README # scratch-demos Scratch 3.0 游戏演示项目 / Scratch 3.0 Game Demos 这是一个包含多个 Scratch 3.0 游戏和工具的演示项目集合,适合学习 Scratch 编程。 This is a collection of Scratch 3.0 game and tool demos, suitable for learning Scratch programming. ## 项目列表 (Project List) | 项目 Project | 描述 Description | 文件 File | |-------------|------------------|-----------| | [计算器 Calculator](calculator/) | 按钮式四则运算计算器 | `calculator/calculator.sb3` | | [五子棋 Gomoku](gomoku/) | 经典五子棋对战游戏 | `gomoku/gomoku.sb3` | | [射击打靶 Shooting Game](shooting-game/) | 限时射击得分游戏 | `shooting-game/shooting-game.sb3` | | [贪吃蛇 Snake Game](snake-game/) | 经典贪吃蛇游戏 | `snake-game/snake-game.sb3` | | [地铁冒险 Subway Adventure](subway-adventure/) | 横版跑酷冒险游戏 | `subway-adventure/subway-adventure.sb3` | | [孙悟空大战二郎神](sunwukong-vs-erlangshen/) | 西游记主题对战游戏 | `sunwukong-vs-erlangshen/sun-wukong-vs-erlang-shen.sb3` | ## 如何运行 (How to Play) 所有项目都可以通过以下步骤运行: 1. 前往 [Scratch 官网](https://scratch.mit.edu/) 2. 点击 "创作" (Create) 3. 选择 "文件" > "从电脑中上传" (File > Load from your computer) 4. 选择对应的 `.sb3` 文件 5. 点击绿旗开始游戏 --- All projects can be run by following these steps: 1. Go to [Scratch website](https://scratch.mit.edu/) 2. Click "Create" 3. Select "File" > "Load from your computer" 4. Choose the corresponding `.sb3` file 5. Click the green flag to start ## 项目详情 (Project Details) ### 🧮 计算器 (Calculator) **文件:** `calculator/calculator.sb3` | 📖 [详细文档](calculator/README.md) 基于 Scratch 3.0 的按钮式计算器,支持加减乘除四则运算。 A button-based calculator supporting addition, subtraction, multiplication, and division. **特性 (Features):** - ✅ 四则运算 (Four basic operations) - ✅ 可点击按钮界面 (Clickable button interface) - ✅ 显示运算过程 (Shows calculation process) --- ### ♟️ 五子棋 (Gomoku) **文件:** `gomoku/gomoku.sb3` | 📖 [详细文档](gomoku/README.md) 经典五子棋游戏,两人轮流在15×15棋盘上落子。 Classic Gomoku game, two players take turns on a 15×15 board. **特性 (Features):** - ⚫ 标准15×15棋盘 (Standard 15×15 board) - ♟️ 黑白轮流下棋 (Alternating black/white turns) - 🏆 胜负判定 (Win detection) --- ### 🎯 射击打靶游戏 (Shooting Game) **文件:** `shooting-game/shooting-game.sb3` | 📖 [详细文档](shooting-game/README.md) 在30秒内射击移动的靶子,获得最高分! Shoot moving targets within 30 seconds for the highest score! **特性 (Features):** - 🎯 准星跟随鼠标 (Crosshair follows mouse) - ⏱️ 30秒倒计时 (30-second countdown) - 🏆 最高分记录 (High score tracking) --- ### 🐍 贪吃蛇 (Snake Game) **文件:** `snake-game/snake-game.sb3` | 📖 [详细文档](snake-game/README.md) 经典贪吃蛇游戏,使用方向键控制蛇吃食物。 Classic snake game, use arrow keys to eat food. **特性 (Features):** - 🎮 方向键控制 (Arrow key controls) - 🍎 随机食物生成 (Random food spawning) - 📊 实时分数显示 (Real-time score) --- ### 🚇 地铁冒险 (Subway Adventure) **文件:** `subway-adventure/subway-adventure.sb3` | 📖 [详细文档](subway-adventure/README.md) 地铁站主题的横版跑酷游戏。 A subway station themed side-scrolling adventure game. **特性 (Features):** - 💰 金币收集系统 (Coin collection) - 👥 障碍物躲避 (Obstacle avoidance) - ❤️ 生命值系统 (Life system) --- ### 🐵 孙悟空大战二郎神 (Sun Wukong vs Erlang Shen) **文件:** `sunwukong-vs-erlangshen/sun-wukong-vs-erlang-shen.sb3` | 📖 [详细文档](sunwukong-vs-erlangshen/README.md) 西游记主题的动作对战游戏。 A Journey to the West themed action battle game. **特性 (Features):** - 🐵 西游记经典角色 (Classic characters) - ⚔️ 动作对战玩法 (Action battle gameplay) - 🎨 中国神话主题 (Chinese mythology theme) ## 学习资源 (Learning Resources) - [Scratch 官方网站](https://scratch.mit.edu) - [Scratch 编程教程](https://scratch.mit.edu/ideas) ## 许可证 (License) GNU Lesser General Public License v2.1