Clash of Codes is a real-time 1v1 competitive coding battle web app built using the MERN stack. Players face off against each other to solve coding problems, with the first to submit a correct solution declared the winner. The platform is designed to provide an intense, fast-paced coding experience where problem-solving skills and speed determine victory.
1v1 Code Battles – Players compete in real-time to solve coding challenges.
Live Code Execution – Submissions are evaluated instantly to determine correctness.
WebSocket-Powered Gameplay – Real-time interactions powered by Socket.io.
Diverse Problem Set – A collection of problems ranging in difficulty, with automated test cases.
Timer & Leaderboard – Optional timers for added pressure and competitive ranking.
User Authentication – Secure login/signup system.
Matchmaking System – Players can either challenge friends or be matched with random opponents.
Frontend: React.js
Backend: Node.js, Express.js
Database: MongoDB
Real-Time Communication: Socket.io
Players join a queue or invite a friend for a 1v1 coding battle.
A coding problem is assigned to both players simultaneously.
Players write and submit their solutions in real-time.
The system evaluates submissions against predefined test cases.
The first player to submit a correct solution wins the battle.