3Blue1Brown

Solving Wordle using information theory

3Blue1Brown

Summary

The viral word game Wordle serves as an engaging example for exploring concepts in information theory, particularly entropy. The discussion centers around developing an algorithm, referred to as the Wordlebot, that plays the game optimally by leveraging mathematical principles. The objective of Wordle is to guess a five-letter word within six attempts, with feedback provided after each guess indicating correct letters and their positions.

The creator of the Wordlebot explains their approach, starting with analyzing letter frequencies in the English language to determine effective opening guesses. The algorithm calculates the expected information gained from each guess, aiming to maximize the reduction of possible words. The conversation delves into the mathematical underpinnings of entropy, illustrating how it measures both the uncertainty of outcomes and the information gained from observations.

Through iterations of the Wordlebot, the discussion reveals improvements in its performance, achieving an average score of approximately 3.6 guesses per game. The creator emphasizes the challenge of optimizing the algorithm further while considering common words and the inherent limitations of the game. Ultimately, the exploration of Wordle not only highlights the enjoyment of the game but also serves as a practical application of information theory principles.

Show Notes

Learn more about your ad choices. Visit megaphone.fm/adchoices

More from 3Blue1Brown

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

Dec 6, 2026

Learn more about your ad choices. Visit megaphone.fm/adchoices

See all episodes →