Feat: word loader

This commit is contained in:
Grail Finder
2025-05-13 07:49:16 +03:00
parent f752d2a162
commit 0c94811632
5 changed files with 6043 additions and 31 deletions

View File

@ -176,7 +176,8 @@ func HandleStartGame(w http.ResponseWriter, r *http.Request) {
fi.Room.IsRunning = true
fi.Room.IsOver = false
fi.Room.TeamTurn = "blue"
fi.Room.LoadTestCards()
// fi.Room.LoadTestCards()
loadCards(fi.Room)
fi.Room.UpdateCounter()
fi.Room.TeamWon = ""
if err := saveFullInfo(fi); err != nil {