:snake: Slithbot - slither.io bot

- 1 min

Snake Detection

I really love this problem. I have been playing slither.io since some time now and I think it is an awesome game. There is basically one rule (a snake dies if its face touches another snake’s body) and it gives rise to endless possibilities. I am currently trying to develop a bot of the game, with the aim to reach the top of the leaderboard.

I broke the problem into multiple parts. First was the object detection of other snakes. I did this using the fact that snake's eyes in the game have complete black color (which other part of the screen dont have, making it easy). Now using just this info and generating the data by playing the game myself, the model is trained.

Currently, the model is at a relatively basic stage, but I will update the results here as soon as it improves.