Feat: switch team; team model
This commit is contained in:
@ -75,13 +75,15 @@ func MakeTestState() *FullInfo {
|
||||
{Word: "tomato", Color: "red"},
|
||||
{Word: "cloud", Color: "white"},
|
||||
}
|
||||
redTeam := Team{Guessers: []string{"Adam", "Eve"}, Mime: "Serpent"}
|
||||
blueTeam := Team{Guessers: []string{"Abel", "Kain"}}
|
||||
room := &Room{
|
||||
ID: "test-id",
|
||||
CreatedAt: time.Now(),
|
||||
CreatorName: "test-name",
|
||||
Cards: cards,
|
||||
RedGuessers: []string{"Adam", "Eve"},
|
||||
BlueGuessers: []string{"Abel", "Kain"},
|
||||
ID: "test-id",
|
||||
CreatedAt: time.Now(),
|
||||
CreatorName: "test-name",
|
||||
Cards: cards,
|
||||
RedTeam: redTeam,
|
||||
BlueTeam: blueTeam,
|
||||
}
|
||||
us := &UserState{
|
||||
Username: "test-name",
|
||||
|
Reference in New Issue
Block a user