package app.playmancala.model; import java.util.List; import app.playmancala.engine.MancalaGame; // A live game as players and spectators receive it; leaves out spectator ids and other server-side state. // It refers to the live MancalaGame, so serialise it on the game loop. public record ClientGame( String id, MancalaGame mancalaGame, GameUsersConnectionInfo gameUsersConnectionInfo, long startedAt, List moveTimes, int spectatorCount, GameClock clock, long serverTime) { }