Altschool-third-semester-assignment
A live guessing game chat application built with Node.js, Express, Socket.io and vanilla JavaScript. Multiple users can join game rooms to play and chat in real-time.
The Gamemaster creates a room, shares the ID with players, and sets questions with 60-second timers. Players join using the room ID and can chat while waiting in the lobby/waiting room. Once the game starts, no additional players can join.
Players guess answers in real-time with correct guesses earning 10
points with 3
attempts and if no player guess the right answer within the timeframe the correct answer is display to every players and no player get the scores for that question.. After each round, a new player becomes Gamemaster. The application tracks scores, player activities, and timestamps for all actions. The session continues until all players leave.
- Real-time chat during waiting, gameplay, and After-game
- Unique game room creation and joining
- Player activity tracking with timestamps
- Score management and winner declaration
- gamemaster rotation
- options for setting up multiple questions on a go.
- Clone the repository
https://github.com/KasperNeth/Game-chat-app.git
- Navigate to the project directory
cd Game-chat-app
- Install the dependencies
npm install
- Set up your .env file
PORT = your port number
- Start the server
npm start
.For development
npm run dev
- Run on local machine
http://localhost: your port number