I'm currently programming an AI for the game called Lines of Action. As I was looking into how to optimize my program, I learned about alpha-beta pruning, which I have implemented, and I now am looking to implement a transposition table. I have implemented the Zobrist hashing part, but I am not sure how I should store the hash key and the corresponding value object that is meant to store the depth, best move, flag, and score. I think I should be using a hash table or an array, but I am not sure how this should be done …
↧