domino14 / macondo

A crossword board game AI, written in Go
https://domino14.github.io/macondo
GNU General Public License v3.0
48 stars 10 forks source link

bestbot does not look deeply enough sometimes #326

Open domino14 opened 5 months ago

domino14 commented 5 months ago

https://woogles.io/game/zgT5xg4P

It solved the endgame wrong here. It solves it correctly if plies is set to 5 but we have a hacky formula that sets it to 4:

        endgamePlies = unseen + int(p.Game.RackFor(p.Game.PlayerOnTurn()).NumTiles())

We should come up with a better formula or stopping condition