Technical · How it is built
Built in Rust,
run on Bevy.
The match and the world both run without a screen, and both are checked against real football. The interface comes last.
- Rust
- Language
- Bevy
- Engine
- Headless
- By design
01 / Why Rust and Bevy
Many players, many matches.
Tuning the game means playing thousands of matches, each one a simulation of twenty-two players.
- Rust
Fast and strict
Quick enough to play thousands of matches, with no garbage collector pausing it, and strict enough to keep the code honest as it grows.
- Bevy
Data and rules
An entity component system: data on one side, the rules that act on it on the other. A new mechanic is a new rule, and a new area of the game is a new plugin.
- Pinned
One version
We stay on one version of Bevy and only move it on purpose.
02 / Small parts
One job each.
A match is separate from a world, and a world is separate from a screen. Dependencies run one way.
- The match
- Twenty-two players and a ball in continuous 2D space. It takes a setup and returns a report, and it knows nothing about the world.
- The world
- Calendar, clubs, players, people, money and contracts. It runs without a window and plays its matches through the match simulation.
- Viewers and benchmarks
- They read from the engine and never write to it. One draws a match, the other plays thousands and compares them with real football.
- The application
- Puts the pieces together and opens the window.
03 / Decisions
What we chose, and what it cost.
-
The match stands alone
It takes a setup and returns a report, and never touches world data. That costs a copy of the players each match. In return we can test it, tune it and replace it on its own.
-
Same seed, same match
All randomness comes from one seed, so any match can be replayed exactly. That makes bugs reproducible and tests exact.
-
The world moves on dated events
Nothing runs every day. State changes on matchdays, at season end, at the youth intake. Jumping a year and stepping through it day by day end in the same world.
-
New things are new kinds
Money entries, contract terms, goals and history records are open sets. A later feature adds a kind and leaves the earlier ones alone.
The development list
Follow the build.
In development, with no release date yet. One email when there is something real to show: a playable build, a devlog, or a date. Nothing else.
One email when there is something real to show. Your address is kept only for that. Read the privacy note.