EndCondition3D

interface EndCondition3D<out G : GameType3D> : EndCondition<G, Board3D, MoveGenerator3D, Piece3D, Coordinate3D>

Implementation of the EndCondition interface for a 2D square board.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
evaluate
Link copied to clipboard
abstract fun evaluate(game: G, player: Player, moves: List<Move<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>>): 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

Inheritors

EndConditions3DChess
Link copied to clipboard