{"id":27399131,"url":"https://github.com/huseynovvusal/multiplayer-snake-game","last_synced_at":"2026-05-07T02:37:22.168Z","repository":{"id":287675247,"uuid":"957376936","full_name":"huseynovvusal/multiplayer-snake-game","owner":"huseynovvusal","description":"🐍 Multiplayer Snake Game using Nest.js (Socket.io) and React.","archived":false,"fork":false,"pushed_at":"2025-04-13T08:07:51.000Z","size":2161,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T02:56:27.339Z","etag":null,"topics":["canvas","multiplayer","nestjs","react","snake-game","socket-io","websockets"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huseynovvusal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-30T07:58:56.000Z","updated_at":"2025-04-13T08:09:05.000Z","dependencies_parsed_at":"2025-04-13T09:34:21.760Z","dependency_job_id":null,"html_url":"https://github.com/huseynovvusal/multiplayer-snake-game","commit_stats":null,"previous_names":["huseynovvusal/multiplayer-snake-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huseynovvusal%2Fmultiplayer-snake-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huseynovvusal%2Fmultiplayer-snake-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huseynovvusal%2Fmultiplayer-snake-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huseynovvusal%2Fmultiplayer-snake-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huseynovvusal","download_url":"https://codeload.github.com/huseynovvusal/multiplayer-snake-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813819,"owners_count":21165632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","multiplayer","nestjs","react","snake-game","socket-io","websockets"],"created_at":"2025-04-14T02:56:30.039Z","updated_at":"2026-05-07T02:37:22.162Z","avatar_url":"https://github.com/huseynovvusal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multiplayer Snake Game 🐍\n\nWelcome to the **Multiplayer Snake Game**, a modern twist on the classic snake game where you can compete with friends in real-time! This project is built using **NestJS** for the server and **React** with **Vite** for the client, ensuring a fast and scalable gaming experience.\n\n---\n\n## Features ✨\n\n- **Multiplayer Gameplay**: Join or create rooms to play with friends. 👫\n- **Dynamic Game Board**: Real-time updates of the game state. 🕹️\n- **Customizable Player Colors**: Each player gets a unique color. 🎨\n\n---\n\n## Screenshots 📸\n\n### Game Room\n\n![Game Room](assets/room.png)\n\n### In-Game\n\n![In-Game](assets/game.png)\n\n---\n\n## Getting Started 🚀\n\n### Prerequisites ✅\n\n- **Node.js** (v16 or later)\n- **npm** (v7 or later)\n\n### Installation 🛠️\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/your-username/multiplayer-snake-game.git\n   cd multiplayer-snake-game\n   ```\n\n2. Install dependencies for both the server and client:\n   ```bash\n   cd server \u0026\u0026 npm install\n   cd ../client \u0026\u0026 npm install\n   ```\n\n### Running the Application ▶️\n\n#### Server 🖥️\n\n1. Navigate to the `server` directory:\n\n   ```bash\n   cd server\n   ```\n\n2. Start the server in development mode:\n   ```bash\n   npm run start:dev\n   ```\n\n#### Client 🌐\n\n1. Navigate to the `client` directory:\n\n   ```bash\n   cd client\n   ```\n\n2. Start the client in development mode:\n\n   ```bash\n   npm run dev\n   ```\n\n3. Open your browser and navigate to `http://localhost:5173`.\n\n---\n\n## How to Play 🎮\n\n1. **Create or Join a Room**: Enter your name and either create a new room or join an existing one. 🏠\n2. **Start the Game**: The room owner can start the game once all players are ready. 🟢\n3. **Control Your Snake**: Use the arrow keys to move your snake and collect food to grow. ⬆️⬇️⬅️➡️\n4. **Avoid Collisions**: Stay alive by avoiding walls and other players' snakes. 🚧\n\n---\n\n## Project Structure 🗂️\n\n```\nmultiplayer-snake-game/\n├── client/       # Frontend code (React + Vite)\n├── server/       # Backend code (NestJS + Socket.io)\n└── assets/       # Images and other assets\n```\n\n---\n\n## Contributing 🤝\n\nContributions are welcome! Feel free to open an issue or submit a pull request. 🛠️\n\n---\n\n## License 📜\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n## Acknowledgments 🙌\n\n- **NestJS**: For the robust backend framework. 🛡️\n- **React**: For the dynamic and responsive frontend. ⚛️\n- **Socket.IO**: For real-time communication. 🔌\n- **Vite**: For the fast development experience. ⚡\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuseynovvusal%2Fmultiplayer-snake-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuseynovvusal%2Fmultiplayer-snake-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuseynovvusal%2Fmultiplayer-snake-game/lists"}