What game design is
Game design is creating the rules, characters, levels and feel of a game. For a young coder, it means building real playable games, in Scratch at first and in Python later.
Because it is their game, learners care about fixing the bug. That motivation is hard to get any other way.
The game loop
Every game, from Pac-Man to Minecraft, runs the same loop many times a second:
- Input: check which keys are pressed or where the mouse is.
- Update: move the player and enemies, check for collisions, change the score.
- Draw: show everything in its new position.
while playing:
handle_input()
update_positions()
check_collisions()
draw_screen()
The Computer Science inside every game
| Game feature | Programming concept |
|---|---|
| Score, lives, speed | Variables |
| Game over when lives reach zero | Selection |
| The game loop | Iteration |
| Key presses and clicks | Events |
| Many enemies | Lists |
| Touching the star | Collision detection |
| High scores | File handling |
Design before you code
Before writing any code, answer four questions on paper: What can the player do? How do you score? How does the game end? What makes it harder over time? Learners who plan first get stuck far less often.
Which tools to use
- Scratch: best for beginners. Instant results and no syntax errors.
- Python with Pygame: the next step. Real code, real games, and great preparation for GCSE.

