I'm writing an othello engine. What I need now is to create an endgame repository. my program is able to play a perfect game when there are 24 plies left and I want my program to store the position and its payoff so it can be fetched for future reference. I think this will make my program stronger and will prevent it to be defeated twice the same way.
What I need is a very basic implementation of an indexed record file that allows to quickly retrieve and store positions. No deletions required. Can anybody please refer to a source for this or share your thoughts on this approach. (that includes how to store positions)