getOutcome

abstract 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

open fun getOutcome(): Outcome?

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

Return

the outcome of the game for the current player