Feat: start game

This commit is contained in:
Grail Finder
2025-05-09 11:54:01 +03:00
parent 2b4bf2ec29
commit 45761446e5
4 changed files with 57 additions and 1 deletions

View File

@ -26,6 +26,7 @@ func ListenToRequests(port string) error {
mux.HandleFunc("POST /join-team", handlers.HandleJoinTeam)
mux.HandleFunc("GET /end-turn", handlers.HandleEndTurn)
mux.HandleFunc("POST /room-create", handlers.HandleCreateRoom)
mux.HandleFunc("GET /start-game", handlers.HandleStartGame)
//elements
mux.HandleFunc("GET /room/createform", handlers.HandleShowCreateForm)
mux.HandleFunc("GET /room/hideform", handlers.HandleHideCreateForm)