Websites, apps & code / Building websites
Browser mini game
You want a small game that runs in a phone browser for kids or friends.
Fill in your details
Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).
Prompt
Build a small browser game. Game idea: Memory match: flip two matching fruit cards, win when all are matched Who will play: My 7-year-old daughter, Chinese interface, not too hard Type: Three levels (6, 12, 16 cards) and show the move count when finished. Requirements: 1. First ask me 3–5 questions you need answered, then list your plan (what you will and will not build, and any cost). Do not write code until I say OK. 2. Keep the rules simple: tell me in one sentence how it plays and only code after I agree. 3. Playable on a phone (large buttons, no accidental taps), works offline, scores saved only on this device. 4. No ads, no outside services, no data collected. 5. Include a mute button and default to no sound. 6. Make it a single HTML file. Never put passwords, API keys or bank details in the code; if something like that is needed, keep it in a .env file or environment variable and remind me not to upload or share it. 7. When done, tell me how to test it and how to change the difficulty. Output: the rules and plan first.
Paste it into ChatGPT, Gemini, Claude or Meta AI.
Test result
What we noticed
Five questions, one-sentence rules and a plan. The fruit list is my draft awaiting approval. No code written.
See what the AI actually wrote
Sure. Questions first, then the rules in one sentence; no code until you agree.
Questions
- Which fruits? My draft: apple, banana, orange, watermelon, grape, strawberry, pear, cherry (8 kinds, for up to 16 cards). OK?
- Is difficulty (6, 12 or 16 cards) chosen on the start screen?
- When two cards do not match, how many seconds before they flip back? For a 7-year-old I suggest 1.5 seconds.
- Draw fruits with emoji, or with colours and simple shapes? Emoji need no images but look a bit different on each phone.
- Should it remember the fewest steps? That would be stored on this device only.
The game in one sentence: Flip two cards; if the fruits match they stay up, if not they flip back, and when every pair is found you win and the screen tells you how many steps you used.
Plan
- Will build: one HTML file, no internet needed, playable on a phone (large cards with enough spacing to avoid mis-taps); a start screen with three big buttons for 6 / 12 / 16 cards; a finish screen showing steps and Play again; best score stored in the browser on this device.
- Sound: a mute button, silent by default.
- Will not build: ads, outside services, login, data collection. Cost RM0; no passwords or keys.
- Afterwards I will teach you how to test (open on phone and computer, play one game at each difficulty) and how to change difficulty (a setting at the top of the file, which I will mark).
If you agree with the rules, say OK and I will start.
AI tools that suit this
- Claude Suggested tool Free plan
Strong at long documents, editing and code
- ChatGPT Suggested tool Free plan
The most widely used AI chat, for writing, questions and images
- Bolt Suggested tool Free plan
AI web app builder in the browser
- Lovable Suggested tool Free plan
Build websites and apps by describing them
Recommendations only, not sponsored. Check each site for what the free plan includes.
This site is made by FullMark Tech
Want your own website, or your shop spreadsheets automated? FullMark Tech builds business websites and custom Excel tools.