stelynx / insanichess

A game that tests your skill and battle tactics like nothing else 🧠🧐🚀
https://insanichess.com
Apache License 2.0
3 stars 1 forks source link

IC-51: Create socket for streaming game events #95

Closed campovski closed 2 years ago

campovski commented 2 years ago

Once a challenge is accepted and a game is made, open a broadcast stream for streaming game events. Users can then connect to this stream using sockets.

White and black player should have separate sockets for sending data to server. Server then responds on this sockets with events from the broadcast stream that are filtered so that only events triggered by the opponent are sent.

Sockets should be: