Skip to content

mpc-ou/open-games

Repository files navigation

🎮 Open Games Hub

Game HTML5 từ cộng đồng sinh viên — Chơi · Sáng Tạo · Đóng Góp.


🚀 Lệnh nhanh

Việc Lệnh
Chạy web npm starthttp://localhost:3000
Build npm run build.output/
Kiểm tra npm run check
Tải thư viện node scripts/setup.js

📁 Cấu trúc

├── 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

🎯 Tham gia

Xem CONTRIBUTE.md để biết từng bước:

  1. Fork repo
  2. Copy _templategames/ten-game/
  3. Code game trong index.html
  4. Điền info.json + thumbnail.png
  5. Gửi Pull Request

📦 Thư viện có sẵn

jQuery · Three.js · Bootstrap · Tailwind CSS

→ Chi tiết: lib/vendor/README.md


🛠️ Quản lý repo

npm install
node scripts/setup.js
npm start      # Dev + auto-reload
npm run build  # Build → .output/

CI/CD:

  • Push → check.js kiểm tra
  • Merge main → build + deploy GitHub Pages

MIT

Releases

No releases published

Packages

 
 
 

Contributors