Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<AI.Move> |
GUI.curPosMoves |
Modifier and Type | Method and Description |
---|---|
static AI.Move |
AI.alphabeta(int depth,
int alpha,
int beta,
AI.Move curMove,
int player)
Implements MinMax algorithm with alpha beta pruning
|
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<AI.Move> |
AI.posMovesBishop(int pos,
boolean moved) |
static java.util.ArrayList<AI.Move> |
AI.posMovesKing(int pos,
boolean moved)
Possible moves for king
|
static java.util.ArrayList<AI.Move> |
AI.posMovesKnight(int pos,
boolean moved) |
static java.util.ArrayList<AI.Move> |
AI.posMovesPawn(int pos,
boolean moved) |
static java.util.ArrayList<AI.Move> |
AI.posMovesQueen(int pos,
boolean moved) |
static java.util.ArrayList<AI.Move> |
AI.posMovesRook(int pos,
boolean moved) |
static java.util.List<AI.Move> |
AI.possibleMoves(int index)
Generates all possible moves for current board.
|
Modifier and Type | Method and Description |
---|---|
static AI.Move |
AI.alphabeta(int depth,
int alpha,
int beta,
AI.Move curMove,
int player)
Implements MinMax algorithm with alpha beta pruning
|