Welcome to "Battle Royale: Rock-Paper-Scissors", a real-time web application built with Node.js and Socket.IO! This application is a school assignment project that aims to provide a unique gaming experience that combines the classic game of Rock Paper Scissors with the thrilling concept of The Hunger Games.
Players can create or join rooms where they can chat with each other in real-time. The Game Master, the initial user who created the room, has the power to start a game session by selecting up to 5 players from the chat room. During some rounds, players will receive mystery power-ups such as a gun, shield, reverse card, revival card, and more to keep things interesting.
The winner of the first game becomes the next Game Master, and the first player to reach 3 wins becomes the ultimate winner, or Apex Predator. With an intuitive user interface and seamless real-time communication, this game provides a fun and exciting experience for players of all ages.
So, gather your friends, join a room, and get ready to compete in a game of strategy, luck, and survival. May the odds be ever in your favor!
This game offers the following features (for now):
Features 💅 | Status 🚀 |
---|---|
Chat with others | ✅ |
Enter chat with username | ✅ |
Create game room | ✅ |
Share game room key | ✅ |
Enter game room via key | ✅ |
Game master selects 1v1 victim | ✅ |
Play rock paper scissors | ✅ |
Use power-ups | ⌛ |
Restart game session | ✅ |
End game session | ✅ |
If you want to start working with us on this project, or if you just want to take a look at the code, and you have cloned this repo to your desktop, go to its root directory and run npm install
to install its dependencies.
Now that we are all on the same page, you can run the application with or without nodemon.
Running the application 'normally'
npm start
Running the application with nodemon
npm run start:dev
Both these prompts will give you access to the game site via localhost:9000/
. And That's it! Having trouble? Feel free to let us know by submitting an issue.
Learn more about and dive deeper into this project by reading the process documentation.
This project is licensed under the terms of the MIT license.