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
196 stars 124 forks source link

Agressive behaviour implementation - attacking snakes etc. #210

Open SlitherHeatwaVe opened 8 years ago

SlitherHeatwaVe commented 8 years ago

I was just wondering if there is, or will be an upcoming update with a moving food added, meaning that you could actually attack enemies, but also have a balance between how much it attacks and backs out of the attack based on certain situations, such as the worm escapes the 'attack field' or the head of your worm has become more vulnerable to being too close to the body of the worm you are attacking

Thanks for listening. I hope you were able to follow everything I have been saying =)

tyschnoor commented 8 years ago

@SlitherHeatwaVe moving food as in the glowing dots that move?

SlitherHeatwaVe commented 8 years ago

I was thinking the glowing dots as well as actual worms themselves, i decided to change it as it is clearly a little misleasing

ermiyaeskandary commented 8 years ago

It had prey hunting but it got REMOVED AS OF VERSION 0.9 due to request....

phrokton commented 8 years ago

REMOVED AS OF VERSION 0.9 due to request....

I request reintegration :)

ermiyaeskandary commented 8 years ago

Sorry -

It had prey hunting

Mistook request -

I was thinking the glowing dots as well as actual worms themselves, i decided to change it as it is clearly a little misleasing

ermiyaeskandary commented 8 years ago

@SlitherHeatwaVe So your request is attacking snakes ?

ROacktree commented 8 years ago

I would like the bot to attack snakes.. optionally.. with an overlay adjustment for preference of frequency with a variable of my snake's length.

clemens-tolboom commented 8 years ago

I've let the bot play slither_io

and the bot is a little feeble in

Some observed dying:

My interest for this project was for the decision tree, attacking, not getting surrounded. Not for playing with bot support (toggle T while playing)

And I wanted to try implement the prey hunting.

So yes please add the removed parts :-) 👍

ermiyaeskandary commented 8 years ago

@clemens-tolboom The decision tree and the surrounded detection is in the A* branch as it was a experimental version...

clemens-tolboom commented 8 years ago

@ErmiyaEskandary I know about the decision tree. I just wanted to point out my interest + 👍 this issue

Branch https://github.com/ErmiyaEskandary/Slither.io-bot/tree/A---OLD still works :-)

ermiyaeskandary commented 8 years ago

@clemens-tolboom :+1: Sure - it does work but it is an experimental branch...

Seple commented 8 years ago

New option Agressive behaviour hunting -> Fast surprise in front of his head Super! ;) new spider's_web_Circle "intelligent prediction" behavior >>> http://s33.postimg.org/x6ol3k98v/hmmm.jpg ...Fast surprise in front of his head.

Circle Detection safe distance (to see whether it is worthwhile to go) atact other snake Agressive hunting behavior before other snake head

/* explanation: Spider's_web_Circle ---> http://2.bp.blogspot.com/-CjVg_dItWVo/Tpa5oaa0MkI/AAAAAAAAATw/YzG6gkueMBo/s1600/halloween-spider-web-transparent.png

Similarly #279

grovtor commented 8 years ago

I would like an aggressor mode