Slither.io-bot: Bot is not aggressive enough about going after big piles of food

Created on 8 May 2016  路  27Comments  路  Source: ErmiyaEskandary/Slither.io-bot

Can add auto Option: "decrease collision radius multiplier" in mode "Speed food" dead snake?

Closer to the body to other snakes to when to eat dead snake - Closer to the body while eating dead snake
(e.g. decrease distanse 60% the normal setting option - "A / S - Collision radius multiplier increase / decrease" - when moments while eating dead snake)

low

Most helpful comment

The snake is still too scared of collisions to go after big food piles...

All 27 comments

...and now they will be tested. Thank you for your work. ;)

It runs worse than it was. You do not understand me. Sorry

yeah the goodPath function is pretty CPU intensive

decrease distanse only this when the eating dead snake (Closer to the body while eating dead snake)

try it now

No No!

Please help @ksofiyuk

What is happening? it uses his algorithm still, it just checks to see if the path is being blocked by a collision part now.

record a video of it maybe?

whats your FPS?

Collisions are more frequent and not creeps to eat and snake body obstacles e.t.c

Play and check your version and the previous

I think Seple is asking for an override for collision avoidance when there is lots of food.

The bot is still too shy of other snakes while around big food, which it should be aggressively claiming.

If there is a massive pile of food, the bot should temporarily decrease its collision radius to the bare minimum needed to not crash, rather than a larger fearful radius.

Actually, I think increasing the collision radius while accelerating makes this problem worse. When the bot speeds up towards food, it becomes _more frightened_ of other snakes and wants to stay a larger distance away.

"Speed food" dead snake = decrease - option Collision radius multiplier decrease <--- for a while when moments while eating dead snake

Option: "A / S Collision radius multiplier increase / decrease"
automatic temporarily reduce ( - 50% decrease) while eating a dead snake....

vivid description of http://postimg.org/image/5bvh6wn29/

when he eating dead snake closer other snake

95 it works Idel. Now aggressively fighting for eating dead snake. Thank you. ;)

Can't wait :+1:

I'm doing fine.

var speedingMultiplier = (window.snake.sp > 10) ? 0.8 : 1.0;

or max aggressive

var speedingMultiplier = (window.snake.sp > 10) ? 0.7 : 1.0;

is it good ?

Infect me and wants to know more about java ;)

Solution:

var speedingMultiplier = (window.snake.sp > 10) ? 1.5 : 1.0; if (typeof window.currentFood != 'undefined' && window.currentFood.clusterScore >= 70) { speedingMultiplier = 0.8; }

the current code is sufficient to add: var speedingMultiplier = (window.snake.sp> 10)? 1.0: 1.0

@Seple Why not make a PR ?

I do not know how to program in Java :(

First, I need to do something else then I might do that.

Latest PR merge ?

Doesn't apply anymore. Doesn't boost currently

The snake is still too scared of collisions to go after big food piles...

If there is a massive pile of food, the bot should temporarily decrease its collision radius to the bare minimum needed to not crash, rather than a larger fearful radius.

The snake is still too scared of collisions to go after big food piles...

I agree

Zero not aggressively fighting for eating dead snake :(

Implemented

Was this page helpful?
0 / 5 - 0 ratings

Related issues

K00sKlust picture K00sKlust  路  10Comments

Drflash55 picture Drflash55  路  4Comments

EatSnakes picture EatSnakes  路  3Comments

pllsner picture pllsner  路  9Comments

Drflash55 picture Drflash55  路  5Comments