{"action":"created","issue":{"url":"https://api.github.com/repos/davidmann4/agario-feeder-bot/issues/11","labels_url":"https://api.github.com/repos/davidmann4/agario-feeder-bot/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/davidmann4/agario-feeder-bot/issues/11/comments","events_url":"https://api.github.com/repos/davidmann4/agario-feeder-bot/issues/11/events","html_url":"https://github.com/davidmann4/agario-feeder-bot/issues/11","id":126157484,"number":11,"title":"Make bots to eat the bots of the other players","user":{"login":"davidmann4","id":1736570,"avatar_url":"https://avatars.githubusercontent.com/u/1736570?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmann4","html_url":"https://github.com/davidmann4","followers_url":"https://api.github.com/users/davidmann4/followers","following_url":"https://api.github.com/users/davidmann4/following{/other_user}","gists_url":"https://api.github.com/users/davidmann4/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmann4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmann4/subscriptions","organizations_url":"https://api.github.com/users/davidmann4/orgs","repos_url":"https://api.github.com/users/davidmann4/repos","events_url":"https://api.github.com/users/davidmann4/events{/privacy}","received_events_url":"https://api.github.com/users/davidmann4/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidmann4/agario-feeder-bot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-12T11:22:47Z","updated_at":"2016-01-12T16:03:00Z","closed_at":null,"body":"Most of the bots just go directly to the master player - we could piggyback on this behaviour and gain even more mass."},"comment":{"url":"https://api.github.com/repos/davidmann4/agario-feeder-bot/issues/comments/170957967","html_url":"https://github.com/davidmann4/agario-feeder-bot/issues/11#issuecomment-170957967","issue_url":"https://api.github.com/repos/davidmann4/agario-feeder-bot/issues/11","id":170957967,"user":{"login":"Ogarunite","id":16456554,"avatar_url":"https://avatars.githubusercontent.com/u/16456554?v=3","gravatar_id":"","url":"https://api.github.com/users/Ogarunite","html_url":"https://github.com/Ogarunite","followers_url":"https://api.github.com/users/Ogarunite/followers","following_url":"https://api.github.com/users/Ogarunite/following{/other_user}","gists_url":"https://api.github.com/users/Ogarunite/gists{/gist_id}","starred_url":"https://api.github.com/users/Ogarunite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ogarunite/subscriptions","organizations_url":"https://api.github.com/users/Ogarunite/orgs","repos_url":"https://api.github.com/users/Ogarunite/repos","events_url":"https://api.github.com/users/Ogarunite/events{/privacy}","received_events_url":"https://api.github.com/users/Ogarunite/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T16:03:00Z","updated_at":"2016-01-12T16:03:00Z","body":"check with many linear equations, all positions from A(4,0) B(6,-2) and C(8,-4) (and ofcourse many more in between them, but the program calculates that with linear equations) and see if the linear line is from OUR bot crosses the line that other players bot is moving towards, and if it does cross, then check if time for our own bot to get to that position is less than the time for the other playes bot:\r\nif time_our_bot_to_pos(x,y) <= time_for_other_player_bot_pos(x,y) {\r\n  var lock = true; //turn lock ON so it follows through this path all the way and doesn't change suddenly\r\nbot.client.moveTo(other_player_bot_pos_x, other_player_bot_pos_y);\r\n}\r\n\r\nActually when thinking about what i wrote above, getting other bots coordinates, it should be possible. Idk how though."}}