Special Rules2 D
interface SpecialRules2D<out G : GameType2D> : SpecialRules<G, Board2D, MoveGenerator2D, Piece2D, Coordinate2D>
Content copied to clipboard
Implementation of the SpecialRule interface for a 2d square board.
Functions
getPossibleMoves
Link copied to clipboard
abstract fun getPossibleMoves(game: G, player: Player, moves: MutableList<Move<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>>)
Content copied to clipboard
Inheritors
AbstractCastling
Link copied to clipboard
Enpassant
Link copied to clipboard
ForcedCaptureRule
Link copied to clipboard
GeneralsRule
Link copied to clipboard