Battlecodes is a real-time multiplayer game inspired by Codewars, where players race against each other to solve code challenges.
Players can either host a new game and choose the challenge, or they can join an existing 'open' game. The first player to submit a correct solution wins the round!
Syntax highlighting during gameplay
- Express.js
- Socket.io
- Sass
- Zombie.js
- Mocha / Chai / Sinon
- User accounts
- Timer to track best times
- Leaderboard
- Time penalty for incorrect submissions
- More than 2 players in a game
- Cheat detection
- Host public or private games
- League / reviews
- Node (and npm)
- Clone this repository
cd
into it- Run
npm install
- Run
npm start
to start the server locally - Visit http://localhost:3000
- Run
npm test
As a coding student
So I can decide what to improve on
I would like to pick a coding challenge
As a coding student
So I can have fun while learning to code
I want to invite a friend to play
As a coding student
So I can play a fair game
I want to start the game in sync with my opponent
As a coding student
So I can play a fair game
I want instructions to only appear when the game starts
As a coding student
So I can focus on the game
I want to write code in the browser
As a coding student
So I can check my solution
I want to submit my solution and see the result
As a coding student
So I can win a game
I want a winner declared when a correct solution is submitted
As a coding student
So I can correct my solution
I want submit a solution to see details of tests results if any failed
As a coding student
So I can play a game with suspense
I want to see my opponent’s progress