Package boards

Types

Board
Link copied to clipboard
interface Board<B : Board<B, MG, P, C>, MG : MoveGenerator<B, MG, P, C>, P : Piece<B, MG, P, C>, C : Coordinate>
Represents chess board
Board2D
Link copied to clipboard
class Board2D(rows: Int, cols: Int, outOfBoundsRegion: Region2D?) : Board<Board2D, MoveGenerator2D, Piece2D, Coordinate2D>
Implementation of the Board interface for a 2d square board.
Board3D
Link copied to clipboard
class Board3D(dims: Int, rows: Int, cols: Int, outOfBoundsRegion: Region3D?) : Board<Board3D, MoveGenerator3D, Piece3D, Coordinate3D>
Implementation of the Board interface for a 2d square board.
BoardHex
Link copied to clipboard
class BoardHex(verticalLength: Int, maximumWidth: Int, outOfBoundsRegion: Region2D?) : Board<BoardHex, MoveGeneratorHex, PieceHex, Coordinate2D>
Implementation of the Board interface for a 2d square board.