Fix: show color; add bot [WIP]
This commit is contained in:
		| @@ -260,5 +260,8 @@ func loadCards(room *models.Room) { | ||||
| 		fmt.Println("failed to load cards", "error", err) | ||||
| 	} | ||||
| 	room.Cards = cards | ||||
|  | ||||
| 	room.WCMap = make(map[string]models.WordColor) | ||||
| 	for _, card := range room.Cards { | ||||
| 		room.WCMap[card.Word] = card.Color | ||||
| 	} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder