Cricket Manager
Decision 6 of 13

Event-source the auction

One decision from Cricket Manager, which asks: How do you make a simulated cricketer behave like the real one — and how would you know if you had failed?


The auction core is deterministic and event-sourced: bids are processed as an ordered event log rather than by mutating shared state. For a live room where several people bid within the same second, the log is the truth — replayable, auditable, and impossible to disagree about after the fact.

It carries the real mechanics rather than an abstraction of them: retentions before the open market, RTM cards, the capped, uncapped and overseas categories, and a hard budget cap so every rupee spent on one player is one you cannot spend on the next. Stress-tested with 8-bidder race scenarios.

Your opinion

Would you have decided this differently?

Where do you stand?

What gets published. I read every opinion and publish substantive ones, including those that disagree with me, as a scroll on this page. I may add a reply. I leave out spam, abuse and anything off-topic, so please include only what you’d be happy to see in public.

Where it goes. I keep your opinion, your stance and, if you allow it, your name in a database run by Neon. I don’t ask for your email or store your IP address, but Netlify, which hosts this site, may log it when it handles your request. To have yours removed, email pkrishna@vaulthai.health. A published opinion is removed from the site, though it can remain in my site’s version history.

Next