4 ms·
For those that clicked thinking there be an actual multiplayer snake game over http: slither.io Be warned, this can ruin productivity in your day.
by jaimex2 8y ago
For those that clicked thinking there be an actual multiplayer snake game over http:
slither.io
Be warned, this can ruin productivity in your day.
- anonytrary 8y agoThat game is super addicting. You will need a mouse. You will have fun testing out various bait-and-switch moves you can use to get noobs. Once you get good enough to make it into the top 10, everyone starts trying to kill you and it becomes exponentially more difficult to stay alive. I used to edit the script to increase my event-out rate a little bit to give me an edge, but I'm not sure it worked, seeing as the server could just throttle the events anyway. Once your snake gets long enough, you can enclose other snakes in a loop and torture them as they face their impending demise. Fun times.
- jsmeaton 8y agoWe ran a hackday where we attempted to build a multiplayer snake over websockets using Django channels. I don’t think I touched on it in the write up, but websockets/tcp is the wrong choice for this kind of game. Write up: https://devblog.kogan.com/blog/kogame-django-channels https://devblog.kogan.com/blog/kogame-django-channels Game: https://kogame-snek.herokuapp.com/ https://kogame-snek.herokuapp.com/ Disclaimer: it’s not very good. It was a one day project.
- davewasthere 8y agoI'm surprised that Websockets is the wrong choice. What would be the right choice? WebRTC?
- jsmeaton 8y agoYes, UDP is needed, otherwise you get lockups. We incorrectly attributed rendering delays to react rendering rather than TCP.
- FrozenVoid 8y agoFew scripts for slither.io that enhance gameplay. http://void.wikidot.com/system:page-tags/tag/slither.io#pages http://void.wikidot.com/system:page-tags/tag/slither.io#page...