Skip to content

kkamalov/snake-den

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snake-den

Multiplayer slither.io.

Collude with friends while playing slither.io by joining the same room and sharing a minimap and scoreboard.

shared leaderboard shared minimap

Server Setup

Only one person in the group has to setup the server to share map and score information.

Begin by starting the websocket server to share the minimap with your friends while you are in the same room. You can start the server with the following commands:

git clone [email protected]:kkamalov/snake-den.git && cd snake-den
make install
make run

Client Setup

Once one person is running the server, you need to add some javascript to modify the gameplay. Add a breakpoint which executes Javascript (Safari browser does this well) following the instructions below.

  1. View the source of the file game144000.js and add a breakpoint to the line shown in the screenshot. Searching for ws:// will bring you to the right place.

script name.png edit source.png 2. Edit the breakpoint and copy the source from client.js in this repository. Don't forget to change the config variable appropriately. There are comments in the source code to help you update it.

edit breakpoint insert code 3. Setup the breakpoint to Evaluate Javascript and Automatically continue after evaluating.

breakpoint action breakpoint options

Have fun slithering together!

Authors

Kainar Kamalov

Josh Blum

We largely hacked on this while at work. Come work with us @b12.

About

Group play on slither.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published