About the Project
Auction Premier League (APL) is a real-time multiplayer cricket manager game. It allows users to host draft rooms, bid on 64 superstar cricketers under a tight salary cap, manage franchise budgets, and actively coach T20 simulated matches ball-by-ball.
The game supports two playstyles simultaneously: players can either manually bid on players or use an on-demand AI simulation to auto-draft a balanced 25-man roster and jump straight into the tournament matches.
### Technical Implementation
* Real-Time Synchronisation: Built with event-driven WebSockets (`wss://`) to handle lobby management, multiplayer bidding, and match state updates instantly without polling.
* Modern Frontend: Built using React 19 and Vite for fast HMR, styled with Tailwind CSS for a responsive, premium dark-theme dashboard.
* Dynamic Data Viz: Integrates Recharts for real-time visual representation of franchise squad limits, budgets, and role balance (batsmen vs. bowlers vs. all-rounders).
* Zero-Asset Audio Synthesis: Utilises the browser's native Web Audio API (sine-wave oscillators) to generate sound effects dynamically, keeping the bundle size minimal.
* Game Engine Logic: Developed a T20 simulation engine that calculates ball-by-ball matches based on player statistics, batsman risk choices, and bowler tactics, feeding a live IPL-style Points Table.
### Key Features
*Multiplayer Lobby:** Join rooms, select real-life franchises, and play alongside other managers or AI bot backups.
*Roster Management:** Real-time player injuries, salary refunds, and emergency signings from the unsold player pool.
*Interactive Coaching:** Make critical calls on every ball—choose batting intensity (Block, Lofted, Attack) or bowling delivery types (Yorkers, Bouncers) and field layouts.
*Multi-Season Campaign:** Progress through seasons, retain key players, and bid in Mini-Auctions.
Built with