Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harukayamamoto0/multiplayer-snake-game

A multiplayer snake game based on Felipe Deschamps' playlist
https://github.com/harukayamamoto0/multiplayer-snake-game

felipe-deschamps fun games javascript snack-game

Last synced: about 1 month ago
JSON representation

A multiplayer snake game based on Felipe Deschamps' playlist

Awesome Lists containing this project

README

        

## About The Project

![Screen Shot](./images/screenshot.jpg)

This is a simple game I created based on Felipe Dechamps' [playlist](https://www.youtube.com/playlist?list=PLMdYygf53DP5SVQQrkKCVWDS0TwYLVitL). I built it for a festival at my school so that people could play and enjoy it. While it's not perfect, the game is fully functional. If you're playing on a mobile device, just swipe in the direction you want the snake to move.

## 🛠️ Technologies Used

- **JavaScript**: Primary programming language.
- **HTML**: Structure for the UI.
- **CSS**: Styling the game.
- **Socket.io**: Manages real-time data exchange.
- **Express**: Server framework.

## 🔧 How to Run

1. Clone the repository:
```sh
git clone https://github.com/HarukaYamamoto0/multiplayer-snake-game.git
```
2. Open the project
```sh
cd ./multiplayer-snake-game
```
3. Install the dependencies:
```sh
npm install
```
4. Start the server:
```sh
npm run start
```
5. Access the game at [localhost:3000](http://localhost:3000).

## 📚 What I Learned

- How to use `Socket.io` to implement real-time communication between multiple players.
- The importance of writing efficient and clean code for managing game state.
- How to set up and use `Express` to create a simple server to host the game.
- Integrating front-end and back-end to ensure a smooth gaming experience.

## 📬 Contact

If you have any questions, suggestions, or feedback, feel free to reach out:
- **Discord**: [albertthefluent](https://discord.com/users/822819247146663936)
- **Email**: [[email protected]](mailto:[email protected])
- **Instagram**: [@harukadev](https://instagram.com/harukadev)
- **Buy Me a Coffee**: [harukayamamoto0](https://www.buymeacoffee.com/harukayamamoto0)

## 📝 License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.