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
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
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 like this
Build a Word Scramble Puzzle Game with Hints, Categories and Streaks in HTML
A prompt that produces a single-file word scramble game with themed categories, paid letter hints, streak bonuses, and both typing and tile-tapping controls.
Build a Color Sequence Memory Game with Synth Tones in One HTML File
A ready-to-paste prompt that builds Echo Garden, a four-pad color-and-shape sequence memory game with Web Audio tones, a strict mode and rising speed.
Build a Four-Lane Rhythm Tap Game with a Generated Beat in One HTML File
A ready-to-paste prompt that builds a complete four-lane rhythm tap game with a live Web Audio beat, Perfect/Good/Miss timing grades, combo scoring and a results screen.
Build a Garden Caterpillar Snake Game with Swipe and Wrap Mode in HTML
A prompt that produces Leafline, an original snake-style game where a caterpillar eats garden leaves, with swipe controls, buffered turns, wrap mode and a speed slider.
Build a Gnome-Popping Whack-a-Mole Game With Decoys in One HTML File
A ready-to-paste prompt that makes an AI build Gnome Pop Garden, a fast whack-a-mole style tapping game with speed that ramps up, hedgehog decoys that cost points, and number-key controls.
Build a One-Button Fox Endless Runner Game in a Single HTML File
A ready-to-paste prompt that produces Ember Fox Dash, a polished one-button forest runner with coyote-time jumps, fair obstacle spacing, rising speed and synthesized sound.