fix: 修复牌型识别、获胜显示、出牌区布局、移动端重连
1. 牌型识别: 新增三带一对、飞机、飞机带单/带对、四带二、四带两对 2. 获胜显示: 先显示最后出牌1秒后再弹出获胜对话框 3. 出牌区布局: 横向排列并换行 4. 移动端重连: 切回前台时自动重连WebSocket 5. 更新文档: README.md和API.md补充新增牌型
This commit is contained in:
@@ -29,6 +29,11 @@ const (
|
||||
CardTypeDoubleStraight
|
||||
CardTypeBomb
|
||||
CardTypeRocket
|
||||
CardTypeAirplane
|
||||
CardTypeAirplaneSingle
|
||||
CardTypeAirplanePair
|
||||
CardTypeFourWithTwo
|
||||
CardTypeFourWithTwoPairs
|
||||
)
|
||||
|
||||
type Player struct {
|
||||
|
||||
Reference in New Issue
Block a user