Match

interface Match

Represents a single match or pairing within a tournament. This interface tracks the two participants (White and Black) and the final outcome of their game.

Since

1.0.0-beta.8

Author

lunalobos

Inheritors

Properties

Link copied to clipboard
abstract val black: Player?

The player competing with the Black pieces. Can be null.

Link copied to clipboard
abstract var outcome: Outcome

The result of the match. Usually initialized as a 'Pending' state and updated once the game is over.

Link copied to clipboard
abstract val white: Player?

The player competing with the White pieces. Can be null.