FiftyMoveRuleStalemate

class FiftyMoveRuleStalemate : EndCondition2D<AbstractChess2D>

Condition for stalemate by the 50-move rules.

In the previous 50 moves by each side, no pawn has moved and no capture has been made.

Constructors

FiftyMoveRuleStalemate
Link copied to clipboard
fun FiftyMoveRuleStalemate()

Functions

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