Back to projects




Game Dev
Rust Head Soccer
A 2D Head Soccer game with solo and 1v1 modes, bots at multiple difficulty levels, configurable controls, scoring, leaderboard and match history.

Context
Rust game project focused on 2D gameplay, simple physics, scene management and local persistence.
Role
Built the game loop, scenes, collisions, match rules, settings, saves and AI.
Stack
RustMacroquad
Architecture
Rust modules separating app, gameplay, game, input, settings, leaderboard, physics and AI, with JSON serialization through serde.
Key features
- Solo and 1v1 modes with 1, 2 or 3 minute matches.
- Ball physics, gravity, bounces, collisions, double jump and shooting.
- Configurable controls, forbidden keys, leaderboard and history.
Learnings
- Structure a Rust game with Macroquad.
- Make match rules deterministic and understandable.
- Persist settings and statistics without a database.
Gallery



