Board3 D
class Board3D(dims: Int, rows: Int, cols: Int, outOfBoundsRegion: Region3D?) : Board<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>
Content copied to clipboard
Implementation of the Board interface for a 2d square board. The board size is rows x cols and each coordinate can have upto one Piece2D.
Constructors
Functions
addPiece
Link copied to clipboard
clearBoard
Link copied to clipboard
open override fun clearBoard()
Content copied to clipboard
getBoardState
Link copied to clipboard
getPiece
Link copied to clipboard
getPieceCoordinate
Link copied to clipboard
getPieces
Link copied to clipboard
isInBounds
Link copied to clipboard
removePiece
Link copied to clipboard