--NOT FINISH YET--
UndercoverMedicGame is a multiplayer real-time browser-based game that combines discussion, voting, elimination, and a final round challenge.
It runs with Node.js (Express, Socket.IO) on the backend and HTML/CSS/JS on the frontend.
git clone https://github.com/username/undercover-game.git
cd undercover-gamedocker-compose up --build- Frontend: http://localhost:5000
- Backend API/Socket: http://localhost:3000
-
Create Room
- One player becomes the host and creates a room with their name.
- The system generates a unique code (e.g.,
ABCD12).
-
Join Room
- Other players join the room by entering their name and the room code.
- Maximum of 10 players per room.
-
Lobby
- All players appear in the lobby list.
- The host clicks Start Game once at least 3 players have joined.
-
Gameplay
-
Roles are distributed automatically:
- 6 players → Main Diagnose
- 3 players → Differential Diagnose
- 1 player → Doctor Grey
-
Diseases are privately assigned based on roles.
-
-
Discussion & Elimination
- Players discuss.
- A voting round eliminates one player → eliminated players become spectators.
-
Final Round
- When only 3 players remain → enter the final round.
- Each submits Treatment & Innovation.
-
Spectator Voting
- Eliminated players vote for the finalist with the best answers.
-
Results & Rewards
- All roles are revealed.
- Winners receive digital titles (e.g., Diagnosis Division, Mastermind).
- Backend: Node.js, Express, Socket.IO
- Frontend: HTML, CSS, JavaScript, Socket.IO-client
- Containerization: Docker, Docker Compose
- Developer: Jordy Mail
- Designer/UI: Jordy Mail
- Support: Faculty of Medicine, President University