getOutcome

open override fun getOutcome(player: Player): Outcome?

Returns the outcome of the game for the given player, which can be either Win or Draw (null if the game is not over)

Return

the outcome of the game for the given player