You would need to do a full search, finding a reply to every possible opponent move. The point of having TBs beyond WDL is exactly to avoid that search.Dann Corbit wrote: ↑Tue May 22, 2018 5:55 am Probably ignorant on my part, but could it be possible to pass in the current game state to the EGTB reader method of a DTM file?
It would then have knowledge of the visited positions and the half move clock.
Instead of a simple lookup, it would require a search.
I don't see why it would not work, but probably it is just my lack of vision in understanding how these files really work.
The current DTZ50+ tables are essentially perfect in that they tell the program whether it can win without exceeding the 50-move rule or not. No wins are tossed, and a search is not needed. (And if you don't care about the 50-move rule, they still contain enough information about cursed positions to guide you to a win.)
Of course even DTZ50+ tables can fail if the game history includes two instances of a position with lower DTZ than the current position. If the engine is in charge, it can always avoid that situation.