https://github.com/0xalanyin/sliding-block-puzzle-game
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (1.3%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: 0xAlanYin
- Language: TypeScript
- Default Branch: main
- Size: 0 Bytes
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created about 1 year ago
· Last pushed about 1 year ago
Metadata Files
Readme
README.md
滑块解谜游戏
这是一个基于经典华容道的现代滑块解谜游戏。玩家需要通过移动不同的方块,将金色的"钥匙"方块移动到右侧出口,解开谜题。
游戏特点
- 经典解谜体验:基于传统华容道游戏,提供简单而有深度的解谜体验
- 现代交互设计:使用React开发,提供流畅的拖拽体验
- 自动解题功能:卡住时可以获取提示或启动自动解题
- 响应式布局:适应不同设备屏幕
技术栈
- React 18
- TypeScript
- Vite
- CSS3
本地运行
克隆项目后,按照以下步骤运行:
```bash
安装依赖
npm install
启动开发服务器
npm run dev
构建生产版本
npm run build ```
游戏规则
游戏目标:将金色的"钥匙"方块移动到右侧边缘,使其右边缘到达或超过游戏区域的右边界。
方块类型:
- 绿色方块:横向移动,占据2或3个单元格
- 红色方块:纵向移动,占据2或3个单元格
- 金色方块:钥匙,占据2个单元格,需要移动到出口
移动规则:
- 玩家可以用鼠标拖动方块
- 方块只能在其允许的方向上移动(绿色横向,红色纵向)
- 方块之间不能重叠
游戏操作:
- 左键点击并拖动方块来移动它们
- 按'H'键可以获取提示和启动自动解题功能
- 按'R'键可以重置游戏
许可证
MIT
Owner
- Login: 0xAlanYin
- Kind: user
- Repositories: 1
- Profile: https://github.com/0xAlanYin
Evolving.....
GitHub Events
Total
- Push event: 1
- Create event: 2
Last Year
- Push event: 1
- Create event: 2
Dependencies
package-lock.json
npm
- 225 dependencies
package.json
npm
- @eslint/js ^9.21.0 development
- @types/react ^19.0.10 development
- @types/react-dom ^19.0.4 development
- @vitejs/plugin-react ^4.3.4 development
- eslint ^9.21.0 development
- eslint-plugin-react-hooks ^5.1.0 development
- eslint-plugin-react-refresh ^0.4.19 development
- globals ^15.15.0 development
- typescript ~5.7.2 development
- typescript-eslint ^8.24.1 development
- vite ^6.2.0 development
- react ^19.0.0
- react-dom ^19.0.0