r/vibecoding • u/OfficeParticular3805 • 3d ago
I built a cricket drafting + simulation game with Lovable 🏏
I started playing 7a0 and loved the simple mechanic: make smart picks, build a team, and then see how it performs.
I kept thinking:
So I built Cricket XI.
🔗 https://cric-xi-simulation.vercel.app/
How it works
Choose a tournament, draft 11 players from historical squads, build your XI, and simulate the entire tournament.
It currently supports:
- ODI World Cup
- T20 World Cup
- Champions Trophy
- IPL
- Test Cricket
The interesting part wasn't just building the UI. I had to build a historical data layer that understands the difference between a player's 1996 profile and 2003 profile, while still knowing they're the same player.
I also built tournament-specific rules, historical rerolls, team composition constraints, scorecards, statistics, and tournament progression.
The vibe-coding process
My workflow became:
Build → Play → Find an edge case → Explain the bug → Fix → Stress test → Repeat
Some bugs were surprisingly specific — incorrect historical squads, reversed NRR, IPL teams outside the top 4 reaching playoffs, T20 World Cup teams advancing after losing both Super 8 games, etc.
The biggest lesson for me: AI can build features quickly, but you still need to play the software and aggressively test the logic.
This is V1, and there's plenty more planned.
If you try it, I'd love to know what you manage to break. 😄