package core
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- core
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- trait ActionSerialiser extends AnyRef
- trait ActionWithPromotion extends AnyRef
- case class AlgebraicNotationActionSerialiser (r: AlgebraicNotationRules) extends ActionSerialiser with Product with Serializable
- case class AlgebraicNotationRules (lowerCaseLetters: Boolean, figurine: Boolean, distinguishCaptures: Boolean, colonForCaptures: Boolean, castlingNotation: String) extends NotationRules with Product with Serializable
- case class AnPos (x: Char, y: Int) extends Product with Serializable
- case class CaptureAction (fromPiece: ChessPiece, delta: XY, toPiece: ChessPiece, isCheck: Boolean = false, isCheckmate: Boolean = false) extends ChessAction with Product with Serializable
- case class CaptureActionFactory (fromPiece: ChessPiece, delta: XY, toPiece: ChessPiece) extends ChessActionFactory with Product with Serializable
- case class CapturePromoteAction (fromPiece: ChessPiece, delta: XY, capturedPiece: ChessPiece, promotePiece: ChessPiece, isCheck: Boolean = false, isCheckmate: Boolean = false) extends ChessAction with Product with Serializable
- case class CapturePromoteActionFactory (fromPiece: ChessPiece, delta: XY, capturedPiece: ChessPiece, promotePiece: ChessPiece) extends ChessActionFactory with Product with Serializable
- case class CastlingAction (fromPiece: ♚, kingDelta: XY, targetRook: ♜, rookDelta: XY, isCheck: Boolean = false, isCheckmate: Boolean = false) extends ChessAction with Product with Serializable
- case class CastlingActionFactory (fromPiece: ♚, kingDelta: XY, targetRook: ♜, rookDelta: XY) extends ChessActionFactory with Product with Serializable
- abstract class ChessAction extends Action[ChessBoard, ChessAction, ChessPiece, ChessPlayer, ChessOptimisations]
- abstract class ChessActionFactory extends AnyRef
- case class ChessBoard (grid: Vector[Option[ChessPiece]], turn: ChessPlayer = WhiteChessPlayer, enPassantPawn: Option[EnPassantPawn] = None, castlingAvailable: Map[(ChessPlayer, CastlingSide.Value), Boolean] = castlingFullyAvailable, fullMoveNumber: Int = 1, halfMoveClock: Int = 0, history: List[GameStep] = List()) extends Board[ChessBoard, ChessAction, ChessPiece, ChessPlayer, ChessOptimisations] with Product with Serializable
- case class ChessGame (board: ChessBoard, rules: ChessOptimisations) extends Game[ChessBoard, ChessAction, ChessPiece, ChessPlayer, ChessOptimisations] with Product with Serializable
- case class ChessOptimisations (kingIsTakeable: Boolean, checkForThreatens: Boolean, validateDeltasOnActionCalculation: Boolean, extraValidationOnActionApply: Boolean, dontCalculateHistory: Boolean, optimistic: Boolean) extends Rules with Product with Serializable
- abstract class ChessPiece extends Piece[ChessBoard, ChessAction, ChessPiece, ChessPlayer, ChessOptimisations]
- abstract class ChessPlayer extends Player[ChessBoard, ChessAction, ChessPiece, ChessPlayer, ChessOptimisations]
- implicit class ChessXY extends AnyRef
- case class CoordinateNotationActionSerialiser (r: CoordinateNotationRules) extends ActionSerialiser with Product with Serializable
- case class CoordinateNotationRules (lowerCaseLetters: Boolean, useDashDelimiter: Boolean, distinguishCaptures: Boolean, castlingNotation: String) extends NotationRules with Product with Serializable
- case class DescriptiveNotationActionSerialiser (r: DescriptiveNotationRules) extends ActionSerialiser with Product with Serializable
- case class DescriptiveNotationRules (omitDash: Boolean, numericalRankBeforeFile: Boolean, omitFirstRank: Boolean, castlingNotation: String) extends NotationRules with Product with Serializable
- case class DnPos (x: String, y: Int) extends Product with Serializable
- case class DrawAction (player: ChessPlayer, isCheck: Boolean = false, isCheckmate: Boolean = false) extends FinalAction with Product with Serializable
- case class DrawActionFactory (player: ChessPlayer) extends ChessActionFactory with Product with Serializable
- case class EnPassantAction (fromPawn: ♟, delta: XY, isCheck: Boolean = false, isCheckmate: Boolean = false) extends ChessAction with Product with Serializable
- case class EnPassantActionFactory (fromPawn: ♟, delta: XY) extends ChessActionFactory with Product with Serializable
- case class EnPassantCaptureAction (fromPawn: ♟, delta: XY, toPawn: ♟, isCheck: Boolean = false, isCheckmate: Boolean = false) extends ChessAction with Product with Serializable
- case class EnPassantPawn (from: XY, pawn: ♟) extends Product with Serializable
- case class EnPassantTakeActionFactory (fromPawn: ♟, delta: XY, toPawn: ♟) extends ChessActionFactory with Product with Serializable
- case class Fen (partialString: String = "", cellCount: Int = 0, emptyCells: Int = 0) extends Product with Serializable
- abstract class FinalAction extends ChessAction
- case class GameStep (action: Option[ChessAction], board: ChessBoard) extends Product with Serializable
- case class IccfNotationActionSerialiser (r: IccfNotationRules = IccfNotationRules()) extends ActionSerialiser with Product with Serializable
- case class IccfNotationRules () extends NotationRules with Product with Serializable
- case class IccfPos (x: Int, y: Int) extends Product with Serializable
- case class InvalidIccfActionString (s: String, e: Throwable) extends RuntimeException with NoStackTrace with Product with Serializable
- case class LoseAction (player: ChessPlayer) extends FinalAction with Product with Serializable
- case class MoveAction (fromPiece: ChessPiece, delta: XY, isCheck: Boolean = false, isCheckmate: Boolean = false) extends ChessAction with Product with Serializable
- case class MoveActionFactory (fromPiece: ChessPiece, delta: XY) extends ChessActionFactory with Product with Serializable
- abstract class Notation [NR <: NotationRules] extends AnyRef
- trait NotationRules extends AnyRef
- case class PromoteAction (fromPiece: ♟, delta: XY, promotePiece: ChessPiece, isCheck: Boolean = false, isCheckmate: Boolean = false) extends ChessAction with ActionWithPromotion with Product with Serializable
- case class PromoteActionFactory (fromPiece: ♟, delta: XY, toPiece: ChessPiece) extends ChessActionFactory with Product with Serializable
- case class SmithNotationActionSerialiser (r: SmithNotationRules) extends ActionSerialiser with Product with Serializable
- case class SmithNotationRules () extends NotationRules with Product with Serializable
- case class ♚ (pos: XY, owner: ChessPlayer) extends ChessPiece with Product with Serializable
- case class ♛ (pos: XY, owner: ChessPlayer) extends ChessPiece with Product with Serializable
- case class ♜ (pos: XY, owner: ChessPlayer) extends ChessPiece with Product with Serializable
- case class ♝ (pos: XY, owner: ChessPlayer) extends ChessPiece with Product with Serializable
- case class ♞ (pos: XY, owner: ChessPlayer) extends ChessPiece with Product with Serializable
- case class ♟ (pos: XY, owner: ChessPlayer, dy: Int) extends ChessPiece with Product with Serializable
Value Members
- lazy val castlingFullyAvailable: Map[(ChessPlayer, core.CastlingSide.Value), Boolean]
- lazy val castlingFullyUnavailable: Map[(ChessPlayer, core.CastlingSide.Value), Boolean]
- lazy val castlingOnlyBlackAvailable: Map[(ChessPlayer, core.CastlingSide.Value), Boolean]
- lazy val castlingOnlyWhiteAvailable: Map[(ChessPlayer, core.CastlingSide.Value), Boolean]
- lazy val castlingSides: List[core.CastlingSide.Value]
- implicit val chessBoardSize: BoardSize
- lazy val chessPlayers: List[ChessPlayer]
- def fenCastling(castlingAvailable: Map[(ChessPlayer, core.CastlingSide.Value), Boolean]): String
- def posThreatenedBy(pos: XY, player: ChessPlayer, board: ChessBoard): Option[ChessPiece]
- object AlgebraicNotation extends Notation[AlgebraicNotationRules]
- object BlackChessPlayer extends ChessPlayer with Product with Serializable
- object CastlingAction extends Serializable
- object CastlingSide extends Enumeration
- object ChessGame extends Serializable
- object ChessGrid
- object ChessOptimisations extends Serializable
- object ChessXY
- object CoordinateNotation extends Notation[CoordinateNotationRules]
- object DescriptiveNotation extends Notation[DescriptiveNotationRules]
- object EnPassantPawn extends Serializable
- object Fan
- object Fen extends Serializable
- object FenStringRegexMismatchException extends RuntimeException with NoStackTrace with Product with Serializable
- object IccfActionStringAmbiguous extends RuntimeException with NoStackTrace with Product with Serializable
- object IccfActionStringTooLong extends RuntimeException with NoStackTrace with Product with Serializable
- object IccfNotation extends Notation[IccfNotationRules]
- object IccfPos extends Serializable
- object InvalidChessGridSizeException extends RuntimeException with NoStackTrace with Product with Serializable
- object InvalidFullMoveNumberException extends RuntimeException with NoStackTrace with Product with Serializable
- object InvalidHalfMoveCountException extends RuntimeException with NoStackTrace with Product with Serializable
- object InvalidTurnException extends RuntimeException with NoStackTrace with Product with Serializable
- object MoreThanOneEnPassantPawnException extends RuntimeException with NoStackTrace with Product with Serializable
- object NotationParser
- object OstinatoString
- object OstinatoStringRegexMismatchException extends RuntimeException with NoStackTrace with Product with Serializable
- object SmithNotation extends Notation[SmithNotationRules]
- object SquareColor extends Enumeration
- object WhiteChessPlayer extends ChessPlayer with Product with Serializable
- object ♚ extends Serializable