Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amitanshusahu/realtime-multiplayer-game
The Classic Rock, Paper, Sicssors game. it's a realtiem multiplayer game, you can also chat with the opponent and it speaks 😉
https://github.com/amitanshusahu/realtime-multiplayer-game
multiplayer-game nodejs socket-io speech-synthesis
Last synced: 2 months ago
JSON representation
The Classic Rock, Paper, Sicssors game. it's a realtiem multiplayer game, you can also chat with the opponent and it speaks 😉
- Host: GitHub
- URL: https://github.com/amitanshusahu/realtime-multiplayer-game
- Owner: amitanshusahu
- Created: 2023-06-09T04:11:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-08T15:25:51.000Z (8 months ago)
- Last Synced: 2024-05-08T17:01:07.263Z (8 months ago)
- Topics: multiplayer-game, nodejs, socket-io, speech-synthesis
- Language: JavaScript
- Homepage:
- Size: 1.44 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![wifu](https://github.com/amitanshusahu/realtime-multiplayer-game/assets/83657737/a5e0325d-0bdc-4fa0-9adb-5bf955ff0865) Multiplayer Rock Paper Scissors ⭐---
https://github.com/amitanshusahu/realtime-multiplayer-game/assets/83657737/8b1acc57-0032-4b7e-bcb3-d57719f039ef
---
## 📌 Set up project
- clone the repo
```bash
git clone "https://github.com/amitanshusahu/realtime-multiplayer-game" && cd realtime-multiplayer-game"
```
- go to `server` folder and start server
```bash
cd server && npm start
```
> Note: you will require Node 19+ because of the --watch flag, if you have Node 18-, then `node server.js` to start the server- go to `client` folder and start
```bash
cd ../client && npm run dev
```## 📓 References
- Vidoe
- [Web Socket, System Design](https://youtu.be/pnj3Jbho5Ck)
- [All about Web Sockets implementaion in node using socket.io](https://youtu.be/ZKEqqIO7n-k)
- [scaleing web sockets](https://youtu.be/xtCddOjITvo)
- [Web Transport Protocol?](https://youtu.be/jvdg-jOYK5E)---
Star the Repo ⭐