-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Is your feature request related to a problem? Please describe.
It is heavily inefficient to emit the blob coordinates every few milliseconds and also causes the webserver to be slow and take lots of RAM + data for the client. It should not be a problem, but once there are 10 or more people playing, it could lead to issues.
Describe the solution you'd like
Instead the client should only emit when the blob changes its direction. This should decrease the amount of requests by far.
When implementing this, we will need to let the server keep track of the amount of pixels the blob has moved in a different way than updating the coordinates on each request. It would also terminate a lot of ways to cheat (if the client does not do any of those calculations).