ScratchAgarioBots / agario-bot

An AI designed to take less risks and have the highest possible odds of survival.
MIT License
13 stars 2 forks source link

Add "get super clusters" function #9

Closed matthewr6 closed 9 years ago

matthewr6 commented 9 years ago

find clusters of clusters (ie 5+ or 10+ food items relatively close together - say, 150 radius)

an-OK-squirrel commented 9 years ago

Do we need this?

matthewr6 commented 9 years ago

Yeah. It filters from get super clusters to get clusters to get individual food items

PullJosh commented 9 years ago

Agreed.

matthewr6 commented 9 years ago

I had something but it got removed by accident

PullJosh commented 9 years ago

Nice.

an-OK-squirrel commented 9 years ago

Couldn't you use the cluster function on itself?

matthewr6 commented 9 years ago

No, because of the way the cluster function is written.

an-OK-squirrel commented 9 years ago

Then rewrite it, silly!

matthewr6 commented 9 years ago

I finished this already

an-OK-squirrel commented 9 years ago

Oh. :P