Package-level declarations
Overview
Data Transfer Objects (DTOs) for representing and persisting game state.
Key Components
GameState— Complete snapshot of a game including board, players, and metadataPlayer— Player representation with piece type and scoreMatchPlayers— Collection of players in a match
Responsibilities
Providing serializable game state representations
Enabling game persistence and restoration
Serving as data contracts between core and storage modules
Types
Link copied to clipboard
data class MatchPlayers(val player1: Player? = null, val player2: Player? = null) : Iterable<Player>
Represents the players in a Reversi match, supporting zero to two players.