2026-07-18 20:43:13 +08:00
|
|
|
using MessagePack;
|
|
|
|
|
|
2026-07-20 16:41:10 +08:00
|
|
|
namespace Game.TicTacToe;
|
2026-07-18 20:43:13 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Identifies a board position. One entity per cell.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[MessagePackObject]
|
2026-07-20 17:15:17 +08:00
|
|
|
public record struct Cell
|
2026-07-18 20:43:13 +08:00
|
|
|
{
|
|
|
|
|
[Key(0)] public int Row;
|
|
|
|
|
[Key(1)] public int Col;
|
|
|
|
|
}
|