evaluate

abstract fun evaluate(game: G, player: Player, moves: List<Move<B, MG, P, C>>): 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.