Skip to content

Add Japanese Wordle mode - #27

Open
Copilot wants to merge 2 commits into
mainfrom
copilot/add-japanese-wordle
Open

Add Japanese Wordle mode#27
Copilot wants to merge 2 commits into
mainfrom
copilot/add-japanese-wordle

Conversation

Copilot AI commented Aug 11, 2026

Copy link
Copy Markdown

Summary

Adds a Japanese version of the Wordle game alongside the existing English one.

  • New Japanese word bank (JAPANESE_WORDS in src/data.js) with 15 common 5-hiragana-character words.
  • Language switcher in the header (English / 日本語) that resets the game on toggle.
  • Guess validation and labels adapt per language (A-Z regex for English, hiragana Unicode range \u3040-\u309F for Japanese).
  • Existing checkGuess logic works unchanged since it operates on split characters.

Testing

  • npm run build succeeds.
  • npx eslint src/ passes with no errors.
  • Verified dev server (npm run dev) serves the app correctly.

- Add a Japanese hiragana word bank (5-character words) alongside the
  existing English word list.
- Add a language switcher in the header to toggle between English and
  Japanese, resetting the game when the language changes.
- Update guess validation/labels per language (A-Z regex for English,
  hiragana Unicode range for Japanese).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI reopened this Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants