Six complete games for pybevy, up to a 5,000-enemy horde by Daniel BellSix complete games for pybevy, up to a 5,000-enemy horde by Daniel Bell

Six complete games for pybevy, up to a 5,000-enemy horde

Portfolio project
Daniel Bell
The gap pybevy's examples covered individual features and simulations, but none showed a whole game: setup, input, game state, win and lose, restart. That's what new users actually need to copy from.
Survivors horde demo
What I built Six games, ordered by size:
Move the hero: a minimal moving-sprite starter for input and transforms.
Breakout: collisions, a game-state resource, a multi-label HUD, win and lose.
Tetris: a fixed grid of 200 sprites recoloured live, edge-triggered input, game logic in pure Python.
Survivors: a horde game with heavy spawn and despawn churn and NumPy-based collision. It holds 5,000 enemies at 120 fps on an M-series MacBook.
FPS arena: first-person movement, billboard enemies, a HUD over 3D, hitscan and one-shot audio.
Voxel builder: block breaking and placing with runtime entity churn and a Python ray-march.
FPS arena demo
Built to be tested Every game supports a deterministic self-play mode (BENCH=1) and a frame limit (PYBEVY_MAX_FRAMES=N), so CI can smoke-run all six without a keyboard.
Fixing, not working around The games use only the documented public API. Where I hit rough edges, I filed them as issues (#288, #289) and sent fixes upstream in PRs #290, #291 and #292.
Tech Python, pybevy (Bevy ECS), NumPy, headless CI. Assets generated in code where possible; three small CC0 assets from Kenney.
What this shows for clients Performance-minded Python, clean open-source contributions, and testing that runs without a human.
Links
Pull request (open, under review): https://github.com/pybevy/pybevy/pull/293
Related fixes: PRs #290, #291, #292 on pybevy/pybevy

0 likes · 0 views · Nov 27, 2026

An open-source contribution (pull request under review) adding six small, complete games to pybevy (Python on the Bevy engine), with headless CI smoke tests and upstream API fixes along the way.

Tags