一个现代化的网页游戏集合,包含俄罗斯方块、五子棋、2048 三款经典游戏,界面美观、交互统一,支持多分支独立开发与维护。
本项目将持续增加更多有趣的网页小游戏,所有新游戏都会以独立分支开发,并最终集成到主分支,保持界面和交互风格统一。
计划加入的游戏举例:
| 分支名 | 说明 | 主要文件 |
|---|---|---|
main |
集成正式版,包含所有游戏 | 全部文件 |
homepage |
主页/菜单开发专用 | index.html, menu.html, style.css |
tetris |
俄罗斯方块专用分支 | game.html, game.js, menu.html, style.css |
gomoku |
五子棋专用分支 | gomoku.html, gomoku.js, style.css |
2048 |
2048专用分支 | 2048.html, 2048.js, style.css |
game-demo/
├── index.html # 主页/菜单入口
├── menu.html # 俄罗斯方块菜单
├── game.html # 俄罗斯方块页面
├── game.js # 俄罗斯方块逻辑
├── gomoku.html # 五子棋页面
├── gomoku.js # 五子棋逻辑
├── 2048.html # 2048页面
├── 2048.js # 2048逻辑
├── style.css # 全站样式
main 分支获得完整体验)。index.html 或 menu.html 进入主页面。main,形成完整网站。feature-xxx 分支。欢迎大家提出建议或提交 Pull Request,一起丰富游戏中心的内容!