Inspiration

We realized there's a gap for a platform that enables real-time coding competitions with peers around the globe. While platforms like LeetCode offer weekly and biweekly contests, they don’t provide one-on-one coding battles against opponents with similar rankings for fair competition. We believe this approach would make learning programming more engaging, creating a competitive atmosphere that drives skill growth without discouraging learners through mismatched levels.

What it does

Launch the application and enter the IP address and port number. One player clicks "Host" to host the game, while the other clicks "Connect" to join. The host player clicks "Start" to begin the game and fetch a random question. Both players will see the same question and code template. Write your code in the editor. You can see your opponent's progress in real time. Click "Submit Code" when you're ready to test your solution. View the test results in the report area at the bottom of the screen.

How we built it

Frontend: PyQt5 (GUI application) Backend: Flask (API) Database: SQLite (for questions and users) Languages: Python

What's next for SpeedCode

Create a leaderboard display in the GUI Implement a timer for each coding session Add support for multiple programming languages Implement difficulty levels for questions Expand the question database and categories

Built With

Share this project:

Updates