public class Ratings
extends java.lang.Object
Constructor and Description |
---|
Ratings() |
Modifier and Type | Method and Description |
---|---|
static int |
attackPoints(int player)
Rates the attacking moves
|
static int |
movePoints(int player,
int list,
int depth)
Rates the ability to move around int he board
|
static int |
moveRating(int player,
int depth,
int list)
Generates rating for a Move
|
static int |
numPoints(int player)
Rates the amount of material on the board.
|
static int |
positionPoints(int player)
Rates the overall position of pieces in the board
|
public static int moveRating(int player, int depth, int list)
player
- - current playerdepth
- - the depthlist
- - number of moves availablepublic static int attackPoints(int player)
player
- public static int positionPoints(int player)
player
- public static int movePoints(int player, int list, int depth)
player
- list
- depth
- public static int numPoints(int player)
player
-