Wordle Tester
Test your Wordle Solver Algorithm
/** * Generates a Wordle guess. * @param {string[]} dict - The list of valid words. * @param {object[]} guesses - The list of guesses * @param {string} guesses[].word - The submitted word. * @param {string} guesses[].score - The score. '+' means correct value, correct spot 'x' means incorrect value '/' means correct value, wrong spot * @return {string} the guess */ function guessWord(dict, guesses) { return dict[Math.floor(Math.random() * dict.length)]; }
Reset
Guess
Submit
Win Distributions
0/12973
0
0
1
0
2
0
3
0
4
0
5
0
6
0