Inspiration

As a cs undergrad, we know there is a need to grind leetcode in order to perform well on technical interviews. We also understand that doing leetcode for hours is mind numbing (at least to most people). Making leetcode fun and exciting would be a good way (we personally think) to convince students and young professionals to stay on top of their interview prep/technical skills.

What it does

Gamified version of LeetCode, with competition between friends facilitating learning.

How we built it

We used Node.js for our backend and simple html files for our frontend, used Judge0 api to have a built in ide, utilized the Fish AI api to generate taunts, and websocket to handle real time multiplayer.

Challenges we ran into

Honestly three out of the four of us have never dine a hackathon, all being sophomores without too much experience, just figuring out how to work together and put together the project was really hard. The most difficult part of it was starting but otherwise I think that getting real time multiplayer to work was hard. Setting up single player leetcode was much simpler comparatively.

Accomplishments that we're proud of

Honestly didn't expect to have a working basic product that doesn't look terrible, being our first hackathon we already exceeded our own expectations.

What we learned

We learned basic HTML and Javascript in CS400 this semester but actually applying it on this scale forced us to learn a lot. Being forced to apply websocket to implement multiplayer helped us understand the project structure of making a multi user platform. Most of us also haven't really use apis before so learning Judge0 and Fish Audio definitely gave us more tools in the future.

What's next for LeetBattles

We think that it is actually a strong idea, and that there is definitely a clientele or group os users interested in our product. If we can figure out how to host the website more effectively, update the question pool, and introduce a rank/elo concept or points system similar to chess.com or geoguesser, LeetBattles could actually be a pretty cool website.

Built With

Share this project:

Updates