Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
antichess.Move

Uses of Move in antichess
 

Fields in antichess declared as Move
private  Move MachinePlayer.assumedOpponentMove
           
private  Move HumanPlayer.move
           
private  Move HashEntry.bestMove
           
private  Move GameMessage.move
           
 Move BetterEngine.foundMove
          If searchFinished is true, foundMove is a good move, check if it is valid WILL BE SET BY BETTER ENGINE
 Move BetterEngine.secondMove
          If searchFinished is true, secondMove is a good move for opponent, check if it is valid WILL BE SET BY BETTER ENGINE
 

Methods in antichess that return Move
static Move NewEngine.negaMax(Board board, int depth, int nextTurn)
          Standard NegaMax algorithm, entrance method (for the root node)
board Board to make a search on
depth Depth of seach
nextTurn next player to move
static Move NewEngine.randomMove(Board board, int player)
          Returns a random move from the valid moves of the player
static Move NewEngine.alphaBeta(Board board, int depth, int nextTurn, int alphaIN, int betaIN)
          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
static Move NewEngine.alphaBetaHash(Board board, java.util.Map boardTable, int depth, int nextTurn, int alphaIN, int betaIN)
          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
 Move HumanPlayer.getMove()
          Returns move, if move is not null (ie a move is selected by UI) this method sets the myTurn false.
 Move HashEntry.getBestMove()
           
 Move GameMessage.getMove()
          Returns move
 Move BetterEngine.alphaBetaHash(int depth, int nextTurn, int alphaIN, int betaIN, int doneDepth)
          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
 

Methods in antichess with parameters of type Move
 void Queen.undoOtherMove(Move move)
          Undos a queen promotion move
 void Queen.undoCaptureMove(Move move)
           
static boolean Piece.isValidMove(Board b, Move move, int color)
          Checks if a move is legal given a board and the color to move.
static boolean Piece.makeMove(Board b, Move m)
          Makes a given move on a board, modifying it, recomputing the validMoves.
static boolean Piece.makeMove(Board b, Move m, java.util.List validMoves)
          Makes a given move on a board, modifying it, without recomputing the validMoves.
 void Piece.makeMove(Move m)
          Makes a move, recomputing the validMoves, DEPRECATED: DO NOT USE.
 void Piece.makeMove(Move m, java.util.List validMoves)
          Makes a move, without recomputing the validMoves.
static void Piece.makeGeneratedMove(Board b, Move move)
          Makes a computer generated move.
 void Piece.makeGeneratedMove(Move move)
          Makes a computer generated move.
 void Piece.makeOtherMove(Move move)
          Makes a move that is unique to a particular piece.
 void Piece.undoOtherMove(Move move)
          Undos a move that is unique to a particular piece.
private  void Piece.makeNormalMove(Move move)
          Makes a normal move
private  void Piece.undoNormalMove(Move move)
          Undos a normal move
private  void Piece.makeSwitchMove(Move move)
          Makes a switch move
private  void Piece.undoSwitchMove(Move move)
          Undo a switch move
 void Piece.makeCaptureMove(Move move)
          Makes a capture move
 void Piece.undoCaptureMove(Move move)
          Undos a capture move
static void Piece.undoMove(Board b, Move move)
          Undos a move.
 void Pawn.makeOtherMove(Move move)
          Overrides Piece.makeOtherMove.
 void Pawn.undoOtherMove(Move move)
          Overrides Piece.undoOtherMove
private  void Pawn.makeEpMove(Move move)
          Makes an en passant capture
private  void Pawn.undoEpMove(Move move)
          Undos en passant Move
private  void Pawn.makePromoteMove(Move move)
          Makes a noncapture promotion
 void Pawn.makeCaptureMove(Move move)
          Makes a capture move & checks if it is also a promotion.
 void Pawn.undoCaptureMove(Move move)
          undos a normal pawn capture move /* * Overrides Piece.undoCaptureMove.
 void Move.copyFrom(Move m)
          Copy values from a given Move
 boolean Move.equals(Move m)
           
 void HumanPlayer.setMove(Move move)
          Sets move, if it is myTurn.
 void King.makeOtherMove(Move move)
          Overrides makeOtherMove in Piece.
 void King.undoOtherMove(Move move)
          Overrides undoOtherMove in Piece.
 void EmptyPiece.makeCaptureMove(Move move)
           DOES NOTHING **DONT USE**
private  void EmptyPiece.makeSwitchMove(Move move)
           DOES NOTHING **DONT USE**
 void EmptyPiece.makeOtherMove(Move move)
           DOES NOTHING **DONT USE**
private  void EmptyPiece.makeNormalMove(Move move)
           DOES NOTHING **DONT USE**
 void EmptyPiece.makeMove(Move move)
           DOES NOTHING **DONT USE**
 boolean EmptyPiece.isValidMove(Move move)
           DOES NOTHING **DONT USE**
 

Constructors in antichess with parameters of type Move
Move(Move m)
          Creates a new move from a given move
HashEntry(long key, Move bestMove, int type, int val, int depth)
           
GameMessage(Move move, int color)
          Constructs a message of a GameMessage.MOVE type Holds information about the actual move and the color making move