Slither.io Game Client

Hello slither.io game firends, slither-client is a Node.JS implementation of the Slither.io client. This code saves time when creating slither.io applications. It handles connecting, sending init, movement, and many more essential elements for slither.io

Slither.io game Version 1 is currently being finished!
Connection
Initialization Packet
Request to Spawn
Movement
Documentation

Authors/Collaborators
Dosk / MasonBurdette

Example Usages
Custom Client
Spawning Snakes
Feeder Bots
API
There are two types of object that have API:

Client – thing that connects to slither.io server and talks to it. If you want to spawn and control your entity (snake), you need to talk with Client

Entites – currently undergoing further research

package.json

{
name: slither-client,
version: 0.0.0,
description: Node.js slither.io client implementation,
main: slither-client.js,
dependencies: {
ws: ^1.0.1
},
devDependencies: {},
files: [
slither-client.js
],
repository: {
type: git,
url: https://github.com/masonburdette/slither-client.git
},
keywords: [
slither.io,
slither,
client
],
author: Mason Burdette / Dosk,
license: MIT,
bugs: {
url: https://github.com/masonburdette/slither-client/issues
},
homepage: https://github.com/masonburdette/slither-client
}

slither-client.js
var WebSocket = require(ws);

Leave a Reply

Your email address will not be published. Required fields are marked *