Commit Graph

6 Commits (b1340828209147b84211e11e71cdf6275df86c56)

Author SHA1 Message Date
苗庆帅 b134082820 feat(game): 添加玩家胜利标识并优化游戏结束逻辑
-
- 优化 Room 类中的游戏结束处理逻辑,包括分数保存和奖励计算
- 更新 RoomEndState 类的 enter 方法,改进玩家状态切换流程
- 在 EXPlayerBetState 中添加日志输出,便于调试- 为 EXPlayBack 类的 addResultCommand 方法添加注释,提高代码可读性
2025-06-20 15:49:10 +08:00
苗庆帅 e4e3e22a1e fix(game): 修复游戏结束逻辑并优化分数计算
- 修改了游戏结束时的分数计算逻辑,确保正确处理玩家的输赢- 优化了回放功能,增加了游戏结束后的详细结果信息- 调整了底池分数的计算方式,根据房间配置动态设置
- 修复了玩家在游戏中的总失分计算错误
2025-06-19 20:55:57 +08:00
苗庆帅 ea2e98eb41 feat:update 2025-06-18 20:42:11 +08:00
苗庆帅 eeefa26d8f refactor(game): 重构游戏相关代码
- 删除了 PlayerInitState 类
- 新增 RoomWaitState 类
- 修改了 RoomDestoryGameState 和 PlayerReloadState 类
- 优化了 EventController 中的 redisGroupMemberRound 方法
- 更新了 Global 类中的 logger 属性
2025-06-17 19:53:46 +08:00
苗庆帅 c698851efe refactor(game): 重构游戏相关代码
- 删除了 PlayerInitState 类
- 新增 RoomWaitState 类
- 修改了 RoomDestoryGameState 和 PlayerReloadState 类
- 优化了 EventController 中的 redisGroupMemberRound 方法
- 更新了 Global 类中的 logger 属性
2025-06-17 19:49:39 +08:00
FPGA 70bf265812 add back 2025-06-04 12:09:13 +08:00