ALTR
All projects
Wordle

Play Wordle in a terminal or a desktop app. A solver shows the best next guess and tells you why. A website explains how it works.

Updated: 14 November 2026Written with AI assistance
  • desktop app
  • tui
  • website
  • statistics
  • Built with
  • rust
  • gpui
  • python
  • next.js
  • fastapi

Contents
  1. What it is
  2. The desktop app
  3. Encoding and precompute
  4. What the solver found
  5. The website
  6. More ways in

What it is

A Wordle you can play, a solver that tells you the best next guess and why, and the tools to turn both into articles and videos. It is the newer version of wordle-but-statistics, my old project on letter statistics and guessing strategies, rebuilt with LLM coding agents.

Every game can be replayed: a random game shows its seed, and ends with the command to play it again, so a take can be recorded twice the same way.

The desktop app

The main way to play is a native window written in Rust with gpui, the UI framework behind the Zed editor. The board and keyboard sit on the left, and the Solver panel on the right.

The Wordle desktop app after a win: the guesses RAISE, CHESS, BLESS and GUESS on the board, the on-screen keyboard below, and the Solver panel on the right with its settings, one candidate left (GUESS) and its best guess

  • The Solver panel ranks guesses by Expected Information (bits, as in 3Blue1Brown’s video) or by Expected Candidates (how many words are likely left). You choose which words it may guess and whether it only tries words that could still be the answer: eight strategies in all.
  • The Path lists every guess of the game; click one to see the panel as it was at that step.
  • Solver mode helps with a Wordle played somewhere else: type your guesses and click in their colours.
  • Precompute fills the files the solver reads (see below), with a progress view, a log and a Stop button.

Encoding and precompute

  • Feedback as one byte: the five marks (grey 0, yellow 1, green 2) are read as a base-3 number, so each of the 243 possible feedbacks fits in one uint8. Every guess against every answer is scored once and saved as a numpy .npy matrix (34 MB for the full Guess List).
  • Guess counts: every opener plays a full game against all 2,315 answers under each strategy. In Python this was estimated at 9 to 35 hours; in Rust it comes to about 26 minutes, with the same files byte for byte.

What the solver found

Played over all 2,315 answers, the best openers need about 3.43–3.47 guesses on average. When the solver may guess any word, the best openers win every game; when it only guesses words that could still be the answer, a handful of games take more than six tries.

StrategyBest openerAverage guessesLosses
Expected Information, any word in the Guess Listtarse3.4290
Expected Information, any Answer List wordslate3.4540
Expected Information, candidates onlyslate3.5297

Opener Distribution on the website: every opener as one block, stacked by its average guess count from about 3.43 to 4.1, with cards for SALET (3.432), CRANE (3.437) and FUZZY (3.984)

The website

A Next.js and FastAPI site with a series of eleven articles, in English and Thai, that explain the solver step by step with interactive widgets: a feedback scorer, a step-through game, opener rankings and a zoomable Answer × Answer feedback matrix. Its Explore pages let you poke at the data directly.

Opener Split shows how one opener splits the 2,315 answers into groups by the colours they would get back:

Opener Split for SALET: 148 groups, the largest 221 words, 5.83 bits of Expected Information, then the words of each group under its coloured tiles, biggest group first

Follow an Answer plays the solver’s game for one answer and shows the words still possible after each guess:

Follow an Answer for WATCH: TARSE leaves 32 words, CLIFT 5, ABAMP 2, HATCH 1, and WATCH wins on guess 5

More ways in

  • Terminal game: the first version, in Python with Rich, with menus, a coloured board and keyboard, and a 🟩🟨⬛ share grid.
  • Video: a Slidev deck and ManimGX animations for a Thai YouTube video of the series.

Wordle was created by Josh Wardle and is now owned by The New York Times. This project isn’t affiliated with either.