An Elifoot-inspired sports management game, rebuilt for the browser. Pick a club, manage a squad, simulate a match — the genre that used to run on DOS and a bit of imagination.
Under the hood it’s one sport-agnostic backend (Express, Prisma, Supabase Postgres) built on Clean Architecture layering, with game rules — attributes, positions, squad validation, match simulation — living behind a single ISportRules interface. Football is the first sport plugged into it; adding a second is meant to mean writing a new rules implementation, not touching the API or database layer.
Match simulation weights and name pools live in the database rather than in code, so tuning how a match feels is a SQL update, not a redeploy.
The current build leads with an unauthenticated trial mode — create a team, allocate points, pick a lineup, and simulate a match against a generated CPU opponent, no sign-up required. Nothing persists yet; the authenticated, Postgres-backed squad management mode exists underneath and is the foundation for a future logged-in season mode.