Game Type3 D
interface GameType3D : GameType<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>
Content copied to clipboard
Implementation of the GameType interface for a standard 2d square board.
Functions
getCurrentPlayer
Link copied to clipboard
getNextPlayer
Link copied to clipboard
getOpponentPlayers
Link copied to clipboard
getOutcome
Link copied to clipboard
getValidMoves
Link copied to clipboard
open fun getValidMoves(): List<Move<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>>
Content copied to clipboard
abstract fun getValidMoves(player: Player): List<Move<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>>
Content copied to clipboard
makeMove
Link copied to clipboard
abstract fun makeMove(move: Move<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>)
Content copied to clipboard
nextPlayer
Link copied to clipboard
playerMakeMove
Link copied to clipboard
open fun playerMakeMove(move: Move<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>)
Content copied to clipboard
prevPlayer
Link copied to clipboard
Properties
endConditions
Link copied to clipboard
abstract val endConditions: List<EndCondition<GameType<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>, Board3D, MoveGenerator3D, Piece3D, Coordinate3D>>
Content copied to clipboard
moveLog
Link copied to clipboard
abstract val moveLog: MutableList<Move<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>>
Content copied to clipboard
playerTurn
Link copied to clipboard
rules
Link copied to clipboard
abstract val rules: List<SpecialRules<GameType<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>, Board3D, MoveGenerator3D, Piece3D, Coordinate3D>>
Content copied to clipboard
Inheritors
AbstractChess3D
Link copied to clipboard