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

Drawing your own defense #304

Open pllsner opened 8 years ago

pllsner commented 8 years ago

Is it possible to draw with the mouse on the screen and create a defense pattern? Maybe have another hotkey set to draw with mouse when pressed. [http://jsbin.com/pitatadote/edit?html,output] looks interesting. (move mouse around in the right output panel) If a person was able to grab the <div class="dot" style="left: 20px; top: 143px;"></div> created, and put them into an array, the bot could see them as goalcoordinates. The possibilities are endless on the defense designs a person could come up with. Also a good way to showboat how great this bot really is. :)