Live data from Hacker News

3Blue1Brown: The mathematically optimal Wordle strategy

youtube.com

11–14 of 14 posts

Re: 3Blue1Brown: The mathematically optimal Wordle strategy

#12
post #6

At 17:05 he shows two possibilities left, ABBAS and ABYSS. In the actual implementation of Wordle, ABYSS is the only remaining possibility. (I recommend his videos to my students, who love them!) I don't know anyone who has actually read the Wordle JavaScript, but there are two word lists. The first list consists of more familiar words, ordered by date to provide secret words for each day. The second list consists of…

> resetting the computer clock to a new day

Or just modify the JavaScript. It's uses the date as an index into the La array, modulo the length, which is 2315.

I used Chrome DevTools to pretty print the source code, it's on line 1156.

Re: 3Blue1Brown: The mathematically optimal Wordle strategy

#13
post #6

At 17:05 he shows two possibilities left, ABBAS and ABYSS. In the actual implementation of Wordle, ABYSS is the only remaining possibility. (I recommend his videos to my students, who love them!) I don't know anyone who has actually read the Wordle JavaScript, but there are two word lists. The first list consists of more familiar words, ordered by date to provide secret words for each day. The second list consists of…

The 3Blue1Brown video considers using the second list to be cheating, so that is probably the reason for a different optimal first guess. It takes a more general approach to figuring out which words are probably on the list, using a sigma distribution on top of the list of most common english words. (Notably, Grant admits at 19:59 that the parameters for this sigma distribution are a shot in the dark.)

This way, the bot can be used to play wordle against any adversary and not just the original game, since every valid word (1st list) can be guessed.

Re: 3Blue1Brown: The mathematically optimal Wordle strategy

#14
post #4

Earlier quoted context omitted.

He's generally using his own tool called 'manim'. All of his code/animations are open-source. The code for this specific video can be found here: https://github.com/3b1b/videos/blob/master/_2022/wordle.py

Amazing! So he does not have a visual user interface? This is Python, right?

As far as I know, that is correct!
Post reply on HN