Build a Daily Five-Letter Word Guessing Game with Colorblind Mode in One HTML File

A ready-to-paste prompt that produces Quillmark, an original daily five-letter word game with correct duplicate-letter coloring, an on-screen keyboard and a colorblind mode.

You getone complete HTML file in a single code block, then 3 short ideas to extend it.

The prompt

Prompt
Act as a senior front-end developer and word-game designer. Build Quillmark, an original daily five-letter word guessing game with an ink-and-parchment night theme: deep navy background, cream text, sea-teal for correct letters, brass for misplaced letters and slate for absent ones. The player has six guesses to find a hidden word. After each guess, the tiles flip to show feedback.

Rules:
1. Score guesses in two passes so duplicate letters are colored correctly. Mark exact matches first, then mark misplaced letters only while unused copies remain in the answer.
2. Include an on-screen QWERTY keyboard with Enter and Delete keys, plus physical keyboard support. Each key keeps the best color it has earned.
3. Use built-in word lists: at least 150 answer words and a larger list of valid guesses. Reject unknown words or short guesses with a row shake and a status message.
4. Pick the daily word from today's date. Add a Random button for practice and keep session stats (wins and streak) in memory only.
5. Add a Colorblind toggle that switches to orange and blue and adds shape markers (dot and triangle) to tiles and keys.
6. Synthesize soft tones with the Web Audio API after the first input, and show a visible mute button. Skip flip and shake animations under prefers-reduced-motion. Fit widths from 360 to 1280px and announce status messages through aria-live.

Use no external files, storage or network calls.

Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.

Example output

One HTML file. Save it and open it in any browser.Open full screen

Example: Quillmark, a daily five-letter word hunt with ink-and-brass styling.

Type on your keyboard or tap the on-screen keys, then press Enter. Teal means the right letter in the right spot, brass means the letter is in the word but in the wrong spot, and slate means it is not in the word. Try guessing a word with a repeated letter to see the duplicate scoring in action. Switch on Colorblind for orange and blue tiles with shape markers, use Random for unlimited practice, and use the sound button to mute.

Written by AI from this prompt. Your results will vary.

Tips and common edits

Why this works

  • The prompt spells out two-pass scoring, so repeated letters like the two Ps in APPLE get colored correctly instead of double-counted.
  • Built-in word lists plus a date-based daily pick mean the game works offline without storage or a server.
  • The colorblind mode adds shape markers as well as new colors, so the feedback never depends on hue alone.

Paste the prompt into ChatGPT, Claude or Gemini. Save the returned code as quillmark.html and open it in any browser, or run it directly in the chat's preview or canvas panel.

Common edits

  • Swap the palette and name for a new theme, such as forest greens or a neon arcade look, while keeping the colorblind markers.
  • Make it harder with a hard-mode rule that requires revealed hints in later guesses, or change the word length and guess count.

Prompt details

By
Prompts-GPT editors
Published

Did this prompt work?

Keep exploring

More in Simple HTML Games