Play at wooordle.webpro.nl
Local development:
pnpm wooordleLocal development:
pnpm advice:server
pnpm advice:client- Go to localhost:5173 for web UI
- Or send image to
http://localhost:8080/api/advice
Example requests:
curl -X POST http://localhost:8080/api/advice -H "Content-Type: multipart/form-data" -F "image=@./samples/wordle.jpeg"
curl -X POST http://localhost:8080/api/advice -H "Content-Type: multipart/form-data" -F "image=@./samples/woordle.jpeg"
curl -X POST http://localhost:8080/api/advice -H "Content-Type: multipart/form-data" -F "image=@./samples/wooordle.jpeg"Example response:
{
"analysisResult": {
"guesses": [
{
"word": "salet",
"result": [1, 0, 0, 0, 2]
}
],
"wordLength": 5,
"detectedLanguages": ["nl", "en"],
"bestWords": {
"nl": ["worst", "borst", "dorst", "korst", "vorst"],
"en": ["foist", "joist", "moist", "hoist", "worst"]
}
}
}Example using an iPhone Shortcut (actived by "Double Back Tap"):
wordle-advice.mp4
Use Node.js v24:
node packages/core/src/simulations/solve-random-word.tsOther available simulations:
node packages/core/src/simulations/find-best-words.ts
node packages/core/src/simulations/find-possible-words.ts- Runs 2315 games with English 5-letter words
- Dutch and 6-letter word lists are also available
- Dimitris Bertsimas and Alex Paskov
- Article: An Exact and Interpretable Solution to Wordle
- Optimal Wordle
- Average: 3.42
- Martin Konicek
- Article: Solving Wordle with Python
- GitHub: https://github.com/mkonicek/wordle
- Average: 3.556-3.769
- Lars Kappert
- GitHub: ./strategies/find-best-words.ts
- Average: 3.60