Game HTML5 từ cộng đồng sinh viên — Chơi · Sáng Tạo · Đóng Góp.
| Việc | Lệnh |
|---|---|
| Chạy web | npm start → http://localhost:3000 |
| Build | npm run build → .output/ |
| Kiểm tra | npm run check |
| Tải thư viện | node scripts/setup.js |
├── index.html # Trang chủ
├── assets/ # CSS, JS trang chủ
├── lib/
│ ├── base.js # Home, Fullscreen, xoay màn hình
│ └── vendor/ # Thư viện: jQuery, Three.js, Bootstrap
├── games/
│ ├── _template/ # Template bắt đầu
│ └── ten-game/ # Game do bạn tạo
├── scripts/ # Build, check, dev
└── .output/ # Web sau build
Xem CONTRIBUTE.md để biết từng bước:
- Fork repo
- Copy
_template→games/ten-game/ - Code game trong
index.html - Điền
info.json+thumbnail.png - Gửi Pull Request
jQuery · Three.js · Bootstrap · Tailwind CSS
→ Chi tiết: lib/vendor/README.md
npm install
node scripts/setup.js
npm start # Dev + auto-reload
npm run build # Build → .output/CI/CD:
- Push →
check.jskiểm tra - Merge main → build + deploy GitHub Pages
MIT