Inspiration

We were inspired by the competitive nature of Mario Kart and the teaching opportunity of Leetcode.

What it does

Code Royal lets you log in to a kahoot-like session with other players. Above is a timer where you must complete the shown coding problem in time. By your side are power ups that can let you have a leg up against other players. Submit your code and make sure they pass all test cases. If you do well enough, you can advance to the next round. Otherwise, you'll get eliminated.

How we built it

We built the backend using flask and the frontend using react.

Challenges we ran into

Making sure the timer was synced across all players was difficult.

Accomplishments that we're proud of

Our game loop works end to end. We have a decent set of power ups to work with. Our timer ended up being in sync in time for the submission.

What we learned

We learned aboe web sockets and how to use them. They were useful to get frontend to communicate with frontend, which was needed for the power ups to work.

What's next for Code Royale

More powerups, more problems, a pay to win strategy?

Share this project:

Updates