A minimal, self-contained Wordle-like game built with HTML, CSS, and JavaScript. The target words are loaded from words.json (solutions only). Guesses are validated against a dictionary API.
- 5x6 board rendering
- Keyboard input (physical and on-screen)
- Dictionary validation via free API (dictionaryapi.dev) with caching; falls back to allowing any 5-letter word when offline
- Colors tiles: green (correct), yellow (present), gray (absent)
- Simple status messages
Two options:
- Open
index.htmldirectly (file://). The game will load a built-in fallback target list ifwords.jsoncan't be fetched. - Or run a local server if you want to use
words.jsonas a separate file:
# Option A: Python 3
python3 -m http.server 5173
# Option B: Node (if you have serve installed)
npx serve -l 5173Then open:
http://localhost:5173
- Animations (flip, shake, pop)
- Daily puzzle seed
- Share results grid
- Mobile polish and accessibility labels
- Tests for evaluation logic