StandardEndConditionsHex

class StandardEndConditionsHex : EndConditionHex<AbstractChessHex>

End conditions in standard chess, which consists of: Checkmate, Stalemate by no legal moves, Stalemate by three-fold-repetition, Stalemate by the 50-move rules, Stalemate by insufficient material.

Constructors

StandardEndConditionsHex
Link copied to clipboard
fun StandardEndConditionsHex()

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
evaluate
Link copied to clipboard
open override fun evaluate(game: AbstractChessHex, player: Player, moves: List<MoveHex>): Outcome?
Evaluate the condition and return an outcome if the game should end.
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String