This is a super primitive assistant to help you solve Strands from New York Times
- Read words from
/usr/share/dict/words
- Build Trie
- BFS on each coordinate, only search when neighbor is not seen, and its letter can make up a word
How to cheat
$ curl 'https://www.nytimes.com/games-assets/strands/2024-04-09.json'
{
"printDate": "2024-04-09",
"id": 22,
"editor": "Joel Fagliano",
"spangram": "REDACTED",
"clue": "Can I have my quarter back?",
"startingBoard": [
"DYOBWO",
"TOLERC",
"NEPYTS",
"EANHAI",
"VMILRT",
"ARPTEA",
"APIOHN",
"TRPANT"
],
"solutions": [
...
],
"themeCoords": {
"SOLUTION": [
[0, 0],
...
],
...
}
}