Package | Description |
---|---|
chessBall | |
chessBall.ai |
Modifier and Type | Method and Description |
---|---|
AtMove |
AtMove.change() |
static AtMove |
AtMove.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AtMove[] |
AtMove.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean[][] |
AI.canGoArea(int[][] level,
int x,
int y,
AtMove eAtMove)
returns a 2 dimensional boolean array
true = the figure on position x|y can move on that field false = the figure on position x|y can't move on that field |
int[][] |
AI.getSafeArray(int[][] level,
AtMove eAtMove)
returns an 2 dimensional int array
is the value == 0 then the field isnt safed by another figure is the value > 0 field is safed by another figure value == 30000 safed by bishop or knight value == 90000 safed by queen value == 50000 safed by rook value == 10000 safed by pawn |
abstract java.util.ArrayList<ChessBallAIMove> |
AI.think(int[][] level,
AtMove eAtMove)
the MAIN method, will be called to start the ai
|