NYT Spelling Bee Solver

1 min read

Background

My girlfriend started playing the NYT Spelling Bee game (along with all the others). I decided it would be fun to try to write a solver that would print out potential solutions in order of how many points each would give you.

I grabbed an extensive wordlist with 344,812 entries. This would produce a good amount of false positives, but these aren’t penalized by the game. After my first draft, I realized that I didn’t do enough research and learned that words using all of the tiles gained an extra 7 points. This was added next. After this I realized that it would be useful to send the output to a file so I created an -f flag that would send the possible solutions to a file prefixed with the day’s date.

Repository

The code can be found at:

Next Counter