Apostolique / Stream-Ideas

You want to see me code something? Suggest it!
GNU General Public License v2.0
2 stars 0 forks source link

Slither.io Bot #14

Open Appw0 opened 8 years ago

Appw0 commented 8 years ago

Slither.io is another fun version of agar.io and it is using snakes instead of blobs. It probably wouldn't take much change to the Agar.io bot actually, according to the similarity. Thanks!

Apostolique commented 8 years ago

I'll probably look into it at some point. Could be a good challenge if I have the time.

Appw0 commented 8 years ago

Thx Man!

Zephyr1338 commented 8 years ago

The code is completely different, just so you know. The concept is similar but the code is structured differently and it's harder to understand.

FliiFe commented 8 years ago

It was not a port suggestion, the idea was not to port the agar.io bot's code to slither.io (that wouldn't even work because of the mechanics, one has mass, the other has length).

Appw0 commented 8 years ago

I may not be a master coder, but here is a list of things i think might have to change and what might not have to change much: Instead of drawing circles around enemies draw boxes(which computers compute faster) Then, the code for finding and grabbing mass, wouldn't have to change almost at all. Just it would have to take in account the size of the mass. Also, some new code would be to sprint(left-click) when there are many enemies. (This should also take into account if the length of the bot is higher than 1000. Actually, instead of not looking at much smaller snakes, (around 9-20 length) it should count them as enemies, because they are the most deadly when large. Lastly, the code for finding smaller snakes to kill might have to be just be entirely rewritten. :P

That's all I can think about right now. This may not be so easy after all. lol

ermiyaeskandary commented 8 years ago

https://github.com/ErmiyaEskandary/Slither.io-bot