Files
4Gewinnt/API
Jonas 7a073b6fff Handle disconnects, add restart flow and UI fixes
Server: Make DisconnectedPlayer async, await hub notifications, add logging, and delay scheduled deletion (2s). Harden ScheduleGameDeletion with try/catch and only destroy/send GameDestroyed when game is not running or has no players.

Client: Add restart-game flow — expose restartGame on OnlineGame, propagate event from GameEndedMenu (adds local restarted state and disables button), and hook restart handling + player disconnect on unmount in OnlineMode. Also conditionally show bot switch in GameCreationMenu and include replayGameCode in GameEnded interface. Remove automatic reconnect on SignalR connection.

Overall: Improves robustness around player disconnects and adds a UI/logic path for restarting games.
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