T20 Arena
A realtime multiplayer auction simulator built to replicate the IPL auction experience.
T20 Arena
Realtime multiplayer IPL auction simulator.
Context
T20 Arena is a realtime interactive web application designed to simulate cricket player auctions. It allows multiple users to join a room and bid concurrently on players in real-time.
Most simple auction simulators suffer from severe synchronization issues during concurrent bidding, leading to invalid states and a disjointed user experience.
Execution
- 01Tested with approximately 50 real users
- 02Highest observed concurrent session: ~13–15 users
- 03Server-authoritative bidding logic
Architecture Flow
Deep Dive
Engineering Decisions
I decided to push the core bidding logic down into PostgreSQL RPC functions rather than a Node.js server. This guarantees that all bids are processed atomically at the database level, preventing race conditions.
Challenges Overcome
Beyond the backend synchronization, building the frontend was a significant challenge. I had to iterate heavily on the auction interface to maintain a game-like feel while ensuring the complex UI adapted cleanly from small mobile screens up to large desktops.