diff --git a/Server/src/SOR.Game/GameEngine.cs b/Server/src/SOR.Game/GameEngine.cs index caa266b..d40eb91 100644 --- a/Server/src/SOR.Game/GameEngine.cs +++ b/Server/src/SOR.Game/GameEngine.cs @@ -892,6 +892,7 @@ public static class GameEngine SessionId : state.SessionId, Phase : state.Phase.ToString(), ActivePlayerAccountId : state.ActivePlayerAccountId, + PlayerOneAccountId : state.PlayerOneAccountId, TurnNumber : state.TurnNumber, StateVersion : state.NextActionSequence, Players : players, diff --git a/Server/src/SOR.Game/GameMessages.cs b/Server/src/SOR.Game/GameMessages.cs index df68b70..f98fa24 100644 --- a/Server/src/SOR.Game/GameMessages.cs +++ b/Server/src/SOR.Game/GameMessages.cs @@ -200,6 +200,7 @@ public sealed record GameStateDto( Guid SessionId, string Phase, // Placement | Draw | Main | End | GameOver string ActivePlayerAccountId, + string PlayerOneAccountId, // used by client to determine placement row int TurnNumber, int StateVersion, // monotonic; use for client mismatch detection IEnumerable Players,