Very-Best-Games / mafia

Simple mafia party game implementation
9 stars 7 forks source link

Web sockets #28

Open Yankovsky opened 4 years ago

Yankovsky commented 4 years ago

We need web sockets for fast two-way data exchange between client and server. The idea is to store all data on server and notify all clients about the changes.

We also need to integrate web sockets with nextjs.

vj-abishek commented 4 years ago

@Yankovsky can I work on it? Then please assign me.

Yankovsky commented 4 years ago

@vj-abishek I've assigned it to you. For now it would be enough if server would notify all clients about a player joining a lobby.

vj-abishek commented 4 years ago

@Yankovsky I'm getting some issue. So I cannot work on it. Sorry

DentFuse commented 3 years ago

Hello, I just stumbled upon this repo, I've worked with websockets before and might be able to help. But I've just found this repo and I'm currently cloning it to understand the codebase, so I might need some time. If you're comfortable with it, then please assign this to me.

Yankovsky commented 3 years ago

@DentFuse sure, I've assigned this issue to you!

DentFuse commented 3 years ago

Hello, sorry I can't completely help you with this, I've made a mock of how you could implement this here: https://github.com/DentFuse/simple-socket-chat. Thanks