This is a bot for slither.io game, which injects AI into games draw function.
To use: install this and go to slither.io site -> enter nick and press play. Script will do the rest including respawning worm on death. (theres 3s delay, don't worry it works)
Bot has a certain type of learning algorithm which is basically weighted DNA system I did for agar.io once.
It tries random variations of current best REALDNA, by generating TESTDNA using altered values and then updates REALDNA depending on how well your worm performed in last two games (score on death).
To see how your bot has generated new setting values type in browser console: printbot()
That will show you bot's current DNA and other stuff and you can play around with it by changing those and pasting back into console like: REALDNA = [86.83,2.72,544.52,206.6,629.25,54.17,0.9,0.03]; (these are current best for my worm which performed pretty well)
tl;dr the more your worm runs, the better it should play (in theory, in reality it's kinda random).