Anti Chess
Represents Anti Chess
Constructors
Functions
getCurrentPlayer
Link copied to clipboard
getNextPlayer
Link copied to clipboard
getOpponentPlayer
Link copied to clipboard
getOpponentPlayers
Link copied to clipboard
getOutcome
Link copied to clipboard
getValidMoves
Link copied to clipboard
open fun getValidMoves(): List<Move<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>>
Content copied to clipboard
abstract fun getValidMoves(player: Player): List<Move<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>>
Content copied to clipboard
makeMove
Link copied to clipboard
abstract fun makeMove(move: Move<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>)
Content copied to clipboard
nextPlayer
Link copied to clipboard
playerMakeMove
Link copied to clipboard
open fun playerMakeMove(move: Move<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>)
Content copied to clipboard
prevPlayer
Link copied to clipboard
Properties
endConditions
Link copied to clipboard
abstract val endConditions: List<EndCondition<GameType<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>, Board2D, MoveGenerator2D, Piece2D, Coordinate2D>>
Content copied to clipboard
moveLog
Link copied to clipboard
abstract val moveLog: MutableList<Move<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>>
Content copied to clipboard
playerTurn
Link copied to clipboard
rules
Link copied to clipboard
abstract val rules: List<SpecialRules<GameType<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>, Board2D, MoveGenerator2D, Piece2D, Coordinate2D>>
Content copied to clipboard