https://github.com/lelserslasers/newyorktimeswordgamehelpers
A tool to help solve the word games on The New York Times website (Wordle and Spelling Bee)!
https://github.com/lelserslasers/newyorktimeswordgamehelpers
helper newyorktimes solver spelling-bee word-game wordle
Last synced: 4 months ago
JSON representation
A tool to help solve the word games on The New York Times website (Wordle and Spelling Bee)!
- Host: GitHub
- URL: https://github.com/lelserslasers/newyorktimeswordgamehelpers
- Owner: LelsersLasers
- Created: 2022-05-24T18:48:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T18:32:28.000Z (over 2 years ago)
- Last Synced: 2025-03-26T12:35:57.643Z (7 months ago)
- Topics: helper, newyorktimes, solver, spelling-bee, word-game, wordle
- Language: Python
- Homepage: https://lelserslasers.itch.io/ny-times-word-game-helpers
- Size: 5.61 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# New York Times Word Game Helpers
CLI tools that helps you solve the word games on [The New York Times website](https://www.nytimes.com/crosswords)!
## Wordle
This tool works with [The New York Times offical Wordle](https://www.nytimes.com/games/wordle/index.html) but many other wordles as well such as [this one](http://lelserslasers.pythonanywhere.com/wordle/).
It works with any size wordle, as long as the standard rules for the game apply (like how the yellow, green, etc, letters are scored).
There are two versions of the tool available:
1) wordle.py - this one is very good and quick, but sometimes it will over prioritize getting the correct word rather than guaranteeing that it will get the word within 6 guesses
2) wordle2.py - this might not work at all, and takes like 2 decades to run. It tries to maximize the entropy of a guess, but the end game strat is kinda bad
Example of using the tool to solve the offical Wordle in 2 guesses for 5/25/22:

A more "reasonable" example of the tool solving offical Wordle in 4 guesses for 5/28/22:

The tool works on any site that uses the normal Wordle rules for the green/yellow/dark letters (site: )

It also works on any sized wordle (site: )

## `wordle_solver`
Multithreaded brute-force Rust implementation that looks for the best starting word.
It is fairly slow and it runs in O(n^3) time.
It has no end game strat and only works for the the first word.
Successor to `wordle2.py`.
### `wordle_solver` output
```
Top 20 best starting words based on the common words
Worst to best, ranked based on expected bits of information
riles - 6.03
hares - 6.04
teals - 6.05
roles - 6.06
rites - 6.07
mares - 6.08
races - 6.08
reals - 6.09
lanes - 6.11
soare - 6.11
saner - 6.12
pares - 6.15
dares - 6.17
tires - 6.18
tries - 6.19
tears - 6.19
cares - 6.20
tales - 6.21
rates - 6.28
tares - 6.38
Top 20 best starting words based on all the words
Worst to best, ranked based on expected bits of information
riles - 5.91
rites - 5.92
treas - 5.92
aloes - 5.94
slate - 5.94
lanes - 5.95
roles - 5.96
pares - 5.97
teals - 5.99
cares - 5.99
saner - 5.99
dares - 5.99
tries - 6.00
soare - 6.01
reals - 6.01
tires - 6.02
tears - 6.06
tales - 6.10
rates - 6.12
tares - 6.21
```
## Spelling Bee
This tool works with [The New York Times offical Spelling Bee](https://www.nytimes.com/puzzles/spelling-bee) or any games that use similar rules for guessing words.
To run: simply run spellingbee.py!
Note: no screenshots because to fully solve a daily spelling bee you need to subscribe to the New York Times.