This is a fully functional Wordle® clone written in vanilla JavaScript. It uses a local, client-side copy of the Official Scrabble® Players Dictionary slimmed down to 5-letter words only, leaving 8636 words, a bit over 3x the official list. As this exposes many lesser-used words, and a free API to an unabridged dictionary was not available at the time of this writing, the endgame screen offers a link to the Wiktionary entry of the game's current word, which is successful most-if-not-all of the time. Statistics are saved to a firebase database.
- Login user
- Random word selection
- Gameboard and keyboard generation
- Binary search for valid entry on each guess
- Evaluate guess and apply colors to DOM
- Check for win condition and update DOM
- Update statistics in localstorage and firebase if online