player property

PieceColor player
final

The color of the player that ran out of time.

This property can also be deduced from current game state, however due to simplicity we keep it here as well.

Implementation

final insanichess.PieceColor player;