Mid commit for problem solving

This commit is contained in:
2026-06-14 21:07:49 +02:00
parent bac4a6b7f5
commit 4b3a5a5ea3
14 changed files with 23 additions and 22 deletions
@@ -21,7 +21,7 @@ import java.util.stream.Collectors;
* <p>The three top-level states that determine routing are:
* <ul>
* <li><b>Inactive</b> no game model is present, or the game has ended.
* Only disconnection clean-up is performed.</li>
* Only disconnection cleanup is performed.</li>
* <li><b>Suspended</b> a forfeit timer is running because exactly one
* player remains online. Only reconnection events are accepted.</li>
* <li><b>Active</b> normal gameplay; every event is applied, saved,
@@ -120,7 +120,7 @@ public class GameEventProcessor {
/**
* Handles events that arrive when no active game exists (not yet started,
* or already ended). Only disconnection clean-up is relevant here.
* or already ended). Only disconnection cleanup is relevant here.
*
* @param event the incoming event.
*/
@@ -255,7 +255,7 @@ public class GameEventProcessor {
* Schedules the 60-second forfeit timer if a disconnection has left
* exactly one player online.
*
* <p>If a previous timer is still pending it is cancelled first to avoid
* <p>If a previous timer is still pending it is canceled first to avoid
* duplicate timers.
*
* @param event the event that was just applied.