evaluate

open override fun evaluate(game: AbstractChess2D, player: Player, moves: List<Move2D>): 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.