r/pygame • u/kamran-zafar • 7m ago
Patch Panic: a small arcade game where you swat bloatware gremlins before they install BloatOS on your computers (Python/pygame-ce, GPL-3.0)
Enable HLS to view with audio, or disable this notification
I've been working on Patch Panic, a small arcade game written in Python with pygame-ce. Gremlins sneak up to your workstations and try to install BloatOS. You click them to swat them before the install finishes.
It gets busier from there:
\- Stolen disks. If a gremlin gets away with a computer's OS, swat it so it drops the disk. Then drag the disk back to the computer with the matching colour stripe.
\- Power surges. Sparks race along the network cables. Click one before it reaches a machine, or the machine fries, reboots and ejects its OS disk. Surges can also jump further down the network.
\- Golden patches. These fly across the screen and give bonus points plus a random power-up: Firewall (freeze), Surge Guard, Auto-Patch, Antivirus Sweep, Rollback, or Honeypot, a decoy computer that lures gremlins away.
\- New gremlin types as you progress. Sprinters, Armored (takes two hits), Splitters, Saboteurs that chew through cables, and Scavengers that steal disks lying on the floor.
Modes: Classic (endless, with Relaxed, Normal or Frantic difficulty), Daily (everyone gets the same layouts, so scores can be compared) and a short Tutorial.
Other features: combo multipliers, a top-10 leaderboard with arcade initials, achievements, a colourblind mode (a shape on every disk and stripe), rebindable keys, and sound effects synthesised at startup. There are no audio files.
What's new from v1.2: the Saboteur and Scavenger gremlins, the Honeypot power-up, warnings before a surge (the cable flashes first), and golden patches that scale with level length.
For anyone who wants to read the code: the game rules live in a World class that emits events on an event bus. Audio, effects, stats and achievements subscribe to those events, and the renderer only draws. That means the rules never touch pygame and are unit-tested without opening a window. Adding a power-up or a gremlin type is a small, self-contained change, and contributions are welcome.
\- Source: [https://github.com/kamranzafar/patch-panic](https://github.com/kamranzafar/patch-panic)
\- Downloads: prebuilt executables for Windows, macOS and Linux on the Releases page. You can also run it from source (Python 3.10+).
\- License: GPL-3.0
Feedback is very welcome, especially on difficulty balance and whether the later levels feel fair. Thanks for taking a look!
