|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBlatt6.Player
Blatt6.AlphaBetaPlayer
AlphaBeta-Player
| Constructor Summary | |
AlphaBetaPlayer(GamePanel game,
int player,
javax.swing.JLabel status)
|
|
| Method Summary | |
boolean |
canBe4(int col,
int row,
int player)
|
int |
evaluateGame()
|
int |
is2(int col,
int row,
int player)
|
int |
is3(int col,
int row,
int player)
|
int |
is4(int col,
int row,
int player)
|
void |
play()
|
void |
setGame(GamePanel game,
int playerNr)
|
void |
sleep(int time)
|
java.lang.String |
toString()
|
| Methods inherited from class Blatt6.Player |
getName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AlphaBetaPlayer(GamePanel game,
int player,
javax.swing.JLabel status)
| Method Detail |
public void play()
play in class Playerpublic void sleep(int time)
public int evaluateGame()
public boolean canBe4(int col,
int row,
int player)
public int is4(int col,
int row,
int player)
public int is3(int col,
int row,
int player)
public int is2(int col,
int row,
int player)
public java.lang.String toString()
toString in class Player
public void setGame(GamePanel game,
int playerNr)
setGame in class Player
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||