mirror of
https://github.com/tiennm99/gomoku.git
synced 2026-05-24 06:25:32 +00:00
a5acd69b87
- index.html: dark shell with #game-container (Phaser canvas parent), #ui-overlay containing #menu-root, #game-hud-root, #toast-container - vite.config.js: port 5173, strictPort, sourcemap build, no GitHub Pages base - src/main.js: instantiates Phaser.Game from gameConfig - src/config/game-config.js: 800x800 FIT canvas, parent=game-container, scene list - src/config/protocol-constants.js: ClientEventCode enum aligned to response.proto oneofs; adds SPECTATOR_CANNOT_ACT, renames GAME_WATCH_SUCCESSFUL to WATCH_GAME_SUCCESS, drops CLIENT_KICK (no proto case) - src/scenes/boot-scene.js|menu-scene.js|game-scene.js: minimal stubs for Phaser scene registry; phase-09 replaces them with real implementations