ce52d1462ff15d63b3e86ccf78e7f7f3c7221c0a
Replace the nullable PlayerConnectionIds array with a private List<Player> inside Game and add AddPlayer/RemovePlayer methods to manage membership. Have GameRepository.Create attach the initial player to the newly created game. Implement GameManager.CreateGame and JoinGame to call the repository (using the injected gameRepository) — CreateGame returns the created game's code and JoinGame looks up the game and tries to add the player. Also update imports accordingly. These changes centralize player handling in the Game model and connect repository/manager flows to use it.
Description
Languages
Vue
34.4%
C#
32.3%
TypeScript
32.2%
HTML
0.6%
CSS
0.5%