迁移五子棋主面板脚本

This commit is contained in:
2026-04-25 18:50:05 +08:00
parent 1f1c329085
commit 7966c0f662
3 changed files with 1017 additions and 667 deletions
+7
View File
@@ -31,6 +31,7 @@
* - game-hall.js:处理娱乐大厅弹窗和游戏入口卡片。
* - game-bootstrap.js:提供非关键游戏延迟初始化工具。
* - game-panels.js:处理通用游戏面板关闭事件。
* - gomoku-panel.js:提供五子棋主面板 Alpine 组件和 Canvas 棋盘逻辑。
* - gomoku-controls.js:处理五子棋外部打开和接受邀请入口。
* - horse-race-panel.js:提供赛马竞猜主面板 Alpine 组件和下注流程。
* - horse-race-fab.js:处理赛马竞猜悬浮按钮拖动与打开面板。
@@ -116,6 +117,7 @@ export {
export { bindGameHallControls, closeGameHall, openGameHall } from "./chat-room/game-hall.js";
export { bindGameBootstrapControls, deferChatGameBootstrap } from "./chat-room/game-bootstrap.js";
export { bindGamePanelControls } from "./chat-room/game-panels.js";
export { bindGomokuPanelControls, gomokuPanel } from "./chat-room/gomoku-panel.js";
export { acceptGomokuInvite, bindGomokuControls, openGomokuPanel } from "./chat-room/gomoku-controls.js";
export { bindHorseRacePanelControls, horseRacePanel, requestHorseRaceJson } from "./chat-room/horse-race-panel.js";
export { bindHorseRaceFabControls, horseRaceFab } from "./chat-room/horse-race-fab.js";
@@ -285,6 +287,7 @@ import {
import { bindGameHallControls, closeGameHall, openGameHall } from "./chat-room/game-hall.js";
import { bindGameBootstrapControls, deferChatGameBootstrap } from "./chat-room/game-bootstrap.js";
import { bindGamePanelControls } from "./chat-room/game-panels.js";
import { bindGomokuPanelControls, gomokuPanel } from "./chat-room/gomoku-panel.js";
import { acceptGomokuInvite, bindGomokuControls, openGomokuPanel } from "./chat-room/gomoku-controls.js";
import { bindHorseRacePanelControls, horseRacePanel, requestHorseRaceJson } from "./chat-room/horse-race-panel.js";
import { bindHorseRaceFabControls, horseRaceFab } from "./chat-room/horse-race-fab.js";
@@ -462,6 +465,8 @@ if (typeof window !== "undefined") {
bindGameBootstrapControls,
deferChatGameBootstrap,
bindGamePanelControls,
bindGomokuPanelControls,
gomokuPanel,
acceptGomokuInvite,
bindGomokuControls,
openGomokuPanel,
@@ -645,6 +650,7 @@ if (typeof window !== "undefined") {
window.deferChatGameBootstrap = deferChatGameBootstrap;
window.lotteryPanel = lotteryPanel;
window.openGameHall = openGameHall;
window.gomokuPanel = gomokuPanel;
window.acceptGomokuInvite = acceptGomokuInvite;
window.openGomokuPanel = openGomokuPanel;
window.horseRacePanel = horseRacePanel;
@@ -735,6 +741,7 @@ if (typeof window !== "undefined") {
bindGameHallControls();
bindGameBootstrapControls();
bindGamePanelControls();
bindGomokuPanelControls();
bindGomokuControls();
bindHorseRacePanelControls();
bindHorseRaceFabControls();
File diff suppressed because it is too large Load Diff