HOME PROJECTS ABOUT
piman.dev | Wordle

Wordle

A look into how wordle chooses words

Created 1/26/2022

What is Wordle?

Wordle is a daily word-guessing created by powerlanguage

To learn about how to play Wordle, use the link below

Link here

Selecting the target word

Wordlists

Wordle uses 2 wordlists to select words from:

The primary wordlist (2317 words) is the list of possible target words

The secondary wordlist (10657 words) is the list of other possible guess words

Within the js bundle, these are referred to as La and Ta, respectively

The Algorithm

Wordle selects the daily word based on difference in time with May 19th, 2021

The algorithm is as follows:

1. Get the difference in days between the current time and 2021-05-19T00:00:00

2. Set K to the difference mod the length of the primary wordlist

3. Choose the word at position K in the primary wordlist

Downloads

Primary Wordlist
Secondary Wordlist