Same inputs can reproduce the same path when a regression needs to be isolated.
UNDER THE HOOD
THE MATH BEHIND
THE MATCH.
Eleven great cards are only the starting point.
TEAM MODEL
A TEAM IS A SYSTEM, NOT A SUM.
Quality is only the baseline. The engine evaluates how the XI works together.
Pick a variable.
Start with the version that actually played.
A card represents one player at one World Cup. That tournament version is the baseline, instead of compressing an entire career into one number.
POSITION
A GREAT PLAYER IN THE WRONG ROLE SHOULD COST YOU.
A player’s quality depends on where you use them. Out of position, less of that quality is usable.
ERA TRANSLATION
1970 → 2026 IS NOT THE SAME AS 2026 → 1970.
Era changes the environment around a player. Translating forward and backward are different problems.
MANAGER
CHANGE THE MANAGER. CHANGE THE TEAM.
The same XI can play differently under a different manager. Tactics, balance and game management reshape how the team behaves.
MATCH ENGINE
RANDOM, BUT REPRODUCIBLE.
Football needs uncertainty. The engine still needs to be reproducible. A seed gives it both.
Same seed. Same sequence.
MATCH STATE
THE NEXT EVENT DEPENDS ON WHAT IS TRUE RIGHT NOW.
The match keeps changing after kickoff. Score, time, shots, xG, cards, fatigue and substitutions reshape what matters next.
At 20', the match is still open. Score and time shape what the engine values next.
A stronger side can move the probabilities. It never gets promised a win.
BENCH
THE BENCH CHANGES WITH THE MATCH.
The right substitute changes with the match. Score, time, fatigue, fit and manager behavior determine what the bench needs to solve next.
TESTING
IF THE MODEL CHANGES, THE TESTS SHOULD CATCH IT.
Reproducible simulation makes regressions easier to isolate. Historical data is validated before release, with Vitest and Playwright covering simulation, tournament progression and product integrity.
Duplicate identities, unsupported records and asset mismatches are caught before release.
Vitest and Playwright cover the engine, progression and product integrity.
DELIVERY
FAST MATH STILL NEEDS A FAST PRODUCT.
The game runs in Next.js and TypeScript. Player assets move through S3 and CloudFront, while Vercel and Cloudflare handle the product around the simulator.
THE IDEA
BUILD THE BETTER XI. GET THE BETTER CHANCE. NOT A GUARANTEED WIN.
Draft, roles, manager, era and bench change the match.
Better teams get better odds. They do not get guaranteed wins.
A seed can reproduce the same simulation path.
ENOUGH THEORY
BUILD AN XI.
Then see if the model agrees with you.
START DRAFT