Using the same words.json from Wordleverse, randomly shuffle the words. The shuffled words list should be the same based on the day (seed the randomness with the current date). Then using a recursive backtracking algorithm to find the words.
[x] Random shuffle words (using current date as seed)
[x] Use first word as first word
[x] Filter words with their 2nd letter being the same as the 4th letter in the first word, use first
[x] Same process for third word
[x] Same process for fourth, however the list can only have words where the 2nd letter matches the 2nd letter in the 1st word and the 4th letter matches the 2nd letter in the 3rd word.
If there aren't any words that match the criteria, backtrack, move to next word, and repeat
Using the same
words.json
fromWordleverse
, randomly shuffle the words. The shuffled words list should be the same based on the day (seed the randomness with the current date). Then using a recursive backtracking algorithm to find the words.If there aren't any words that match the criteria, backtrack, move to next word, and repeat