|
|||||||||
| Home >> All >> [ antichess overview ] | PREV NEXT | ||||||||
A
- aboutIcon - Variable in class antichess.GraphicUI1
- aboutMenuItem - Variable in class antichess.GraphicUI1
- aboutMenuItemActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- aboutOptionPane - Variable in class antichess.GraphicUI1
- addEmpty(Board) - Static method in class antichess.Piece
- Adds empty pieces to the rest of the board
- addPiece(Board, int, int, int, int) - Method in class antichess.Zobrist
- MUST BE CALLED WHEN BOARD IS CHANGED THROUGH A MOVE OR UNDOMOVE Updates the key for the board update
- aliveCount - Variable in class antichess.Board
- alphaBeta(Board, int, int, int, int) - Static method in class antichess.NewEngine
- Standard Alpha-Beta algorithm, entrance method
board Board to make a search on
depth Depth of seach
nextTurnnext player to move
alphalower term of alpha-beta
beta higher term of alpha-beta - alphaBetaHash(int, int, int, int, int) - Method in class antichess.BetterEngine
- Standard Alpha-Beta algorithm, entrance method
board Board to make a search on
depth Depth of seach
nextTurnnext player to move
alphalower term of alpha-beta
beta higher term of alpha-beta - alphaBetaHash(Board, Map, int, int, int, int) - Static method in class antichess.NewEngine
- Standard Alpha-Beta algorithm, entrance method
board Board to make a search on
depth Depth of seach
nextTurnnext player to move
alphalower term of alpha-beta
beta higher term of alpha-beta - alphaBetaHashRec(int, int, int, int, int) - Method in class antichess.BetterEngine
- Standard AlphaBeta algorithm, lower terms It is necessary to make a distinction between the entrance method which runs on the root node and the recursive method which runs on children nodes.
- alphaBetaHashRec(Board, Map, int, int, int, int) - Static method in class antichess.NewEngine
- Standard AlphaBeta algorithm, lower terms It is necessary to make a distinction between the entrance method which runs on the root node and the recursive method which runs on children nodes.
- alphaBetaRec(Board, int, int, int, int) - Static method in class antichess.NewEngine
- Standard AlphaBeta algorithm, lower terms It is necessary to make a distinction between the entrance method which runs on the root node and the recursive method which runs on children nodes.
- antiChessButton - Variable in class antichess.GraphicUI1
- antiChessButtonActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- antichess - package antichess
- arbX - Variable in class antichess.XChessBoard
- arbY - Variable in class antichess.XChessBoard
- assumedOpponentMove - Variable in class antichess.MachinePlayer
- assumedOpponentMoveString - Variable in class antichess.MachinePlayer
B
- BISHOP - Static variable in class antichess.CEvaluator
- BISHOP - Static variable in class antichess.Evaluator
- BISHOP - Static variable in class antichess.Piece
- Constant value for the pieceType Bishop
- BLACK - Static variable in class antichess.CEvaluator
- BLACK - Static variable in class antichess.Evaluator
- BLACK - Static variable in class antichess.Piece
- Constant for the color black
- BLACKCOLOR - Variable in class antichess.XChessBoard
- BLOCKED_ISOLATED_PAWN_BONUS - Static variable in class antichess.CEvaluator
- BLOCKED_ISOLATED_PAWN_BONUS - Static variable in class antichess.Evaluator
- BLUE - Static variable in class antichess.Piece
- Constant for the color black
- BetterEngine - class antichess.BetterEngine.
- BetterEngine represents the player engine
- BetterEngine(Board, Map, int, int) - Constructor for class antichess.BetterEngine
- This starts a new BetterEngine with the corresponding values
- Bishop - class antichess.Bishop.
- This class contains the rules that apply to Bishop.
- Bishop(char, Board, int, int, int) - Constructor for class antichess.Bishop
- Creates a new piece.
- Board - class antichess.Board.
- Board represents an antichess board.
- Board(int[][]) - Constructor for class antichess.Board
- Creates an MAXCOLxMAXROW antichess board.
- Board(Board) - Constructor for class antichess.Board
- Creates a copy of a given board, deep copying every piece
- background - Variable in class antichess.XChessBoard
- bestMove - Variable in class antichess.HashEntry
- bishop_pcsq - Static variable in class antichess.CEvaluator
- bishop_pcsq - Static variable in class antichess.Evaluator
- blackplayercolorLabel - Variable in class antichess.GraphicUI1
- blackplayernameLabel - Variable in class antichess.GraphicUI1
- blackplayertimeTextField - Variable in class antichess.GraphicUI1
- blueplayercolorLabel - Variable in class antichess.GraphicUI1
- blueplayernameLabel - Variable in class antichess.GraphicUI1
- blueplayertimeTextField - Variable in class antichess.GraphicUI1
- board - Variable in class antichess.BetterEngine
- board - Variable in class antichess.GameController
- board - Variable in class antichess.MachinePlayer
- board - Variable in class antichess.Piece
- board - Variable in class antichess.XChessBoard
- board - Variable in class antichess.Zobrist
- board0 - Variable in class antichess.TestBoard
- board1 - Variable in class antichess.TestBoard
- board2 - Variable in class antichess.TestBoard
- board3 - Variable in class antichess.TestBoard
- board4 - Variable in class antichess.TestBoard
- boardMargin - Variable in class antichess.XChessBoard
- boardString - Variable in class antichess.TextUI
- boardString - Variable in class antichess.TextUI2
- boardTable - Variable in class antichess.BetterEngine
- boardTable - Variable in class antichess.MachinePlayer
- boardTable - Variable in class antichess.TestNewEngine
- boardType - Variable in class antichess.Board
- boardstyleLabel - Variable in class antichess.GraphicUI1
- breakGame(GameMessage) - Method in class antichess.TextUI2
- Ends a game
C
- CEvaluator - class antichess.CEvaluator.
- CEvaluator() - Constructor for class antichess.CEvaluator
- COLORMASK - Static variable in class antichess.Piece
- CYLINDER - Static variable in class antichess.Board
- Constant indicating a cylinder board
- cDCol - Variable in class antichess.King
- cDRow - Variable in class antichess.King
- cOffsets - Variable in class antichess.King
- cPieceCount - Variable in class antichess.King
- cPieceType - Variable in class antichess.King
- cSlide - Variable in class antichess.King
- canAttackLocation(int, int) - Method in class antichess.Bishop
- overrides Piece.canAttackLocation
- canAttackLocation(int, int) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- canAttackLocation(int, int) - Method in class antichess.Piece
- Checks if a Piece can attack a particular location
- canAttackLocation(int, int) - Method in class antichess.Queen
- canAttackLocation(int, int) - Method in class antichess.Rook
- overrides Piece.canAttackLocation
- captureMASK - Static variable in class antichess.Move
- castleMASK - Static variable in class antichess.Move
- checkGameOver(List) - Method in class antichess.GameController
- Checks if the game is over
- checkGameOver() - Method in class antichess.TextUI
- Checks if the game is over
- checked - Variable in class antichess.Board
- chessButton - Variable in class antichess.GraphicUI1
- chessButtonActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- chessOrachessCancelButton - Variable in class antichess.GraphicUI1
- chessOrachessCancelButtonActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- chessOrachessDialog - Variable in class antichess.GraphicUI1
- chessOrachessItem - Variable in class antichess.GraphicUI1
- chessOrachessItemActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- chessOrachessOkButton - Variable in class antichess.GraphicUI1
- chessOrachessOkButtonActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- chessTimer - Variable in class antichess.GraphicUI1
- circArray - Variable in class antichess.XChessBoard
- circArray2 - Variable in class antichess.XChessBoard
- closeDialog(WindowEvent) - Method in class antichess.J4PlayerDialog
- Closes the dialog
- col - Variable in class antichess.Move
- col - Variable in class antichess.Piece
- color - Variable in class antichess.GameMessage
- color - Variable in class antichess.MachinePlayer
- color - Variable in class antichess.Piece
- colorStr - Variable in class antichess.TextUI
- colorStr - Variable in class antichess.TextUI2
- contentsMenuItem - Variable in class antichess.GraphicUI1
- contentsMenuItemActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- copyFrom(Move) - Method in class antichess.Move
- Copy values from a given Move
- copyPiece(Board) - Method in class antichess.Bishop
- Creates a copy to a new board
- copyPiece(Board) - Method in class antichess.EmptyPiece
- Creates a copy to a new board
- copyPiece(Board) - Method in class antichess.King
- Creates a copy to a new board
- copyPiece(Board) - Method in class antichess.Knight
- Creates a copy to a new board
- copyPiece(Board) - Method in class antichess.Pawn
- Creates a copy to a new board
- copyPiece(Board) - Method in class antichess.Piece
- Creates a copy to a new board To be overriden by each class
- copyPiece(Board) - Method in class antichess.Queen
- Creates a copy to a new board
- copyPiece(Board) - Method in class antichess.Rook
- Creates a copy to a new board
- create4PlayerBoard() - Method in class antichess.GameController
- Creates a 4 player board
- createFromString(String) - Static method in class antichess.GameController
- A factory method that creates a new game controller from a given string; this is meant to be used by the machine player.
- cylinderCheckBox - Variable in class antichess.GraphicUI1
- cylinderCheckBoxActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
D
- DEBUG - Static variable in class antichess.GraphicUI1
- DEBUG - Static variable in class antichess.XChessBoard
- DOUBLED_PAWN_PENALTY - Static variable in class antichess.CEvaluator
- DOUBLED_PAWN_PENALTY - Static variable in class antichess.Evaluator
- dcol - Variable in class antichess.Piece
- col vector offset
- debug - Static variable in class antichess.BetterEngine
- debug - Static variable in class antichess.NewEngine
- debug - Variable in class antichess.Zobrist
- debughash - Static variable in class antichess.BetterEngine
- debughash - Static variable in class antichess.NewEngine
- debughashcut - Static variable in class antichess.BetterEngine
- debughashcut - Static variable in class antichess.NewEngine
- delay(long, Timer) - Method in class antichess.TestTimer
- deletePiece(Board, int, int, int, int) - Method in class antichess.Zobrist
- MUST BE CALLED WHEN BOARD IS CHANGED THROUGH A MOVE OR UNDOMOVE Updates the key for the board update
- depth - Variable in class antichess.HashEntry
- destCol - Variable in class antichess.Move
- destRow - Variable in class antichess.Move
- displayBoard() - Method in class antichess.TextUI2
- Displays the current board
- displayGame() - Method in class antichess.TextUI2
- Displays the time left and board
- displayInputError() - Method in class antichess.TextUI
- Displays an error message
- displayTime() - Method in class antichess.TextUI2
- Display timeleft
- drow - Variable in class antichess.Piece
- row vector offset
E
- EMPTY - Static variable in class antichess.Piece
- Constant value for the pieceType Empty
- EmptyPiece - class antichess.EmptyPiece.
- Empty Piece
- EmptyPiece(Board, int, int) - Constructor for class antichess.EmptyPiece
- EmptyPiece(char, Board, int, int) - Constructor for class antichess.EmptyPiece
- Evaluator - class antichess.Evaluator.
- Evaluator() - Constructor for class antichess.Evaluator
- endCol - Variable in class antichess.XChessBoard
- endRow - Variable in class antichess.XChessBoard
- engine - Variable in class antichess.MachinePlayer
- epMASK - Static variable in class antichess.Move
- equals(Object) - Method in class antichess.Board
- Checks for equality.
- equals(Board) - Method in class antichess.Board
- Checks for equality.
- equals(Object) - Method in class antichess.HashKey
- equals(Move) - Method in class antichess.Move
- equals(Object) - Method in class antichess.Move
- equals(Object) - Method in class antichess.Piece
- Checks for equality.
- equals(Piece) - Method in class antichess.Piece
- eval_black_pawn(Piece) - Static method in class antichess.CEvaluator
- eval_black_pawn(Piece) - Static method in class antichess.Evaluator
- eval_white_pawn(Piece) - Static method in class antichess.CEvaluator
- eval_white_pawn(Piece) - Static method in class antichess.Evaluator
- evaluate(Board, int) - Method in class antichess.BetterEngine
- Our evaluate function
- evaluateBoard(Board, int, int) - Static method in class antichess.CEvaluator
- evaluateBoard(Board, int, int) - Static method in class antichess.Evaluator
- exitForm(WindowEvent) - Method in class antichess.GraphicUI1
- Exit the Application
- exitMenuItem - Variable in class antichess.GraphicUI1
- exitMenuItemActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- extractSwitchMoves(List, List, List) - Static method in class antichess.Piece
- Extracts the switch moves and make a reversed copy of them
F
- FIRSTCOLOR - Static variable in class antichess.Piece
- Constant for first color index
- FIRSTPIECE - Static variable in class antichess.Piece
- Constant value for the first piece index
- FOURPLAYERS - Static variable in class antichess.Board
- Constant indicate a four player board
- fileMenu - Variable in class antichess.GraphicUI1
- fileRead(String) - Method in class antichess.GameController
- Reads a file's contents into a string takes String
- fileRead(String, boolean) - Method in class antichess.TestBetterEngine
- This function only returns all text before the first ";" and sets comments to contain all text after the first ";"
- fileRead(String, boolean) - Method in class antichess.TestCylinder
- This function only returns all text before the first ";" and sets comments to contain all text after the first ";"
- fileRead(String, boolean) - Method in class antichess.TestEvaluator
- This function only returns all text before the first ";" and sets comments to contain all text after the first ";"
- fileRead(String, boolean) - Method in class antichess.TestGameController
- This function only returns all text before the first ";" and sets comments to contain all text after the first ";"
- fileRead(String, boolean) - Method in class antichess.TestNewEngine
- This function only returns all text before the first ";" and sets comments to contain all text after the first ";"
- fileRead(String, boolean) - Method in class antichess.TestPiece
- This function only returns all text before the first ";" and sets comments to contain all text after the first ";"
- fileRead(String, boolean) - Method in class antichess.TestZobrist
- This function only returns all text before the first ";" and sets comments to contain all text after the first ";"
- filename - Variable in class antichess.TextUI
- filename - Variable in class antichess.TextUI2
- firstMoveMade - Variable in class antichess.MachinePlayer
- flip - Static variable in class antichess.CEvaluator
- private static final int[] king_pcsq= { -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -20, -20, -20, -20, -20, -20, -20, -20, 0, 20, 40, -20, 0, -20, 40, 20 };
- flip - Static variable in class antichess.Evaluator
- private static final int[] king_pcsq= { -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -40, -20, -20, -20, -20, -20, -20, -20, -20, 0, 20, 40, -20, 0, -20, 40, 20 };
- foundMove - Variable in class antichess.BetterEngine
- If searchFinished is true, foundMove is a good move, check if it is valid WILL BE SET BY BETTER ENGINE
- fourPlayerDialog - Variable in class antichess.GraphicUI1
- fourtwoMargin - Variable in class antichess.XChessBoard
G
- GameController - class antichess.GameController.
- This class controls the main flow of the game.
- GameController() - Constructor for class antichess.GameController
- Creates a new game from the standard file GameController.standardGameFile.
- GameController(int) - Constructor for class antichess.GameController
- Creates a game with the specified number of players
- GameController(String) - Constructor for class antichess.GameController
- Creates a new game from the given filename.
- GameMessage - class antichess.GameMessage.
- GameMessage keeps the information about the changes in the flow of an antichess game.
- GameMessage(Move, int) - Constructor for class antichess.GameMessage
- Constructs a message of a GameMessage.MOVE type Holds information about the actual move and the color making move
- GameMessage(String) - Constructor for class antichess.GameMessage
- Constructs a message of a GameMessage.MESSAGE type Holds information about message text
- GraphicUI1 - class antichess.GraphicUI1.
- GraphicUI1() - Constructor for class antichess.GraphicUI1
- Creates new form GraphicUI1
- gameBoard - Variable in class antichess.Board
- gameDialog - Variable in class antichess.GraphicUI1
- gameInProgress - Variable in class antichess.GameController
- gameLabel - Variable in class antichess.GraphicUI1
- gameName - Variable in class antichess.GameController
- gameTextField - Variable in class antichess.GraphicUI1
- gamecancelButton - Variable in class antichess.GraphicUI1
- gamecancelButton - Variable in class antichess.J4PlayerDialog
- gamecancelButtonActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- gameokButton - Variable in class antichess.GraphicUI1
- gameokButton - Variable in class antichess.J4PlayerDialog
- gameokButtonActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- Start the game
- gameokButtonActionPerformed(ActionEvent) - Method in class antichess.J4PlayerDialog
- Start the game
- gamestyleLabel - Variable in class antichess.GraphicUI1
- gc - Variable in class antichess.GraphicUI1
- gc - Variable in class antichess.MachinePlayer
- gc - Variable in class antichess.TextUI
- gc - Variable in class antichess.TextUI2
- gc - Static variable in class antichess.XChessBoard
- getAliveCount(int, int) - Method in class antichess.Board
- Gets the weighted count of alive pieces on the board during any time in the game for a particular side.
- getAllValidMoves(Board, int) - Static method in class antichess.Piece
- Finds all legal moves, including switch moves in both directions eg: both a1-a2 and a2-a1 will be included.
- getBestMove() - Method in class antichess.HashEntry
- getBoard() - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- getBoard() - Method in class antichess.GameController
- Gets the Board representing the state of the game
- getBoard() - Method in class antichess.MachinePlayer
- getBoard() - Method in class antichess.Piece
- Gets the board the Piece is on
- getBoardString() - Method in class antichess.GameController
- Get the string representation of the current game, as specified in the game file format
- getBoardType() - Method in class antichess.Board
- Gets the board type
- getBoardType() - Method in class antichess.GameController
- Gets the type of board to use
- getCapture() - Method in class antichess.Move
- getCaptureMoves() - Method in class antichess.Pawn
- Returns a list of possible capture (not necessarily legal) moves for a Pawn The Moves are not necessarily legal.
- getCastle() - Method in class antichess.Move
- getCastlingMoves() - Method in class antichess.King
- Returns a list of castling moves the King can make
Overrides getSpecialMoves in Piece. - getChar() - Method in class antichess.Piece
- Gets the character representing the piece
- getChecked(int) - Method in class antichess.Board
- Checks if a side is in check
- getCircles() - Method in class antichess.XChessBoard
- Loads the red circle images from the directory that indicate valid pieces to be moved
- getCircles2() - Method in class antichess.XChessBoard
- Loads the blue circle images from the directory that indicate valid moves that can be made by piece being moved
- getCol() - Method in class antichess.Piece
- Gets the current column of the piece
- getColFromString(String) - Method in class antichess.Move
- getColor() - Method in class antichess.GameMessage
- Returns color
- getColor() - Method in class antichess.Piece
- Gets the color of the piece
- getDepth() - Method in class antichess.HashEntry
- getDestCol() - Method in class antichess.Move
- getDestRow() - Method in class antichess.Move
- getDifference(int) - Method in class antichess.Board
- Gets the weighted difference of number of alive pieces on the board during any time in the game for a particular side.
- getEp() - Method in class antichess.Move
- getHumanMove() - Method in class antichess.TextUI2
- Gets a user input move from standard input
- getHumanPlayer() - Method in class antichess.GameController
- Gets the humanPlayer object.
- getImages() - Method in class antichess.XChessBoard
- Loads the images from the directory
- getIsTiming() - Method in class antichess.Timer
- See if the timer is running
- getKey() - Method in class antichess.HashEntry
- getKey(Board, int) - Method in class antichess.Zobrist
- Returns a zobrist key for the board
- getKey(String, int) - Method in class antichess.Zobrist
- Returns a zobrist key for the board
- getKing(int) - Method in class antichess.Board
- Gets the king Piece of a particular side
- getLast3Moves() - Method in class antichess.GameController
- Gets the last three moves made in the game.
- getLastCol() - Method in class antichess.Piece
- Gets the last location column of the piece See the game file format for more details about this field.
- getLastPieceMoved(int) - Method in class antichess.Board
- Gets the last piece move to a piece
- getLastPieceMoved(int, int) - Method in class antichess.Board
- Gets the last piece move to a piece at an index
- getLastRow() - Method in class antichess.Piece
- Gets the last location row of the piece See the game file format for more details about this field.
- getMachinePlayer(int) - Method in class antichess.GameController
- Gets the machinePlayer object
- getMessage() - Method in class antichess.GameMessage
- Returns message
- getModifiedPieces() - Method in class antichess.Move
- getMove() - Method in class antichess.GameMessage
- Returns move
- getMove() - Method in class antichess.HumanPlayer
- Returns move, if move is not null (ie a move is selected by UI) this method sets the myTurn false.
- getMoveHistory() - Method in class antichess.GameController
- Gets a list representing the history of movestrings made in game
- getMoveList() - Method in class antichess.HumanPlayer
- Returns moveList Should be called by UI.
- getMoved() - Method in class antichess.Piece
- Gets if the piece has been moved
- getMyTurn() - Method in class antichess.HumanPlayer
- Returns whether it is human players turn.
- getName() - Method in class antichess.GameController
- Gets the name of the game
- getName() - Method in class antichess.MachinePlayer
- REQUIRED BY 6.170 Antichess Specification**
- getNextMove() - Method in class antichess.TextUI
- GetNextMove: If this command is called during a human player's turn, the command prints Human turn on its own line.
- getNextTurn() - Method in class antichess.GameController
- Gets the color of the nextplayer to make a move
- getNonCaptureMoves() - Method in class antichess.Pawn
- Returns a list of possible noncapture (not necessarily legal) moves for a Pawn The Moves are not necessarily legal.
- getNormal() - Method in class antichess.Move
- getNormalMoves(List, List) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- getNormalMoves(List, List) - Method in class antichess.Pawn
- Overrides Piece.getNormalMoves
- getNormalMoves(List, List) - Method in class antichess.Piece
- Gets possible normal (includes capture and noncapture, but not necessarily legal) moves.
- getNumberofPlayers() - Method in class antichess.GameController
- Gets the number of the player
- getOpponentColor(int) - Static method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- getOpponentColor() - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- getOpponentColor(int) - Static method in class antichess.Piece
- Gets the opponent color, checking LASTCOLOR to see if it is a 2player game or 4.
- getOpponentColor() - Method in class antichess.Piece
- Gets the opponent color of a piece
- getOtherMoves() - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- getOtherMoves() - Method in class antichess.King
- Overrides getOtherMoves in Piece and retrieves castling moves.
- getOtherMoves() - Method in class antichess.Piece
- To be overridden by subclasses if any other special moves are to be made
- getPawn() - Method in class antichess.Move
- getPieceAt(int, int) - Method in class antichess.Board
- Gets a piece at a particular row and column.
- getPieceCount(int, int) - Method in class antichess.Board
- Gets the number of maximum available pieces on the board during any time in the game for a particular side.
- getPiecesOnBoard(int) - Method in class antichess.Board
- Gets an array of Piece that are present on the board.
- getPlayerLevel(int) - Method in class antichess.GameController
- Gets the level of the player
- getPlayerType(int) - Method in class antichess.GameController
- Gets the player type
- getPossibleMoves(List, List) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- getPossibleMoves(List, List) - Method in class antichess.Piece
- Find all possible (not necesarily legal) Moves a particular piece can make.
- getPossibleSwitchMoves(Board, int) - Static method in class antichess.Piece
- Returns a list of possible switch (not necesarily legal) moves a piece can make The Moves are not necessarily legal.
- getPromote() - Method in class antichess.Move
- getRow() - Method in class antichess.Piece
- Gets the current row of the piece
- getRowFromString(String) - Method in class antichess.Move
- getShowLegalMoves() - Method in class antichess.GameController
- Gets if the legally moved pieces should be moved
- getShowLegalPieces() - Method in class antichess.GameController
- Gets if the legally moved pieces should be moved
- getSpecial(int) - Method in class antichess.Board
- Checks if a side has used special move
- getSpecial() - Method in class antichess.Move
- getStandardValidMoves(Board, int) - Static method in class antichess.Piece
- Finds all legal moves given a board and a color to move, EXCLUDING switch moves.
- getStartCol() - Method in class antichess.Move
- getStartRow() - Method in class antichess.Move
- getSwitchMoves(Board, int) - Static method in class antichess.Piece
- Returns a list of valid switch moves.
- getTimeLeft(int) - Method in class antichess.GameController
- Gets the time left for a particular color
- getTimeLeft() - Method in class antichess.Timer
- getTimeLeftString(int) - Method in class antichess.GameController
- Gets the time left for a particular color
- getTotalAliveCount(int) - Method in class antichess.Board
- Gets the weighted count of alive pieces on the board during any time in the game for a particular side.
- getType() - Method in class antichess.GameMessage
- Returns type
- getType() - Method in class antichess.HashEntry
- getType() - Method in class antichess.Piece
- Gets the type of the piece
- getUsable(int, int) - Method in class antichess.Board
- Gets whether given location is usable
- getValidMoves() - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- getValidMoves(Board, int) - Static method in class antichess.Piece
- Finds all legal moves given a board and a color to move.
- getValidMovesNormalChess(Board, int) - Static method in class antichess.Piece
- Finds all Normal chess legal moves given a board and a color to move.
- getValue() - Method in class antichess.HashEntry
- getValues() - Method in class antichess.TextUI2
- Asks user to read from file or get other information about the game
- getZobrist() - Method in class antichess.Board
- Returns the zobrist
H
- HASHALPHA - Static variable in class antichess.HashEntry
- HASHBETA - Static variable in class antichess.HashEntry
- HASHEXACT - Static variable in class antichess.HashEntry
- HUMAN - Static variable in class antichess.GameController
- This constant represents a human player
- HashEntry - class antichess.HashEntry.
- HashEntry(long, Move, int, int, int) - Constructor for class antichess.HashEntry
- HashKey - class antichess.HashKey.
- HashKey(long) - Constructor for class antichess.HashKey
- HumanPlayer - class antichess.HumanPlayer.
- HumanPlayer is the human player for AChess Program.
- HumanPlayer() - Constructor for class antichess.HumanPlayer
- halfTime - Variable in class antichess.MachinePlayer
- hasInside(Board, Piece[][], Piece) - Method in class antichess.TestBoard
- Helper Function Checks whether given piece is in array
- hashCode() - Method in class antichess.HashKey
- hashStr() - Method in class antichess.Board
- SPECIFIC TO 8x8 Boards.
- helpDialog - Variable in class antichess.GraphicUI1
- helpMenu - Variable in class antichess.GraphicUI1
- helpcancelButton - Variable in class antichess.GraphicUI1
- helpcancelButtonActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- human - Variable in class antichess.XChessBoard
- humanPlayer - Variable in class antichess.GameController
- humanPlayer - Variable in class antichess.TextUI
- humanPlayer - Variable in class antichess.TextUI2
I
- ISOLATED_PAWN_PENALTY - Static variable in class antichess.CEvaluator
- ISOLATED_PAWN_PENALTY - Static variable in class antichess.Evaluator
- inCheck() - Method in class antichess.King
- inCheckAll() - Method in class antichess.King
- inCheckOld() - Method in class antichess.King
- info - Variable in class antichess.Move
- initBoard() - Method in class antichess.XChessBoard
- Initalizes the board variables
- initComponents() - Method in class antichess.GraphicUI1
- This method is called from within the constructor to initialize the form.
- initComponents() - Method in class antichess.J4PlayerDialog
- This method is called from within the constructor to initialize the form.
- initComponents() - Method in class antichess.XChessBoard
- This method is called from within the constructor to initialize the form.
- initDefaultValues() - Method in class antichess.GraphicUI1
- Initialized the default values of various variables
- initGameDialog(String) - Method in class antichess.GraphicUI1
- Initializes the game by reading the default values from the file supplied, if the filename is null or does not exist, the game is initialiazed using the stardart format.
- initValues() - Method in class antichess.J4PlayerDialog
- This method is called from within the constructor to initialize the form.
- initValues() - Method in class antichess.XChessBoard
- Initializes global variables
- initZobrist() - Method in class antichess.Board
- Initializes the zobrist matrix for this board CALL THIS ONLY AFTER YOU PUT ALL THE PIECES INTO THE BOARD
- initialDepth - Variable in class antichess.BetterEngine
- initialNextTurn - Variable in class antichess.BetterEngine
- interactiveLoop() - Method in class antichess.TextUI
- Performs a loop in which user can enter commands
- isGameOver(Board, int) - Static method in class antichess.Piece
- Returns if a game is over given a board, with nextTurn being the next player to move Note that this method will recompute all the valid moves in order to determine whether the game is over or not.
- isGameOver(Board, int, List) - Static method in class antichess.Piece
- Returns if a game is over given a board, the nextTurn being the next player to move and the list of valid moves.
- isGameOverNormalChess(Board, int) - Static method in class antichess.Piece
- Returns if a game is over given a board, with nextTurn being the next player to move Note that this method will recompute all the valid moves in order to determine whether the game is over or not.
- isLastPieceMoved(Piece) - Method in class antichess.Board
- Checks if a piece is the last piece moved
- isLegalMove(List) - Method in class antichess.TextUI
- IsLegalMove [move]: System should print, on its own line, either "legal" or "illegal" to specify if the move is a legal next move.
- isLoseNormalChess(Board, int) - Static method in class antichess.Piece
- Returns if a particular side has lost.
- isTie(Board, int) - Static method in class antichess.Piece
- Returns if a game is draw given a board, with nextTurn being the next player to move Note that this method will recompute all the valid moves in order to determine whether the game is a tie or not.
- isTie(Board, int, List) - Static method in class antichess.Piece
- Returns if a game is draw given a board, the nextTurn being the next player to move and the list of valid moves.
- isTieNormalChess(Board, int) - Static method in class antichess.Piece
- Returns if a game is draw given a board, with nextTurn being the next player to move Note that this method will recompute all the valid moves in order to determine whether the game is a tie or not.
- isTiming - Variable in class antichess.Timer
- isValid() - Method in class antichess.Move
- isValidMove(Move) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- isValidMove(Board, Move, int) - Static method in class antichess.Piece
- Checks if a move is legal given a board and the color to move.
- isWhite - Variable in class antichess.GameController
- isWin(Board, int) - Static method in class antichess.Piece
- Returns if a particular side has won.
- isWin(Board, int, List) - Static method in class antichess.Piece
- Returns if a particular side has won, given a board, the nextTurn being the next player to move and the list of valid moves.
J
- J4PlayerDialog - class antichess.J4PlayerDialog.
- J4PlayerDialog(Frame, boolean) - Constructor for class antichess.J4PlayerDialog
- Creates new form JDialog
- jButton1 - Variable in class antichess.GraphicUI1
- jButton2 - Variable in class antichess.GraphicUI1
- jButton2ActionPerformed(String) - Method in class antichess.GraphicUI1
- Finishes a game in an orderly fashion
- jButton3 - Variable in class antichess.GraphicUI1
- jCheckBox1 - Variable in class antichess.GraphicUI1
- jCheckBox2 - Variable in class antichess.GraphicUI1
- jCheckBox3 - Variable in class antichess.GraphicUI1
- jEditorPane1 - Variable in class antichess.GraphicUI1
- jEditorPane1HyperlinkUpdate(HyperlinkEvent) - Method in class antichess.GraphicUI1
- jFileChooser - Variable in class antichess.GraphicUI1
- jFileChooserActionPerformed(ActionEvent) - Method in class antichess.GraphicUI1
- jPanel1 - Variable in class antichess.GraphicUI1
- jPanel10 - Variable in class antichess.GraphicUI1
- jPanel10 - Variable in class antichess.J4PlayerDialog
- jPanel11 - Variable in class antichess.GraphicUI1
- jPanel11 - Variable in class antichess.J4PlayerDialog
- jPanel12 - Variable in class antichess.GraphicUI1
- jPanel12 - Variable in class antichess.J4PlayerDialog
- jPanel13 - Variable in class antichess.GraphicUI1
- jPanel13 - Variable in class antichess.J4PlayerDialog
- jPanel14 - Variable in class antichess.GraphicUI1
- jPanel14 - Variable in class antichess.J4PlayerDialog
- jPanel15 - Variable in class antichess.GraphicUI1
- jPanel16 - Variable in class antichess.GraphicUI1
- jPanel17 - Variable in class antichess.GraphicUI1
- jPanel2 - Variable in class antichess.GraphicUI1
- jPanel3 - Variable in class antichess.GraphicUI1
- jPanel4 - Variable in class antichess.GraphicUI1
- jPanel5 - Variable in class antichess.GraphicUI1
- jPanel6 - Variable in class antichess.GraphicUI1
- jPanel7 - Variable in class antichess.GraphicUI1
- jPanelAC - Variable in class antichess.GraphicUI1
- jPanelAC2 - Variable in class antichess.GraphicUI1
- jPanelAC3 - Variable in class antichess.GraphicUI1
- jScrollPane1 - Variable in class antichess.GraphicUI1
- jScrollPane2 - Variable in class antichess.GraphicUI1
- jSeparator1 - Variable in class antichess.GraphicUI1
- jSeparator2 - Variable in class antichess.GraphicUI1
- jSeparator3 - Variable in class antichess.GraphicUI1
- jTextArea1 - Variable in class antichess.GraphicUI1
K
- KING - Static variable in class antichess.CEvaluator
- KING - Static variable in class antichess.Evaluator
- KING - Static variable in class antichess.Piece
- Constant value for the piecetype King
- KNIGHT - Static variable in class antichess.CEvaluator
- KNIGHT - Static variable in class antichess.Evaluator
- KNIGHT - Static variable in class antichess.Piece
- Constant value for the pieceType Knight
- King - class antichess.King.
- This class contains the rules that apply to King.
- King(char, Board, int, int, int) - Constructor for class antichess.King
- Creates a new piece.
- Knight - class antichess.Knight.
- This class contains the rules that apply to Knight.
- Knight(char, Board, int, int, int) - Constructor for class antichess.Knight
- Creates a new piece.
- key - Variable in class antichess.HashEntry
- key - Variable in class antichess.HashKey
- key - Variable in class antichess.Zobrist
- kingInCheck(Board, int) - Static method in class antichess.Piece
- knight_pcsq - Static variable in class antichess.CEvaluator
- knight_pcsq - Static variable in class antichess.Evaluator
L
- LASTCOLOR - Static variable in class antichess.Piece
- Constant for last color index
- LASTPIECE - Static variable in class antichess.Piece
- Constant value for the last piece index
- labelList - Variable in class antichess.XChessBoard
- lastCol - Variable in class antichess.Move
- lastPieceMoved - Variable in class antichess.Board
- lastPieces - Variable in class antichess.Move
- lastRow - Variable in class antichess.Move
- last_col - Variable in class antichess.Piece
- last_row - Variable in class antichess.Piece
- letter - Variable in class antichess.Piece
- letterMargin - Variable in class antichess.XChessBoard
- level - Variable in class antichess.GameController
- level - Variable in class antichess.MachinePlayer
- linesToSortedList(String) - Method in class antichess.TestBetterEngine
- Converts a string of line into a List of sorted strings
- linesToSortedList(String) - Method in class antichess.TestCylinder
- Converts a string of line into a List of sorted strings
- linesToSortedList(String) - Method in class antichess.TestEvaluator
- Converts a string of line into a List of sorted strings
- linesToSortedList(String) - Method in class antichess.TestGameController
- Converts a string of line into a List of sorted strings
- linesToSortedList(String) - Method in class antichess.TestNewEngine
- Converts a string of line into a List of sorted strings
- linesToSortedList(String) - Method in class antichess.TestPiece
- Converts a string of line into a List of sorted strings
- linesToSortedList(String) - Method in class antichess.TestZobrist
- Converts a string of line into a List of sorted strings
- loadGame(List) - Method in class antichess.TextUI
- Loads a new game.
- loadOpenBook() - Method in class antichess.MachinePlayer
- For two player game, if there exists an openning book file for the board style,
initializes
boardTablewith this opening book - locationToString(int, int) - Method in class antichess.Move
M
- MACHINE - Static variable in class antichess.GameController
- This constant represents a machine player
- MASK - Static variable in class antichess.Move
- MAXCOL - Static variable in class antichess.Board
- Constant which holds the biggest possible row
- MAXDEPTH - Static variable in class antichess.BetterEngine
- MAXROW - Static variable in class antichess.Board
- Constant which holds the biggest possible row
- MESSAGE - Static variable in class antichess.GameMessage
- constant value for a general message
- MINCOL - Static variable in class antichess.Board
- Constant which holds the smallest possible row
- MINROW - Static variable in class antichess.Board
- Constant which holds the smallest possible row
- MOVE - Static variable in class antichess.GameMessage
- constant value for a move
- MachinePlayer - class antichess.MachinePlayer.
- MachinePlayer is the machine player for AChess Program.
- MachinePlayer(boolean, int, boolean) - Constructor for class antichess.MachinePlayer
- REQUIRED BY 6.170 Antichess Specification**
- MachinePlayer(boolean, int, String, boolean) - Constructor for class antichess.MachinePlayer
- REQUIRED BY 6.170 Antichess Specification**
- MachinePlayer(int, int, Board) - Constructor for class antichess.MachinePlayer
- Constructs a machineplayer from a given board.
- Move - class antichess.Move.
- A move consists of a start and destination location, and information about whether the move is a capture move, switch, en passant, a castling move, a pawn moving 2 squares, or a promotion.
- Move(String) - Constructor for class antichess.Move
- Creates a new move.
- Move(int, int, int, int) - Constructor for class antichess.Move
- Creates a new move from a string representation.
- Move(Move) - Constructor for class antichess.Move
- Creates a new move from a given move
- machinePlayer - Variable in class antichess.GameController
- main(String[]) - Static method in class antichess.GraphicUI1
- main(String[]) - Static method in class antichess.J4PlayerDialog
- main(String[]) - Static method in class antichess.TestAntichess
- main(String[]) - Static method in class antichess.TextUI
- main(String[]) - Static method in class antichess.TextUI2
- makeCaptureMove(Move) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- makeCaptureMove(Move) - Method in class antichess.Pawn
- Makes a capture move & checks if it is also a promotion.
- makeCaptureMove(Move) - Method in class antichess.Piece
- Makes a capture move
- makeEpMove(Move) - Method in class antichess.Pawn
- Makes an en passant capture
- makeGeneratedMove(Board, Move) - Static method in class antichess.Piece
- Makes a computer generated move.
- makeGeneratedMove(Move) - Method in class antichess.Piece
- Makes a computer generated move.
- makeMove(Move) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- makeMove(String, int, int) - Method in class antichess.MachinePlayer
- REQUIRED BY 6.170 Antichess Specification**
- makeMove(List) - Method in class antichess.MachinePlayer
- This is used in four player chess to update every machine player what some other player did, and to get the next move.
- makeMove(Board, Move) - Static method in class antichess.Piece
- Makes a given move on a board, modifying it, recomputing the validMoves.
- makeMove(Board, Move, List) - Static method in class antichess.Piece
- Makes a given move on a board, modifying it, without recomputing the validMoves.
- makeMove(Move) - Method in class antichess.Piece
- Makes a move, recomputing the validMoves, DEPRECATED: DO NOT USE.
- makeMove(Move, List) - Method in class antichess.Piece
- Makes a move, without recomputing the validMoves.
- makeMove(List) - Method in class antichess.TextUI
- MakeMove [move]: Perform the move specified by the String move, in the format specified in the MachinePlayer specification.
- makeNextMove() - Method in class antichess.TextUI
- MakeNextMove: If it is a computer player's turn, the system performs the move that GetNextMove would return.
- makeNormalMove(Move) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- makeNormalMove(Move) - Method in class antichess.Piece
- Makes a normal move
- makeOtherMove(Move) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- makeOtherMove(Move) - Method in class antichess.King
- Overrides makeOtherMove in Piece.
- makeOtherMove(Move) - Method in class antichess.Pawn
- Overrides Piece.makeOtherMove.
- makeOtherMove(Move) - Method in class antichess.Piece
- Makes a move that is unique to a particular piece.
- makePromoteMove(Move) - Method in class antichess.Pawn
- Makes a noncapture promotion
- makeQuies(Board, int, int, int, int) - Method in class antichess.BetterEngine
- Returns the quiescent seach value
- makeSwitchMove(Move) - Method in class antichess.EmptyPiece
- DOES NOTHING **DONT USE**
- makeSwitchMove(Move) - Method in class antichess.Piece
- Makes a switch move
- maxLastPieceMoved - Static variable in class antichess.Board
- maxPiecesModified - Static variable in class antichess.Move
- maxPlayers - Static variable in class ant