Feat: guess limit
This commit is contained in:
		| @@ -58,23 +58,25 @@ type Room struct { | ||||
| 	ID        string    `json:"id" db:"id"` | ||||
| 	CreatedAt time.Time `json:"created_at" db:"created_at"` | ||||
| 	// RoomName     string    `json:"room_name"` | ||||
| 	RoomPass      string `json:"room_pass"` | ||||
| 	RoomLink      string | ||||
| 	CreatorName   string   `json:"creator_name"` | ||||
| 	PlayerList    []string `json:"player_list"` | ||||
| 	ActionHistory []Action | ||||
| 	TeamTurn      UserTeam | ||||
| 	RedTeam       Team | ||||
| 	BlueTeam      Team | ||||
| 	Cards         []WordCard | ||||
| 	WCMap         map[string]WordColor | ||||
| 	BotMap        map[string]BotPlayer // key is bot name | ||||
| 	Result        uint8                // 0 for unknown; 1 is win for red; 2 if for blue; | ||||
| 	BlueCounter   uint8 | ||||
| 	RedCounter    uint8 | ||||
| 	RedTurn       bool // false is blue turn | ||||
| 	MimeDone      bool | ||||
| 	IsPublic      bool | ||||
| 	RoomPass       string `json:"room_pass"` | ||||
| 	RoomLink       string | ||||
| 	CreatorName    string   `json:"creator_name"` | ||||
| 	PlayerList     []string `json:"player_list"` | ||||
| 	ActionHistory  []Action | ||||
| 	TeamTurn       UserTeam | ||||
| 	RedTeam        Team | ||||
| 	BlueTeam       Team | ||||
| 	Cards          []WordCard | ||||
| 	ThisTurnLimit  uint8 // how many cards guessers can open this turn | ||||
| 	OpenedThisTurn uint8 // how many cards have been opened this turn | ||||
| 	WCMap          map[string]WordColor | ||||
| 	BotMap         map[string]BotPlayer // key is bot name | ||||
| 	Result         uint8                // 0 for unknown; 1 is win for red; 2 if for blue; | ||||
| 	BlueCounter    uint8 | ||||
| 	RedCounter     uint8 | ||||
| 	RedTurn        bool // false is blue turn | ||||
| 	MimeDone       bool | ||||
| 	IsPublic       bool | ||||
| 	// GameSettings *GameSettings `json:"settings"` | ||||
| 	IsRunning bool   `json:"is_running"` | ||||
| 	Language  string `json:"language" example:"en" form:"language"` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder