Imposter Game is a multiplayer web-based game where players are divided into regular players and imposters. The goal of the regular players is to identify the imposters, while the imposters try to blend in and avoid detection.
- Real-time multiplayer gameplay using WebSockets
- Admin panel for game settings
- Emote reactions
- Progressive Web App (PWA) support
- Responsive design
.
├── backend/
│ ├── index.html
│ ├── package.json
│ ├── server.js
│ └── words.js
├── public/
│ ├── manifest.json
│ └── service-worker.js
├── src/
│ ├── components/
│ │ ├── AdminPanel.tsx
│ │ ├── EmoteReactions.tsx
│ │ ├── GameScreen.tsx
│ │ ├── InstallPWA.tsx
│ │ ├── PlayerList.tsx
│ │ ├── TutorialModal.tsx
│ │ └── WaitingScreen.tsx
│ ├── context/
│ │ ├── GameContext.tsx
│ │ └── WebSocketContext.tsx
│ ├── pages/
│ │ ├── Home.tsx
│ │ └── Game.tsx
│ ├── App.tsx
│ ├── index.css
│ ├── main.tsx
│ └── vite-env.d.ts
├── .gitignore
├── eslint.config.js
├── index.html
├── package.json
├── postcss.config.js
├── tailwind.config.js
├── tsconfig.app.json
├── tsconfig.json
├── tsconfig.node.json
└── vite.config.ts
- Node.js
- npm
- Clone the repository:
git clone https://github.com/shaikhsameer18/ImposterGame.git
cd ImposterGame- Install dependencies for the frontend:
npm install- Install dependencies for the backend:
cd backend
npm install
cd ..- Start the backend server:
cd backend
npm run dev- Start the frontend development server:
npm run dev- Open your browser and navigate to
http://localhost:5173.
To build the project for production, run:
npm run buildTo lint the project, run:
npm run lintThis project is licensed under the MIT License.