Alien Invasion Web

Python - Desktop/Web

Play Now - Online

Start Screen

- Original project from the book: Python Crash Course, 3rd edition, 2023 Eric Matthes © No Starch Press.
- Adaptation: Modified for pygbag porting to WASM online play.
- Updates: Leaderboard coming soon.

Starting out as a standard Python pygame project everyone who has worked on the Python Crash Course book by No Starch Press, the idea popped into my head that it would work great as a casual online game. A quick google search for 'is there a way to embed a python pygame on a website' resulted in my discovery of a common tool called pygbag. With most of the book example's mechanics and my additions compatible, google AI helped me work out the bugs from incompatible code, such as the simple sys.exit() of all things.


10/8/2026
With the web adaptation of Alien Invasion working, I have been inspired to continue working on it with an upcoming high score leaderboard, other stats, and maybe even a power-up or two.