How sharone-12/16-0-ipl-sim works
16-0 is a browser-based IPL fantasy drafting and season-simulation game, with franchise, multiplayer, and auction modes alongside its core solo flow. Players configure a run, draft and arrange an XI, then simulate a league and playoffs to view and share results. The README documents the leaderboard and verified-link capabilities; source excerpts also show multiplayer room/draft handoff and auction-room synchronization. Some subsystems are represented at their exact file paths but were not sampled, so their internal connections are not inferred.
Main entry points: simulation.js Season Simulator · auction-room.js Live Auction Room · script.js Game Setup · draft-franchise.js Franchise Draft
Components 19
Solo Game
- Game Setup
script.js - Mode Selection
modes.js - Standard Draft
draft.js - Franchise Draft
draft-franchise.js
Game Engines
- Franchise Season Pool
franchise_data.js - Calibrated Ratings
ipl_master_calibrated.csv - Player Name Mapping
mapped_names.csv - Season Simulator
simulation.js - Auction Lot Builder
auction_data.js
Multiplayer
- Multiplayer Players
- Room Lobby
lobby.js - Multiplayer Draft
draft-mp.js - Multiplayer Season
sim-mp.js - Live Auction Room
auction-room.js
Results and Services
- Global Leaderboard
leaderboard.html - Shared Result Viewer
r.js - Hosted Database
- Issue Reporting
report.js
Other components
- Player
Connections 20
- Player → Game Setup: configures
README.md - Game Setup → Standard Draft: opens draft
README.md - Game Setup → Mode Selection: selects mode
README.md - Mode Selection → Franchise Draft: starts franchise draft
- Standard Draft → Season Simulator: passes XI
README.md - Franchise Draft → Franchise Season Pool: builds season pool
draft-franchise.js - Franchise Draft → Season Simulator: hands off XI
draft-franchise.js - Season Simulator → Calibrated Ratings: loads ratings
simulation.js - Season Simulator → Global Leaderboard: submits results
README.md - Season Simulator → Shared Result Viewer: creates share link
README.md - Global Leaderboard → Hosted Database: reads rankings
README.md - Shared Result Viewer → Hosted Database: verifies result
README.md - Player → Issue Reporting: reports issue
- Multiplayer Players → Room Lobby: creates or joins room
lobby.js - Room Lobby → Hosted Database: syncs room state
lobby.js - Room Lobby → Multiplayer Draft: routes to draft
lobby.js - Multiplayer Draft → Multiplayer Season: starts season
- Live Auction Room → Hosted Database: syncs auction
auction-room.js - Live Auction Room → Auction Lot Builder: derives lots
auction-room.js - Live Auction Room → Multiplayer Season: starts simulation
auction-room.js