Package pieces.chess

Types

Bishop
Link copied to clipboard
data class Bishop(player: Player) : Piece2D
Represents a bishop in standard chess
BlackPawn
Link copied to clipboard
open class BlackPawn(player: Player, startingRow: Int, promotionRegion: Region2D, pawnPromotions: List<Piece2D>) : ChessPawn, Piece2D
Represents a black pawn
CapablancaBlackPawn
Link copied to clipboard
class CapablancaBlackPawn(player: Player) : BlackPawn
Represents a black pawn in Capablanca chess
CapablancaWhitePawn
Link copied to clipboard
class CapablancaWhitePawn(player: Player) : WhitePawn
Represents a white pawn in Capablanca chess
Cardinal
Link copied to clipboard
data class Cardinal(player: Player) : Piece2D
Represents a cardinal, which is a combination of a knight and a bishop
ChessPawn
Link copied to clipboard
abstract class ChessPawn(player: Player, direction: Direction, startingRow: Int, promotionRegion: Region2D, pawnPromotions: List<Piece2D>) : Pawn, Piece2D
Represents a pawn in standard chess
ChessPawn3D
Link copied to clipboard
abstract class ChessPawn3D(player: Player, direction: List<Direction3D>, captureOnlyDir: List<Direction3D>, promotionRegion: Region3D, pawnPromotions: List<Piece3D>) : Pawn, Piece3D
Represents a pawn in standard chess
GrandBlackPawn
Link copied to clipboard
class GrandBlackPawn(player: Player) : BlackPawn
Represents a black pawn in grand chess
GrandWhitePawn
Link copied to clipboard
class GrandWhitePawn(player: Player) : WhitePawn
Represents a white pawn in grand chess
King
Link copied to clipboard
data class King(player: Player) : Piece2D, Royal
Represents a king in standard chess
Knight
Link copied to clipboard
data class Knight(player: Player) : Piece2D
Represents a kinght in standard chess
Marshal
Link copied to clipboard
data class Marshal(player: Player) : Piece2D
Represents a marshal, which is a combination of a knight and a rook
Queen
Link copied to clipboard
data class Queen(player: Player) : Piece2D
Represents a queen in standard chess
Rook
Link copied to clipboard
data class Rook(player: Player) : Piece2D
Represents a rook in standard chess
StandardBlackPawn
Link copied to clipboard
class StandardBlackPawn(player: Player) : BlackPawn
Represents a black pawn in standard chess
StandardWhitePawn
Link copied to clipboard
class StandardWhitePawn(player: Player) : WhitePawn
Represents a white pawn in standard chess
WhitePawn
Link copied to clipboard
open class WhitePawn(player: Player, startingRow: Int, promotionRegion: RowRegion, pawnPromotions: List<Piece2D>) : ChessPawn, Piece2D
Represents a white pawn