This commit is contained in:
Pavel Flegr 2026-05-07 19:10:23 +02:00
commit ff5d6ab91d
7 changed files with 388 additions and 84 deletions

View file

@ -19,6 +19,7 @@ func main() {
// Expose current script for a game room (used by the script viewer panel)
http.HandleFunc("/api/script", hub.HandleGetScript)
http.HandleFunc("/api/lobbies", hub.HandleListLobbies)
// LLM rule-generation endpoint
http.HandleFunc("/api/generate-rule", func(w http.ResponseWriter, r *http.Request) {