That&#x27;s interesting, as you say it sounds like magic. I will have a look at the paper when I get a chance. No doubt there is some amazing tree data structures involved. That&#x27;s what chess endgame tablebases use, but it&#x27;s not something I pretend to understand.