cz.nipax.hippo.pexeso
Class AI_snc

java.lang.Object
  extended by cz.nipax.hippo.pexeso.AI
      extended by cz.nipax.hippo.pexeso.AI_random
          extended by cz.nipax.hippo.pexeso.AI_forgetting
              extended by cz.nipax.hippo.pexeso.AI_normal
                  extended by cz.nipax.hippo.pexeso.AI_enhanced
                      extended by cz.nipax.hippo.pexeso.AI_snc

public class AI_snc
extends AI_enhanced

Inteligence without any handicap. And in second turn with random tryes to reveal allready known piece to not provide any profit to opponent. Well in fact this is most advanced AI but the result isn't very good :-)


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_snc(Playground pg)
          Simple constructor
 
Method Summary
 java.lang.String getname()
          Get name of AI
protected  void second_random_move()
          Creates one random move, but only on card, that hasn't been revealed yet.
 
Methods inherited from class cz.nipax.hippo.pexeso.AI_enhanced
random_move
 
Methods inherited from class cz.nipax.hippo.pexeso.AI_normal
try_turn
 
Methods inherited from class cz.nipax.hippo.pexeso.AI_forgetting
first_random_move, first_turn, ivalidate, onturn, revealed, second_turn, thread_turn
 
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

AI_snc

public AI_snc(Playground pg)
Simple constructor

Method Detail

getname

public java.lang.String getname()
Get name of AI

Overrides:
getname in class AI_enhanced
Returns:
string with name

second_random_move

protected void second_random_move()
Creates one random move, but only on card, that hasn't been revealed yet.

Overrides:
second_random_move in class AI_forgetting