How mg-203/programmierworkshop-borg-mittersill works
This repository is a German programming-workshop example that teaches a Space Invaders game through seven increasingly capable, standalone Pygame scripts. The workflow progresses from displaying and moving a player to enemies, shooting, collision scoring, game-over/high-score handling, and animated explosions. The scripts are monolithic rather than layers of one shared application, so the graph treats each chapter as its own implementation. Source excerpts show the later gameplay and media references; earlier chapters are represented by their indexed files, without inferred links between chapters.
Main entry points: chapter_7/main.py Explosions · chapter_5/main.py Score And Audio · shot.mp3 Shot Sound · explosion.mp3 Explosion Sound
Components 13
Game Foundations
- Display Player
chapter_1/main.py - Move Player
chapter_2/main.py - Move Enemies
chapter_3/main.py
Gameplay Chapters
- Add Shooting
chapter_4/main.py - Score And Audio
chapter_5/main.py - Game Over
chapter_6/main.py - Explosions
chapter_7/main.py
Game Media
- Shot Sound
shot.mp3 - Explosion Sound
explosion.mp3 - Background Music
background.mp3 - Sprite Cutter
explosion/cut.py - Explosion Frames
explosion_frames
Other components
- Player
Connections 8
- Player → Explosions: sends input
chapter_7/main.py - Score And Audio → Shot Sound: plays on fire
chapter_5/main.py - Score And Audio → Explosion Sound: plays on hit
chapter_5/main.py - Explosions → Background Music: plays repeatedly
chapter_7/main.py - Explosions → Shot Sound: plays on fire
chapter_7/main.py - Explosions → Explosion Sound: plays on hit
chapter_7/main.py - Sprite Cutter → Explosion Frames: saves frames
explosion/cut.py - Explosions → Explosion Frames: loads frames
chapter_7/main.py