{"action":"created","issue":{"url":"https://api.github.com/repos/sunjay/snake/issues/2","repository_url":"https://api.github.com/repos/sunjay/snake","labels_url":"https://api.github.com/repos/sunjay/snake/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sunjay/snake/issues/2/comments","events_url":"https://api.github.com/repos/sunjay/snake/issues/2/events","html_url":"https://github.com/sunjay/snake/issues/2","id":164752211,"number":2,"title":"AI Process Has Weird Lag","user":{"login":"sunjay","id":530939,"avatar_url":"https://avatars.githubusercontent.com/u/530939?v=3","gravatar_id":"","url":"https://api.github.com/users/sunjay","html_url":"https://github.com/sunjay","followers_url":"https://api.github.com/users/sunjay/followers","following_url":"https://api.github.com/users/sunjay/following{/other_user}","gists_url":"https://api.github.com/users/sunjay/gists{/gist_id}","starred_url":"https://api.github.com/users/sunjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunjay/subscriptions","organizations_url":"https://api.github.com/users/sunjay/orgs","repos_url":"https://api.github.com/users/sunjay/repos","events_url":"https://api.github.com/users/sunjay/events{/privacy}","received_events_url":"https://api.github.com/users/sunjay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sunjay/snake/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"login":"sunjay","id":530939,"avatar_url":"https://avatars.githubusercontent.com/u/530939?v=3","gravatar_id":"","url":"https://api.github.com/users/sunjay","html_url":"https://github.com/sunjay","followers_url":"https://api.github.com/users/sunjay/followers","following_url":"https://api.github.com/users/sunjay/following{/other_user}","gists_url":"https://api.github.com/users/sunjay/gists{/gist_id}","starred_url":"https://api.github.com/users/sunjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunjay/subscriptions","organizations_url":"https://api.github.com/users/sunjay/orgs","repos_url":"https://api.github.com/users/sunjay/repos","events_url":"https://api.github.com/users/sunjay/events{/privacy}","received_events_url":"https://api.github.com/users/sunjay/received_events","type":"User","site_admin":false},"assignees":[{"login":"sunjay","id":530939,"avatar_url":"https://avatars.githubusercontent.com/u/530939?v=3","gravatar_id":"","url":"https://api.github.com/users/sunjay","html_url":"https://github.com/sunjay","followers_url":"https://api.github.com/users/sunjay/followers","following_url":"https://api.github.com/users/sunjay/following{/other_user}","gists_url":"https://api.github.com/users/sunjay/gists{/gist_id}","starred_url":"https://api.github.com/users/sunjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunjay/subscriptions","organizations_url":"https://api.github.com/users/sunjay/orgs","repos_url":"https://api.github.com/users/sunjay/repos","events_url":"https://api.github.com/users/sunjay/events{/privacy}","received_events_url":"https://api.github.com/users/sunjay/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-07-11T03:06:53Z","updated_at":"2016-08-17T04:12:02Z","closed_at":null,"body":"Intermittently, the AI will start to lag and just completely die. This is visible on the debug path being rendered because the path's yellow line begins to move unexpectedly even after the snake has died.\r\n\r\nTypically this happens after the snake has reached a length of 100.\r\n\r\n## Demonstration\r\n![](https://thumbs.gfycat.com/PleasantOrderlyBlackwidowspider-size_restricted.gif)"},"comment":{"url":"https://api.github.com/repos/sunjay/snake/issues/comments/240308908","html_url":"https://github.com/sunjay/snake/issues/2#issuecomment-240308908","issue_url":"https://api.github.com/repos/sunjay/snake/issues/2","id":240308908,"user":{"login":"sunjay","id":530939,"avatar_url":"https://avatars.githubusercontent.com/u/530939?v=3","gravatar_id":"","url":"https://api.github.com/users/sunjay","html_url":"https://github.com/sunjay","followers_url":"https://api.github.com/users/sunjay/followers","following_url":"https://api.github.com/users/sunjay/following{/other_user}","gists_url":"https://api.github.com/users/sunjay/gists{/gist_id}","starred_url":"https://api.github.com/users/sunjay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunjay/subscriptions","organizations_url":"https://api.github.com/users/sunjay/orgs","repos_url":"https://api.github.com/users/sunjay/repos","events_url":"https://api.github.com/users/sunjay/events{/privacy}","received_events_url":"https://api.github.com/users/sunjay/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T04:12:02Z","updated_at":"2016-08-17T04:12:02Z","body":"In order to save on memory and access costs, eventually it may be necessary to use [JavaScript typed arrays](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays). I don't actually think JavaScript can handle all of this in the largely immutable infrastructure I've setup, but I'm certainly going to try my best."}}
{"actor":{"display_login":"sunjay"}}