EndConditionHex

interface EndConditionHex<out G : GameTypeHex> : EndCondition<G, BoardHex, MoveGeneratorHex, PieceHex, Coordinate2D>

Implementation of the EndCondition interface for a Hex 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<BoardHex, MoveGeneratorHex, PieceHex, Coordinate2D>>): 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

Checkmate
Link copied to clipboard
StandardEndConditionsHex
Link copied to clipboard