Feat: add game over

This commit is contained in:
Grail Finder
2025-05-11 10:03:18 +03:00
parent becd3aca02
commit cf5643227b
5 changed files with 29 additions and 10 deletions

View File

@ -70,7 +70,8 @@ type Room struct {
Language string `json:"language" example:"en" form:"language"`
RoundTime int32 `json:"round_time"`
// ProgressPct uint32 `json:"progress_pct"`
IsOver bool
IsOver bool
TeamWon string // blue | red
}
func (r *Room) GetOppositeTeamColor() string {