Element index for package Games_Chess
[ a ]
[ b ]
[ c ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ r ]
[ s ]
[ t ]
[ _ ]
_
- _capturePossible
- in file Losers.php, method Games_Chess_Losers::_capturePossible()
Determine whether it is possible to capture an opponent's piece
- _convertSquareToSAN
- in file Chess.php, method Games_Chess::_convertSquareToSAN()
Convert a starting and ending algebraic square into SAN
- _getAllPieceLocations
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_getAllPieceLocations()
Get the location of every piece on the board of color $color
- _getAllPieceLocations
- in file Standard.php, method Games_Chess_Standard::_getAllPieceLocations()
Get the location of every piece on the board of color $color
- _getAllPieceLocations
- in file Chess.php, method Games_Chess::_getAllPieceLocations()
Get the location of every piece on the board of color $color
- _getAllPieceSquares
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_getAllPieceSquares()
Retrieve the locations of all pieces of the same type as $piece
- _getAllPieceSquares
- in file Standard.php, method Games_Chess_Standard::_getAllPieceSquares()
Retrieve the locations of all pieces of the same type as $piece
- _getCastleSquares
- in file Chess.php, method Games_Chess::_getCastleSquares()
Get a list of all the squares a king could castle to on an empty board
- _getColor
- in file Standard.php, method Games_Chess_Standard::_getColor()
Retrieve the color of a piece from its name
- _getDiagonalColor
- in file Chess.php, method Games_Chess::_getDiagonalColor()
Return the color of a square (black or white)
- _getKing
- in file Standard.php, method Games_Chess_Standard::_getKing()
Get the location of the king
- _getKing
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_getKing()
Get the location of the king
- _getKingSquares
- in file Chess.php, method Games_Chess::_getKingSquares()
Get a list of all the squares a king could move to on an empty board
- _getKnightSquares
- in file Chess.php, method Games_Chess::_getKnightSquares()
Get all the squares a knight could move to on an empty board
- _getPiece
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_getPiece()
Get the location of a piece
- _getPiece
- in file Standard.php, method Games_Chess_Standard::_getPiece()
Get the location of a piece
- _getPieceTypes
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_getPieceTypes()
Get a list of all pieces on the board organized by the type of piece, and the color of the square the piece is on.
- _getPieceTypes
- in file Standard.php, method Games_Chess_Standard::_getPieceTypes()
Get a list of all pieces on the board organized by the type of piece, and the color of the square the piece is on.
- _getPossibleChecks
- in file Standard.php, method Games_Chess_Standard::_getPossibleChecks()
Used to determine check
- _getPossibleChecks
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_getPossibleChecks()
Used to determine check
- _getQueenSquares
- in file Chess.php, method Games_Chess::_getQueenSquares()
Get all the squares a queen could go to on a blank board
- _getRookSquares
- in file Chess.php, method Games_Chess::_getRookSquares()
Get the set of squares that are diagonals from this square on an empty board.
- _isKnight
- in file Standard.php, method Games_Chess_Standard::_isKnight()
Determine whether a piece name is a knight
- _isKnight
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_isKnight()
Determine whether a piece name is a knight
- _isQueen
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_isQueen()
Determine whether a piece name is a queen
- _isQueen
- in file Standard.php, method Games_Chess_Standard::_isQueen()
Determine whether a piece name is a queen
- _moveAlgebraic
- in file Chess.php, method Games_Chess::_moveAlgebraic()
Move a piece from one square to another, and mark the old square as empty
- _parseMove
- in file Chess.php, method Games_Chess::_parseMove()
Parse out the segments of a move (minus any annotations)
- _renderFen
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_renderFen()
Render the current board position into Forsyth-Edwards Notation
- _renderFen
- in file Standard.php, method Games_Chess_Standard::_renderFen()
Render the current board position into Forsyth-Edwards Notation
- _setupStartingPosition
- in file Standard.php, method Games_Chess_Standard::_setupStartingPosition()
Set up a starting position for a new chess game
- _setupStartingPosition
- in file Chess.php, method Games_Chess::_setupStartingPosition()
Set up the board with the starting position
- _setupStartingPosition
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_setupStartingPosition()
Set up a starting position for a new chess game
- _squareToPiece
- in file Standard.php, method Games_Chess_Standard::_squareToPiece()
Translate an algebraic coordinate into the color and name of a piece,
- _squareToPiece
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::_squareToPiece()
Translate an algebraic coordinate into the color and name of a piece,
- _takePiece
- in file Standard.php, method Games_Chess_Standard::_takePiece()
Mark a piece as having been taken. No validation is performed
- _validMove
- in file Losers.php, method Games_Chess_Losers::_validMove()
Validate a move
- _validMove
- in file Chess.php, method Games_Chess::_validMove()
Validate a move
top
top
top
top
top
g
- gameOver
- in file Losers.php, method Games_Chess_Losers::gameOver()
- gameOver
- in file Chess.php, method Games_Chess::gameOver()
- Games_Chess
- in file Chess.php, class Games_Chess
ABSTRACT parent class - use Games_Chess_Standard for a typical chess game
- GAMES_CHESS_CASTLE
- in file Chess.php, constant GAMES_CHESS_CASTLE
Castling move (O-O or O-O-O)
- Games_Chess_Crazyhouse
- in file Crazyhouse.php, class Games_Chess_Crazyhouse
Crazyhouse chess game
- GAMES_CHESS_ERROR_CANT_CAPTURE_OWN
- in file Chess.php, constant GAMES_CHESS_ERROR_CANT_CAPTURE_OWN
An attempt (however misguided) was made to capture one's own piece, illegal
- GAMES_CHESS_ERROR_CANT_CK
- in file Chess.php, constant GAMES_CHESS_ERROR_CANT_CK
Can't castle kingside, either king or rook has moved
- GAMES_CHESS_ERROR_CANT_CQ
- in file Chess.php, constant GAMES_CHESS_ERROR_CANT_CQ
Can't castle kingside, either king or rook has moved
- GAMES_CHESS_ERROR_CANT_MOVE_THAT_WAY
- in file Chess.php, constant GAMES_CHESS_ERROR_CANT_MOVE_THAT_WAY
A request was made to move a piece from one square to another, but it can't
- GAMES_CHESS_ERROR_CANT_PLACE_18
- in file Chess.php, constant GAMES_CHESS_ERROR_CANT_PLACE_18
When a pawn placement on the first or back rank is attempted
- GAMES_CHESS_ERROR_CASTLE_WOULD_CHECK
- in file Chess.php, constant GAMES_CHESS_ERROR_CASTLE_WOULD_CHECK
Castling would place the king in check, which is illegal
- GAMES_CHESS_ERROR_CK_PIECES_IN_WAY
- in file Chess.php, constant GAMES_CHESS_ERROR_CK_PIECES_IN_WAY
Can't castle kingside, pieces are in the way on the f and/or g files
- GAMES_CHESS_ERROR_CQ_PIECES_IN_WAY
- in file Chess.php, constant GAMES_CHESS_ERROR_CQ_PIECES_IN_WAY
Can't castle queenside, pieces are in the way on the d, c and/or b files
- GAMES_CHESS_ERROR_DUPESQUARE
- in file Chess.php, constant GAMES_CHESS_ERROR_DUPESQUARE
An attempt was made to add a piece to the chessboard on top of an existing piece
- GAMES_CHESS_ERROR_EMPTY_FEN
- in file Chess.php, constant GAMES_CHESS_ERROR_EMPTY_FEN
A FEN containing multiple spaces in a row was parsed
- GAMES_CHESS_ERROR_FEN_CASTLETOOLONG
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_CASTLETOOLONG
The list of castling indicators was too long (longest is KQkq) of a FEN
- GAMES_CHESS_ERROR_FEN_CASTLEWRONG
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_CASTLEWRONG
Something other than K, Q, k or q was in the castling indicators of a FEN
- GAMES_CHESS_ERROR_FEN_COUNT
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_COUNT
The number of space-separated fields in a FEN passed to
- GAMES_CHESS_ERROR_FEN_INVALIDPIECE
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_INVALIDPIECE
An invalid piece indicator was used in a FEN
- GAMES_CHESS_ERROR_FEN_INVALID_EP
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_INVALID_EP
The en passant square was neither "-" nor an algebraic square in a FEN
- GAMES_CHESS_ERROR_FEN_INVALID_MOVENUMBER
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_INVALID_MOVENUMBER
The move count (pairs of white/black moves) was not a number in a FEN
- GAMES_CHESS_ERROR_FEN_INVALID_PLY
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_INVALID_PLY
The ply count (number of half-moves) was not a number in a FEN
- GAMES_CHESS_ERROR_FEN_MULTIPIECE
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_MULTIPIECE
An attempt was made to add a piece to the chessboard through the parsing of
- GAMES_CHESS_ERROR_FEN_TOMOVEWRONG
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_TOMOVEWRONG
The indicator of which side to move in a FEN was neither "w" nor "b"
- GAMES_CHESS_ERROR_FEN_TOOLITTLE
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_TOOLITTLE
Not enough piece data was passed into the FEN to explain every square on the board
- GAMES_CHESS_ERROR_FEN_TOOMUCH
- in file Chess.php, constant GAMES_CHESS_ERROR_FEN_TOOMUCH
Too many pieces were passed in for the chessboard to fit them in a FEN
- GAMES_CHESS_ERROR_INVALID_COLOR
- in file Chess.php, constant GAMES_CHESS_ERROR_INVALID_COLOR
Something other than "W" or "B" was passed to a method needing a color
- GAMES_CHESS_ERROR_INVALID_PIECE
- in file Chess.php, constant GAMES_CHESS_ERROR_INVALID_PIECE
Something other than "P", "Q", "R", "B", "N" or "K" was passed to a method
- GAMES_CHESS_ERROR_INVALID_PROMOTE
- in file Chess.php, constant GAMES_CHESS_ERROR_INVALID_PROMOTE
Something other than "Q", "R", "B", or "N" was passed to a method
- GAMES_CHESS_ERROR_INVALID_SAN
- in file Chess.php, constant GAMES_CHESS_ERROR_INVALID_SAN
Invalid Standard Algebraic Notation was used
- GAMES_CHESS_ERROR_INVALID_SQUARE
- in file Chess.php, constant GAMES_CHESS_ERROR_INVALID_SQUARE
Something that isn't SAN ([a-h][1-8]) was passed to a function requiring a
- GAMES_CHESS_ERROR_IN_CHECK
- in file Chess.php, constant GAMES_CHESS_ERROR_IN_CHECK
An illegal move was attempted, the king is in check
- GAMES_CHESS_ERROR_MOVE_MUST_CAPTURE
- in file Chess.php, constant GAMES_CHESS_ERROR_MOVE_MUST_CAPTURE
In loser's chess, and the current move does not capture a piece although capture is possible.
- GAMES_CHESS_ERROR_MOVE_WOULD_CHECK
- in file Chess.php, constant GAMES_CHESS_ERROR_MOVE_WOULD_CHECK
Performing a requested move would place the king in check
- GAMES_CHESS_ERROR_MULTIPIECE
- in file Chess.php, constant GAMES_CHESS_ERROR_MULTIPIECE
An attempt was made to add a piece to the chessboard, but there are too many
- GAMES_CHESS_ERROR_NOPIECES_TOPLACE
- in file Chess.php, constant GAMES_CHESS_ERROR_NOPIECES_TOPLACE
When piece placement is attempted, but no pieces exist to be placed
- GAMES_CHESS_ERROR_NOPIECE_CANDOTHAT
- in file Chess.php, constant GAMES_CHESS_ERROR_NOPIECE_CANDOTHAT
No piece of the current color can execute the SAN (as in, if Na3 is passed
- GAMES_CHESS_ERROR_NO_PIECE
- in file Chess.php, constant GAMES_CHESS_ERROR_NO_PIECE
An attempt was made to capture a piece on a square that does not contain a piece
- GAMES_CHESS_ERROR_PIECEINTHEWAY
- in file Chess.php, constant GAMES_CHESS_ERROR_PIECEINTHEWAY
When piece placement is attempted, but there is a piece on the desired square already
- GAMES_CHESS_ERROR_STILL_IN_CHECK
- in file Chess.php, constant GAMES_CHESS_ERROR_STILL_IN_CHECK
The requested move does not remove a check on the king
- GAMES_CHESS_ERROR_TOO_AMBIGUOUS
- in file Chess.php, constant GAMES_CHESS_ERROR_TOO_AMBIGUOUS
SAN was passed in that is too ambiguous - multiple pieces could execute
- GAMES_CHESS_ERROR_WRONG_COLOR
- in file Chess.php, constant GAMES_CHESS_ERROR_WRONG_COLOR
A attempt to move an opponent's piece was made, illegal
- Games_Chess_Losers
- in file Losers.php, class Games_Chess_Losers
Losers chess game
- GAMES_CHESS_PAWNMOVE
- in file Chess.php, constant GAMES_CHESS_PAWNMOVE
Pawn move (e4, e8=Q, exd5)
- GAMES_CHESS_PIECEMOVE
- in file Chess.php, constant GAMES_CHESS_PIECEMOVE
Piece move (Qa4, Nfe6, Bxe5, Re2xe6)
- GAMES_CHESS_PIECEPLACEMENT
- in file Chess.php, constant GAMES_CHESS_PIECEPLACEMENT
Special move type used in Wild23 like P@a4 (place a pawn at a4)
- Games_Chess_Standard
- in file Standard.php, class Games_Chess_Standard
Standard chess game
- getDiagonalColor
- in file Chess.php, method Games_Chess::getDiagonalColor()
- getMessage
- in file Chess.php, method Games_Chess::getMessage()
Get an error message from the code
- getMoveList
- in file Chess.php, method Games_Chess::getMoveList()
Get the list of moves in Standard Algebraic Notation
- getPieceLocations
- in file Chess.php, method Games_Chess::getPieceLocations()
Get the location of all pieces on the board of a certain color
- getPossibleBishopMoves
- in file Chess.php, method Games_Chess::getPossibleBishopMoves()
Get all legal Bishop moves (checking of the king is not taken into account)
- getPossibleKingMoves
- in file Chess.php, method Games_Chess::getPossibleKingMoves()
Get all legal King moves (checking of the king is not taken into account)
- getPossibleKnightMoves
- in file Chess.php, method Games_Chess::getPossibleKnightMoves()
Get all legal Knight moves (checking of the king is not taken into account)
- getPossibleMoves
- in file Chess.php, method Games_Chess::getPossibleMoves()
Get a list of all possible theoretical squares a piece of this nature and color could move to with the current board and game setup.
- getPossiblePawnMoves
- in file Chess.php, method Games_Chess::getPossiblePawnMoves()
Get all legal Pawn moves (checking of the king is not taken into account)
- getPossibleQueenMoves
- in file Chess.php, method Games_Chess::getPossibleQueenMoves()
Get all legal Queen moves (checking of the king is not taken into account)
- getPossibleRookMoves
- in file Chess.php, method Games_Chess::getPossibleRookMoves()
Get all legal Rook moves (checking of the king is not taken into account)
- getState
- in file Chess.php, method Games_Chess::getState()
Get the current state of the chess game
top
top
i
- in50MoveDraw
- in file Chess.php, method Games_Chess::in50MoveDraw()
Determine whether any pawn move or capture has occurred in the past 50 moves
- in50MoveDraw
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::in50MoveDraw()
50 move draw is not allowed in crazyhouse
- inBasicDraw
- in file Chess.php, method Games_Chess::inBasicDraw()
Determine the presence of a basic draw as defined by FIDE rules
- inBasicDraw
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::inBasicDraw()
Basic draw is impossible in crazyhouse, because it is always possible
- inCheck
- in file Standard.php, method Games_Chess_Standard::inCheck()
Determine whether one side's king is in check by the other side's pieces
- inCheck
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::inCheck()
Determine whether one side's king is in check by the other side's pieces
- inCheckMate
- in file Chess.php, method Games_Chess::inCheckMate()
Determine whether a side is in checkmate
- inDraw
- in file Chess.php, method Games_Chess::inDraw()
Determines the presence of a forced draw
- inRepetitionDraw
- in file Chess.php, method Games_Chess::inRepetitionDraw()
Determine whether draw by repetition has happened
- inRepetitionDraw
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::inRepetitionDraw()
Repetition draw is not allowed in crazyhouse
- inStaleMate
- in file Chess.php, method Games_Chess::inStaleMate()
Determine whether a side is in stalemate
- isBishop
- in file Standard.php, method Games_Chess_Standard::isBishop()
Determine whether a piece name is a bishop
- isBishop
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::isBishop()
Determine whether a piece name is a bishop
- isError
- in file Chess.php, method Games_Chess::isError()
Determines whether the data returned from a method is a PEAR-related
- isKing
- in file Standard.php, method Games_Chess_Standard::isKing()
Determine whether a piece name is a king
- isKing
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::isKing()
Determine whether a piece name is a king
- isPawn
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::isPawn()
Determine whether a piece name is a pawn
- isPawn
- in file Standard.php, method Games_Chess_Standard::isPawn()
Determine whether a piece name is a pawn
- isPromoteMove
- in file Chess.php, method Games_Chess::isPromoteMove()
Determine whether moving a piece from one square to another requires
- isRook
- in file Standard.php, method Games_Chess_Standard::isRook()
Determine whether a piece name is a rook
- isRook
- in file Crazyhouse.php, method Games_Chess_Crazyhouse::isRook()
Determine whether a piece name is a rook
top
top
top
top
top
top
Documentation generated on Mon, 11 Mar 2019 15:05:00 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|