ermiyaeskandary / Slither.io-bot

Just for fun and AI. Written in Javascript, this is a project which the aim is to make a computer play against humans inside a human-driven game, which is in this case Slither.io. The goal is simple - try and make the snake live and get as long as possible.
Mozilla Public License 2.0
198 stars 124 forks source link

Project Update:

Project now permanently discontinued as the original authors have lost interest in the project however continued development from fellow developers is not to be discouraged, if you wish so. An improved version of this bot (improved fork) is and can be found here but both have been discontinued.

Slither.io bot

Just for fun and AI. Written in Javascript, this is a project which the aim is to make a computer play against humans inside a human-driven game, which is in this case Slither.io. The goal is simple - try and make the snake live and get as long as possible.

Gitter

Table of Contents

Installation instructions

NOTE: these instructions are for installing the bot at a production-ready, fully working and a fully tested state, which is recommended. For the latest bleeding edge code, which may not be fully tested, refer to the bot.user.js file in the current default develop branch as the instructions below refer the bot file in the master branch.

Interactive tutorial

http://slither.jlynx.net/

Visual tutorial

https://www.youtube.com/watch?v=d7mkAgQNuCA - Created by http://slither.jlynx.net/

https://youtu.be/mlEKp-ZAi7w - Created by http://slithere.com/

https://youtu.be/QF9JBMi-fLo?t=38s - Created by SeppeTutorials

https://youtu.be/IpsAazbVIcw - Created by TheFlyingPlatypus

Text tutorial

If you are on chrome, download the TamperMonkey extension.

On other browsers, use the GreaseMonkey extension.

Once installed, click on this, and choose Install.

Go to slither.io, and enjoy !

Hotkeys

Key Result
T / Right Click Bot enabled/disabled
O Mobile rendering - Try this if you experience lag
A/S Radius multiplier
D Quick radius change - "approach" and "avoid" mode
I Auto respawn
G Leaderboard overlay
Y Visual debugging
U Log debugging
H Overlays
B Background Change
Mouse wheel Zoom in/out
Z Reset zoom
ESC Quick respawn
Q Quit to menu

Contributing

Please refer to the guidelines for contributing for all the information you need.

Check the wiki for additional information

NOTE : For existing collaborators, please refer to the DEVELOPER.md file.

Documentation

Documentation Status

The online documentation is maintained in the /docs directory.

Authors

Ermiya Eskandary & Théophile Cailliau (ErmiyaEskandary & FliiFe)

Started as a collaborative and fun project between me and FliiFe on 2016/04/20, with this :

Slither.io bot could be cool

License

Licensed under the Mozilla Public License, v. 2.0

Read LICENSE.md for more info.