Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
A tranposition table made out of a Python dictionnary.
It can only be used on games which have a method
game.ttentry() -> string, or tuple

Usage:
    
    >>> table = DicTT()  
    >>> ai = Negamax(8, scoring, tt = table) # boosted Negamax !
    >>> ai(some_game) # computes a move, fills the table
    >>> table.to_file('saved_tt.data') # maybe save for later ?(more...)

src/e/a/easyAI-0.0.0.4/easyAI/__init__.py   easyAI(Download)
from .TwoPlayersGame import TwoPlayersGame
from .Player import Human_Player, AI_Player
from .AI import Negamax, DictTT, id_solve, df_solve
 

src/e/a/easyAI-HEAD/easyAI/__init__.py   easyAI(Download)
from .TwoPlayersGame import TwoPlayersGame
from .Player import Human_Player, AI_Player
from .AI import Negamax, DictTT, id_solve, df_solve