table layout

This commit is contained in:
tooomm 2026-09-26 22:23:12 +02:00 • committed by GitHub
parent 49c2b9ffc8
commit ba578dd897
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,13 +90,13 @@ This keeps the handler independent of concrete UI implementations.
`GameEventHandler` and `PlayerEventHandler` work together but have distinct roles:
| GameEventHandler | PlayerEventHandler |
|------------------|--------------------|
| Global game state | Per-player state |
| Turn / phase flow | Zones and cards |
| Player join/leave | Player actions |
| Spectator events | Player-specific events |
| Chat dispatch | Card and zone updates |
| GameEventHandler | PlayerEventHandler |
| ----------------- | ---------------------- |
| Global game state | Per-player state |
| Turn / phase flow | Zones and cards |
| Player join/leave | Player actions |
| Spectator events | Player-specific events |
| Chat dispatch | Card and zone updates |
When a server event is associated with a specific player, `GameEventHandler`
routes it to the corresponding `PlayerEventHandler`. Events without a player