EndConditions3DChess

class EndConditions3DChess : EndCondition3D<AbstractChess3D>

Condition for checkmate. If the player on turn has no legal move but is not in check

Constructors

EndConditions3DChess
Link copied to clipboard
fun EndConditions3DChess()

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
evaluate
Link copied to clipboard
open override fun evaluate(game: AbstractChess3D, player: Player, moves: List<Move3D>): 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