Skip to content

DMHSWebDev/helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Clone (Phase 1)

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.

Features in Phase 1

  • 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

Run locally

Two options:

  • Open index.html directly (file://). The game will load a built-in fallback target list if words.json can't be fetched.
  • Or run a local server if you want to use words.json as a separate file:
# Option A: Python 3
python3 -m http.server 5173

# Option B: Node (if you have serve installed)
npx serve -l 5173

Then open:

http://localhost:5173

Next phases ideas

  • Animations (flip, shake, pop)
  • Daily puzzle seed
  • Share results grid
  • Mobile polish and accessibility labels
  • Tests for evaluation logic

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published