|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectAI
public class AI
| Field Summary | |
|---|---|
static int |
length
|
static int |
origPlayer
|
| Constructor Summary | |
|---|---|
AI()
|
|
| Method Summary | |
|---|---|
static MyButton[] |
copier(MyButton[] bBoard)
|
static int |
count(MyButton[] bBoard,
int player)
|
static int |
evalu(MyButton[] board,
int player)
|
static int[] |
forwardCheck(MyButton[] bBoard,
int player,
int ply,
int spot,
int[] prune)
|
static int |
moveRestricter(MyButton[] bBoard,
int player)
|
static int |
onePlyPieceCounter(MyButton[] bBoard,
int player)
|
static int |
randomMove(int[] possible)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int origPlayer
public static int length
| Constructor Detail |
|---|
public AI()
| Method Detail |
|---|
public static int randomMove(int[] possible)
public static int moveRestricter(MyButton[] bBoard,
int player)
public static int onePlyPieceCounter(MyButton[] bBoard,
int player)
public static int[] forwardCheck(MyButton[] bBoard,
int player,
int ply,
int spot,
int[] prune)
public static int evalu(MyButton[] board,
int player)
public static MyButton[] copier(MyButton[] bBoard)
public static int count(MyButton[] bBoard,
int player)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||