Websites, apps & code / Coding & debugging
Make a tiny game to learn loops and ifs
You want to learn coding but tutorials bore you, so you want to learn by building a game.
1Fill in your details
Leave blank to use the example. Names are remembered for other prompts too (stored only on your device).
3Copy the prompt
I want to learn coding by making a small game. Please be my teacher, using Python. The game: A number guessing game where the computer picks 1 to 100 and says too high or too low What I know now: Only print and variables, nothing about if or loops Pace: Add one new concept at a time and let me try changing it before the next step. Please: 1. First tell me which concepts the game uses, explained with everyday examples. 2. Lead me through it at the pace above and, after each block of code, say what each line does. 3. When I get something wrong, do not hand over the answer; ask what error I am seeing first. 4. When done, give me three features I can add myself, such as limiting guesses or keeping score, from easy to harder. 5. Avoid anything needing extra packages; I want only the basics for now. Keep each reply short enough that I can read it and try it straight away. [Make it sound human] - Explain in plain words; no pleasantry openers or empty summaries. - Only necessary, short, practical code comments; the simplest working approach, no over-engineering. - Interface text (buttons, hints, error messages) should sound like a person wrote it; no "seamless", "empower", "unlock". [Quality] Code must run as is and handle common errors; tell me how to test it and confirm it works; ask first if a requirement is unclear; never put passwords or API keys in the code.
Paste it into ChatGPT, Gemini, Claude or Meta AI.
Test result
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
- Gemini Suggested tool Free plan
Google's AI; generates and edits images, works with Gmail and Docs
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.