PgnGame

data class PgnGame(val tags: Map<String, String> = emptyMap(), val moves: List<String> = emptyList(), val result: String = "*")

Represents a chess game in PGN (Portable Game Notation) format.

Constructors

Link copied to clipboard
constructor(tags: Map<String, String> = emptyMap(), moves: List<String> = emptyList(), result: String = "*")

Properties

Link copied to clipboard

The list of moves in standard algebraic notation.

Link copied to clipboard

The result of the game (e.g., "1-0", "0-1", "1/2-1/2", or "*").

Link copied to clipboard

The PGN tags (metadata) for the game.