|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcz.nipax.hippo.pexeso.AI
cz.nipax.hippo.pexeso.AI_random
cz.nipax.hippo.pexeso.AI_forgetting
cz.nipax.hippo.pexeso.AI_normal
public class AI_normal
Implementation of "classic" inteligence. In fact it is same as forgetting, but doesn't use the function with forgetting :-)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cz.nipax.hippo.pexeso.AI_forgetting |
|---|
AI_forgetting.Piece |
| Field Summary |
|---|
| Fields inherited from class cz.nipax.hippo.pexeso.AI_forgetting |
|---|
m_field, m_lastID, m_turn, m_x, m_y, my_turn |
| Fields inherited from class cz.nipax.hippo.pexeso.AI |
|---|
DEBUG, m_killed, m_pg, MOVESLEEP |
| Constructor Summary | |
|---|---|
AI_normal(Playground pg)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getname()
Get name of AI |
protected boolean |
try_turn(int x,
int y)
Just removed random moves around |
| Methods inherited from class cz.nipax.hippo.pexeso.AI_forgetting |
|---|
first_random_move, first_turn, ivalidate, onturn, revealed, second_random_move, second_turn, thread_turn |
| Methods inherited from class cz.nipax.hippo.pexeso.AI_random |
|---|
random_move |
| Methods inherited from class cz.nipax.hippo.pexeso.AI |
|---|
kill, println, setSleep, userinput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AI_normal(Playground pg)
| Method Detail |
|---|
public java.lang.String getname()
getname in class AI_forgetting
protected boolean try_turn(int x,
int y)
try_turn in class AI_forgettingx - coordinate of wanted movey - coordinate of wanted move
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||