Wordle Solution Finder

Here is the wordle solution generator for any given day. Pick a date in the date picker and you’ll have the correct wordle word solution.

Wordle XXX 1/6 🟩🟩🟩🟩🟩

Wordle Answer :

Now, this kind of ruins the game, so bookmark this and only come here when you’re on your last try and ain’t got no clue what the word is!

Play the game : https://www.powerlanguage.co.uk/wordle/

How it works

Obviously, before even playing, I first took a look at the source code that is publicly available. To my disappointment, this is a joke when looking at the code. I’m flabbergasted at the idea of someone paying that much for this. Took me less than a minute to figure out the answer and to find the algorithm behind the solution. You will find below a wordle solver for any day, in the future or the past.

Obviously, it’s time-based. The base-line date (probably the initial release date is 2021 June 19th new Date(2021, 5, 19, 0, 0, 0, 0). Subtract that from the current date and divide by the number of milliseconds in a day ( 1000 * 60 * 60 *24 = 86 400 000 ) and you get the index value of the solution.

In the source code, you find the La variable that contains all the randomized 5 letter words that can be the solution. The solution is the word at that index in the array.

A simplified version of the code:

var La = [... array of words ...]

var solution = La[Math.round((new Date() - new Date(2021, 5, 19, 0, 0, 0, 0))/86400000)]

To make this more secure, you need a backend layer to the stack. The backend would be responsible for checking the submitted data and validating the results. Or at least encrypt the data… btoa ?? 😂

Note that this works at the time of writing this but I hope with that kind of investment, this will eventually be upgraded and made a bit more secure. At that point, the above generator will most likely be deprecated.

Cheers!

Algorithm in the front-end JS
Words Data Container visible in the source code as well.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.