evaluate

open override fun evaluate(game: AbstractChessHex, player: Player, moves: List<MoveHex>): Outcome?

Evaluate the condition and return an outcome if the game should end.

Return

an outcome if the game should end (i.e. it satisfies the condition), otherwise returns null.