Lesson 4 — Make the Game Yours
Turn your first mini game into a safer V2 by changing one thing at a time. Output: my-first-mini-game-v2.html — a free, parent-guided lesson.
- ✓One safe copy of the original V1
- ✓One V2 file
- ✓One small change at a time
- ✓A tested, playable version
- ✓Saved as my-first-mini-game-v2.html
The key rules
Lesson path
- •Change the character name
- •Change the background color
- •Change the goal message
- •Make the game a little easier
- •Make the game a little harder
- •Add a clearer win message
- •Improve the reset button text
Prompt cards
Copy-friendly prompts for a parent-approved AI assistant. When copying prompts, use ideas, not secrets.
Help me choose one small beginner-friendly change for my mini game. The game should stay simple: one character, one goal, and one simple rule. Do not ask for personal information.
Here is my one-file HTML game. Please help me make only this one change: [describe one change]. Keep everything in one HTML file. Do not add external libraries, accounts, uploads, or online features.
Explain the difference between my V1 game and my V2 game in simple words. Focus only on what changed.
My V2 game broke after one change. Help me find the problem. Keep the fix simple and keep it as one HTML file.
- Keep the original
my-first-mini-game.html(this is V1). - Duplicate the file.
- Rename the duplicate
my-first-mini-game-v2.html. - Edit only the V2 file.
- Test after every change.
- If V2 breaks, go back to V1 or undo the last change.
- ✓V1 file is still safe
- ✓V2 file opens
- ✓The game still starts
- ✓The one chosen change is visible
- ✓The main rule still works
- ✓The win/score/message still works
- ✓Reset still works
- ✓No private information is included
- ✓No upload/account/online feature was added
- I changed too many thingsGo back to V1 (or undo) and make just one change at a time, testing after each.
- V2 brokeUse Prompt 4 to find the problem, or go back to V1 and try a smaller change.
- I lost my V1 fileThat is why we keep a safe copy. If V1 is gone, you can rebuild it from Lesson 3.
- AI added extra featuresAsk the AI to remove the extras and make only the one change you asked for.
- AI split the project into several filesAsk the AI to put all the HTML, CSS, and JavaScript back into one single HTML file.
- The change made the game confusingUndo it. Keep the game tiny — one character, one goal, one simple rule.
- The game became too hardAsk the AI to make it a little easier, keeping the same one rule.
- AI asked for private detailsDo not share them. Say: “Use made-up, general ideas only. Do not ask for personal information.”
You kept your V1 safe, changed one thing at a time, and tested as you went — that's how real projects improve without breaking.
Next: Lesson 5 — Create an Interactive Story →