完善十子棋功能

This commit is contained in:
2024-10-16 19:30:07 +08:00
parent 7986bb1c9b
commit 411876b377
5 changed files with 184 additions and 49 deletions
+6 -2
View File
@@ -3,7 +3,11 @@ package global
import "work_cation/models"
type SendGlobal struct {
SendChan chan *models.Message
SendChan chan *models.Message
Game1Chan chan *models.GameMessage
}
var Send = &SendGlobal{SendChan: make(chan *models.Message, 1000)}
var Send = &SendGlobal{
SendChan: make(chan *models.Message, 1000),
Game1Chan: make(chan *models.GameMessage, 1000),
}