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

Kill count #41

Open Evanito opened 8 years ago

Evanito commented 8 years ago

Can we make a count of how many kills we cause?

Perhaps add that to the leaderboard of #38 ?

Seple commented 8 years ago

Good idea. Turn HUD + Counter Killed = more fun ;)

Thank you for your work

Drflash55 commented 8 years ago

If you can find the variable that tracks the amount of kills you get in the game, you can use that to show how many kills you have. If no such variable exists in the game's coding, you'll have to manually create a function that tracks when your snake killed a player, and have it add upwards...

It should also reset the score at the end of every run, so it doesn't constantly add upwards...

ermiyaeskandary commented 8 years ago

If you can find the variable that tracks the amount of kills you get in the game

Anyone know ?

create a function that tracks when your snake killed a player

Seems ... uhhh....

ghost commented 8 years ago

So constantly testing if a player hits your body?

Drflash55 commented 8 years ago

@Classicanon Something like that...

ROacktree commented 8 years ago

Anyone know ?

Start with sudden disappearance of proximate snake with sudden appearance of curvilinear dense food.

ROacktree commented 8 years ago

Consider taking Cloud Credentials to store one's own stats [assume multiple instances]. Amazon S3 seems a good starting point with gratis [free] 5gigs of S3 storage, and free mini EC2 instance [not needed].

https://aws.amazon.com/free/

@ErmiyaEskandary could optionally be granted read permission to github to tally bots' instantiation.

^ Because I greatly value my human right to privacy I do not favor use of third party stats tools like [evil] google. Bot operator pay as you go cloud storage allows for more fun like signature braggadocio, site glamor, Xmpp PEP.. off the top of my head.

ermiyaeskandary commented 8 years ago

@ROacktree For what purpose ? @chancity suggested using the cloud

Seple commented 8 years ago

.. I think that is sufficient enough top 3 + PLUS -> Displaying time play (server) <--- what do you think ?