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

fix #309 #311

Closed domino14 closed 8 months ago

domino14 commented 8 months ago

we still must check tidx but do so only right before using it so all the other logic in conversion function has a chance to execute.

We must check tidx because we have no other way of knowing when we're done with a play if all 7 tiles are used. Without checking it, we'd keep going down or across the board