4 ms·
Where does this scrabble5.txt come from? I’ve been looking at the system words file for this type of exploration, but that has an awful lot of words that make n
by Tabular-Iceberg 4y ago
Where does this scrabble5.txt come from? I’ve been looking at the system words file for this type of exploration, but that has an awful lot of words that make no sense to put in a word game.
- furyofantares 4y agoHere's the target list I use in Xordle, inherited from hello-wordl: https://raw.githubusercontent.com/6zs/xordle/main/src/fives_targets.json https://raw.githubusercontent.com/6zs/xordle/main/src/fives_... And here's the dictionary: https://raw.githubusercontent.com/6zs/xordle/main/src/fives_dictionary.json https://raw.githubusercontent.com/6zs/xordle/main/src/fives_... The targets list is the one you want, it's the valid answers. The dictionary is the valid guesses. In the targets list, some words are starred out, just ignore them, those are words that got removed. The list is ordered and you can pick a spot in the list and ignore everything below it; for Xordle (and again inherited from hello-wordl) "mulch" is the last word used in the list.
- gabrielsroka 4y agoThere are two arrays in the Wordle JavaScript. One is a list of valid answers, the other is a list of other words you can guess but aren't valid answers. You can view source and pull them both out. My code does this for you and allows you to use regular expressions: https://news.ycombinator.com/item?id=30653322 https://news.ycombinator.com/item?id=30653322 There are also lists of Scrabble words; I use one called enable.
- bee_rider 4y agoIs this still the case after the NYT purchase?
- gabrielsroka 4y agoYes, my code still works.
- ziml77 4y agoI was surprised when NYT's wordle bot linked me to the solution list (alphabetically sorted) https://static.nytimes.com/newsgraphics/2022/01/25/wordle-solver/assets/solutions.txt https://static.nytimes.com/newsgraphics/2022/01/25/wordle-so...