Team Number Dash is a multiplayer math game where students solve math challenges by creating equations that equal a target number.
server.js- Node.js server using Express and Socket.IOutils.js- Helper functions for the serverpackage.json- Node.js dependencies- HTML files:
teacher_signin.html- Teacher login pageteacher_gamestart.html- Game lobby for teachersteacher_gameview.html- Live game monitoring for teachersstudent_pin.html- Game pin entry for studentsstudent_name.html- Nickname entry for studentsstudent_game.html- Main game interface for students
- Install Node.js and npm if you don't have them already
- Clone this repository
- Navigate to the project directory
- Install dependencies:
npm install- Start the server:
npm start- Open your browser and navigate to:
- Teacher: http://localhost:3000/teacher_signin.html
- Students: http://localhost:3000/student_pin.html
- Teacher signs in and gets a game pin
- Students enter the game pin and their nicknames
- Teacher sees students joining in the lobby
- Teacher starts the game when ready
- All players see the game start with the same target number
- Students create equations that equal the target number
- Teacher monitors progress in real-time
- After 4 rounds, game ends and displays statistics
- Each round has a random target number
- Students must create equations that equal the target number
- Duplicate equations are not allowed
- Each round lasts 60 seconds
- After 4 rounds, the game ends and shows statistics
- Node.js
- Express
- Socket.IO
- HTML/CSS/JavaScript