~/projects / arena-duel
test case 01accepted
Arena Duel
Real-time competitive coding with Elo-based matchmaking
July 2024 · Personal ProjectSolo
// the problem
Practicing competitive programming solo is static: solve a problem, read the verdict, move on. There's no pressure, no opponent, and no real read on where you actually stand against someone else's clock.
// how it works
Redis powers the matchmaking queue for fast pairing, while Judge0 runs sandboxed code compilation in Docker. PostgreSQL and Prisma persist accounts, match history, leaderboard data, and Elo changes, with NextAuth handling authentication.
// key features
- ✓Elo-based matchmaking queue
- ✓Live head-to-head problem solving
- ✓Judge0-backed real-time verdicts for both players
- ✓Persistent match history and rating progression
- ✓Marathon mode with a live leaderboard