Children today usually have a phone or tablet long before they have a laptop. So instead of asking “do you have a computer?”, I wrote a game-programming tutorial that runs where they already are: on Android, in Pydroid 3, with Pygame Zero.
It’s in German, because it was written for German-speaking kids: mohaqeq/pygame-zero-tutorial.
Why Pygame Zero
Pygame Zero removes almost all boilerplate. You define draw() and update(), and the framework runs the game loop.
A child’s first program draws something within minutes, which is what keeps them going. Touch input maps onto the mouse
events, so the same code works on a phone screen.
Two parts, thirteen games
Part 1: Basics, no images needed. Every game is drawn with shapes, so there are no assets to download or lose:
- Drawing shapes
- Understanding touch input
- Fang den Ball (catch the ball)
- A jumping box, like the Chrome dinosaur
- Flappy Box, like Flappy Bird
- Ping pong against the computer
- Breakout
- On-screen buttons for control
Part 2: Images and sound. Once the logic makes sense, sprites and sounds make it feel like a “real” game:
- Flappy Bird with images
- Collecting coins
- A space shooter
- Ping pong with effects
- Animations
How the material is built
- One idea per game. Each game adds one concept: coordinates, then input, then collision, gravity, a computer opponent, buttons.
- Games kids already know. Recreating a dinosaur jump or Flappy Bird gives them an immediate goal and a way to judge whether it works.
- Shapes before sprites. Part 1 needs no images at all, so nothing can go wrong with files on a phone.
- Short, readable code with German comments, meant to be typed in and changed, not just run.
If you know a German-speaking kid with a phone and some curiosity, the tutorial starts with
Tutorial_Teil1_Grundlagen.md.