|
using MessagePack;
|
|
|
|
namespace Game.TicTacToe;
|
|
|
|
/// <summary>
|
|
/// Global game state stored on the singleton entity.
|
|
/// </summary>
|
|
[MessagePackObject]
|
|
public struct GameState
|
|
{
|
|
[Key(0)] public Player CurrentPlayer;
|
|
[Key(1)] public GameStatus Status;
|
|
[Key(2)] public int MoveCount;
|
|
}
|