We created an online version of the social Mafia game for The MongoDB Atlas Hackathon!

Overview of My Submission

I have always been a huge fan of the Mafia game, and it’s one of my favourite games to play with family and friends.
Usually we play in a 5 or 6 players setting, that means that one player needs to be the game maste…


This content originally appeared on DEV Community and was authored by that-one-arab

Overview of My Submission

I have always been a huge fan of the Mafia game, and it's one of my favourite games to play with family and friends.
Usually we play in a 5 or 6 players setting, that means that one player needs to be the game master so they can manage
and coordinate the game for the other players.
One day I got an idea, why not make the whole process automated, without the need for a game master, so the extra player could join in the game?
And so we did!
Let me introduce you to Mafia, the online multiplayer Mafia based game. Built using React, Node.js, Express, socket.io and MongoDB!
One player creates a room and the other players can join the same room, after the agreed on amount of players join the game would start and the rest is automated for you to experience the best Mafia game!
It features a total of 11 roles, with 7 being Town roles, and 4 being Mafia roles. An algorithm assigns teams and roles automatically by detecting the amount of players, while
still making sure the roles and teams assignments are random every game
The game manages the day discussions, voting and night cycles for you, and gives you feedback on the actions you choose.
The minimum players limit is 4 and while there is no max limit, we recommend 16 as to not experience issues with the game's server 🥵.
The game is mobile-first responsive to ensure a solid and error-free experience on portable devices.
What are you waiting for? Get some friends, then start playing immediately by visiting this link! 😄

Submission Category:

Choose Your Own Adventure

Link to Code

Github

Additional Resources / Info

Main Menu

Create Game

Lobby

Mafia Killed

Player died

Results

Stack:

  • ReactJS - A frontend library/framework for building UI
  • NodeJS - A javascript runtime environment
  • ExpressJS - A back end web application framework for Node.js
  • SocketIO - a library that enables real-time, bidirectional and event-based communication between the browser and the server
  • MongoDB - cross-platform document-oriented database

Collaborators:

Aws Nafea


This content originally appeared on DEV Community and was authored by that-one-arab


Print Share Comment Cite Upload Translate Updates
APA

that-one-arab | Sciencx (2022-01-12T18:13:27+00:00) We created an online version of the social Mafia game for The MongoDB Atlas Hackathon!. Retrieved from https://www.scien.cx/2022/01/12/we-created-an-online-version-of-the-social-mafia-game-for-the-mongodb-atlas-hackathon/

MLA
" » We created an online version of the social Mafia game for The MongoDB Atlas Hackathon!." that-one-arab | Sciencx - Wednesday January 12, 2022, https://www.scien.cx/2022/01/12/we-created-an-online-version-of-the-social-mafia-game-for-the-mongodb-atlas-hackathon/
HARVARD
that-one-arab | Sciencx Wednesday January 12, 2022 » We created an online version of the social Mafia game for The MongoDB Atlas Hackathon!., viewed ,<https://www.scien.cx/2022/01/12/we-created-an-online-version-of-the-social-mafia-game-for-the-mongodb-atlas-hackathon/>
VANCOUVER
that-one-arab | Sciencx - » We created an online version of the social Mafia game for The MongoDB Atlas Hackathon!. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/12/we-created-an-online-version-of-the-social-mafia-game-for-the-mongodb-atlas-hackathon/
CHICAGO
" » We created an online version of the social Mafia game for The MongoDB Atlas Hackathon!." that-one-arab | Sciencx - Accessed . https://www.scien.cx/2022/01/12/we-created-an-online-version-of-the-social-mafia-game-for-the-mongodb-atlas-hackathon/
IEEE
" » We created an online version of the social Mafia game for The MongoDB Atlas Hackathon!." that-one-arab | Sciencx [Online]. Available: https://www.scien.cx/2022/01/12/we-created-an-online-version-of-the-social-mafia-game-for-the-mongodb-atlas-hackathon/. [Accessed: ]
rf:citation
» We created an online version of the social Mafia game for The MongoDB Atlas Hackathon! | that-one-arab | Sciencx | https://www.scien.cx/2022/01/12/we-created-an-online-version-of-the-social-mafia-game-for-the-mongodb-atlas-hackathon/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.