Inspiration

LeetCode and another similar website BinarySearch which shut down and was a multiplayer version of LeetCode

What it does

A small demo presenting a concept of how multiplayer leetcode could work and how you can compete against other players

How we built it

We built it using a React.JS frontend which contained an online VS Code like editor and used RESTful API to communicate with a backend, as well as Websockets to communicate between clients for chat messages.

Challenges we ran into

It was difficult being able to create an authentication system and create multiple questions and support multiple languages within the 12 hour time frame

Accomplishments that we're proud of

The ability to send chat messages and view chat history, to compile python code which is checked against test cases and the output is returned to the player

What we learned

How to execute code of another language within a different language and communicate using websockets

What's next for Multiplayer LeetCode

To add the ability to view more questions, more test cases, an authentication system, an actual game room system, and more languages to support using Docker

Share this project:

Updates