Game chiến thuật 2 người chơi theo lượt, bản đồ 20×20.
- Push repo lên GitHub
- Vào railway.app → Login GitHub
- New Project → Deploy from GitHub repo → chọn repo này
- Settings → Networking → Generate Domain
- Nhận URL dạng:
https://operation-xxx.up.railway.app - Mở
client.html, nhập:wss://operation-xxx.up.railway.app/ws
- Vào render.com → New Web Service
- Connect repo GitHub này
- Start Command:
python server.py - Nhận URL:
wss://ten-app.onrender.com/ws
pip install aiohttp
python server.py
# Terminal 2:
ngrok http 8765
# Nhập: wss://xxx.ngrok-free.app/wsserver.py— WebSocket server (Python + aiohttp)client.html— Game client (mở bằng trình duyệt)requirements.txt— DependenciesProcfile— Railway/Herokurailway.json— Railway configrender.yaml— Render config
- Bản đồ 20x20, tọa độ A-T / 1-20
- 🇻🇳 VN vs 🇨🇳 TQ với ảnh đơn vị thật
- Bot AI 3 cấp độ
- Ném bom rải thảm (tiêu diệt 5 lính)
- Chat realtime
- Âm thanh hiệu ứng
- Lịch sử trận đấu