Files
4Gewinnt/API
Jonas 85521f3b23 Return game ID+code; update hub and Player model
Change GameManager/CreateGame to return (gameId, gameCode) and Make JoinGame return the game Id (or null) instead of a bool. Update IGameManager signature accordingly. Refactor Hub methods to construct Player objects, accept Coordinates for game creation, use the manager results to add connections to groups and send GameCreated with GameId and GameCode, and handle join failures with an error message. Simplify Player class to use a primary-constructor style with property initialization; add necessary using directives.
2026-03-12 23:20:05 +01:00
..
2026-02-06 08:29:28 +01:00
2026-03-12 23:20:05 +01:00
2026-02-06 08:29:28 +01:00
2026-02-06 08:29:28 +01:00