Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/systemsoftware/snake
Multiplayer snake game
https://github.com/systemsoftware/snake
Last synced: about 2 months ago
JSON representation
Multiplayer snake game
- Host: GitHub
- URL: https://github.com/systemsoftware/snake
- Owner: systemsoftware
- License: mit
- Created: 2024-12-04T04:57:59.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-04T05:01:38.000Z (2 months ago)
- Last Synced: 2024-12-04T05:28:36.468Z (2 months ago)
- Language: JavaScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Multiplayer Snake Game đđŽ
## Overview
A real-time multiplayer Snake game built with Node.js, Express, and Socket.IO. Compete with multiple players in a dynamic, grid-based environment where snakes grow, score points, and interact in real-time.
## Features
- đ Real-time multiplayer gameplay
- đšī¸ Responsive controls using arrow keys
- đ Dynamic food generation
- đ Live score tracking
- đ Multiple player support
- đ Wrap-around screen mechanics## Prerequisites
- Node.js (v14 or later)
- npm (Node Package Manager)## Installation
1. Clone the repository:
```bash
git clone https://github.com/systemsoftware/snake.git
cd snake
```2. Install dependencies:
```bash
npm install
```## Running the Game
Start the server:
```bash
npm start
```Open multiple browser windows at `http://localhost:3000` to play!
## Game Controls
- **Arrow Up**: Move snake upward
- **Arrow Down**: Move snake downward
- **Arrow Left**: Move snake left
- **Arrow Right**: Move snake right## Game Mechanics
- Eat food to grow your snake and increase your score
- Avoid colliding with:
- Your own body
- Other players' snakes
- Screen wraps around edges, allowing continuous movement## Technologies Used
- Node.js
- Express.js
- Socket.IO
- HTML5 Canvas
- JavaScript## License
Distributed under the MIT License. See `LICENSE` for more information.
**Enjoy the game!** đđ