webbben / code-duel

app that allows users to compete and race over solving leetcode-style coding challenges
https://code-duel-mu.vercel.app
0 stars 0 forks source link

implement vs gamemode #10

Closed webbben closed 8 months ago

webbben commented 10 months ago

once the basic code challenge workflow is working, implement the competitive game mode (vs).

in this game mode, users will be separately competing to solve the same problem under a time limit. the first user to submit a valid solution wins; if all but one user is finished solving the code challenge, the game ends and a summary (a la mariokart) shows displaying the order in which users completed the code challenge. So, if two users are playing, then once the first user finishes, the game ends.

Users will not be able to see each others' code solutions while in-game. They can however chat in a small chat window if they like.