{"action":"created","issue":{"url":"https://api.github.com/repos/ocadotechnology/rapid-router/issues/698","labels_url":"https://api.github.com/repos/ocadotechnology/rapid-router/issues/698/labels{/name}","comments_url":"https://api.github.com/repos/ocadotechnology/rapid-router/issues/698/comments","events_url":"https://api.github.com/repos/ocadotechnology/rapid-router/issues/698/events","html_url":"https://github.com/ocadotechnology/rapid-router/pull/698","id":115121824,"number":698,"title":"Reset game every time we stop the animation","user":{"login":"javicg","id":3944792,"avatar_url":"https://avatars.githubusercontent.com/u/3944792?v=3","gravatar_id":"","url":"https://api.github.com/users/javicg","html_url":"https://github.com/javicg","followers_url":"https://api.github.com/users/javicg/followers","following_url":"https://api.github.com/users/javicg/following{/other_user}","gists_url":"https://api.github.com/users/javicg/gists{/gist_id}","starred_url":"https://api.github.com/users/javicg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javicg/subscriptions","organizations_url":"https://api.github.com/users/javicg/orgs","repos_url":"https://api.github.com/users/javicg/repos","events_url":"https://api.github.com/users/javicg/events{/privacy}","received_events_url":"https://api.github.com/users/javicg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T18:49:41Z","updated_at":"2015-11-05T10:24:12Z","closed_at":"2015-11-05T09:38:43Z","pull_request":{"url":"https://api.github.com/repos/ocadotechnology/rapid-router/pulls/698","html_url":"https://github.com/ocadotechnology/rapid-router/pull/698","diff_url":"https://github.com/ocadotechnology/rapid-router/pull/698.diff","patch_url":"https://github.com/ocadotechnology/rapid-router/pull/698.patch"},"body":"Noticed on the traffic lights behaviour: we were not resetting the game after every attempt.\r\nThe traffic lights were stale after the first try, and did not move any more.\r\n\r\nNow, \"reset\" is called within \"onStopControls\".\r\nThis ensures the game goes back to the initial state after every attempt.\r\n\r\nI have tested it quickly in a couple of levels.\r\nLet me know if this could be an issue."},"comment":{"url":"https://api.github.com/repos/ocadotechnology/rapid-router/issues/comments/154019787","html_url":"https://github.com/ocadotechnology/rapid-router/pull/698#issuecomment-154019787","issue_url":"https://api.github.com/repos/ocadotechnology/rapid-router/issues/698","id":154019787,"user":{"login":"pawelkrupinski","id":304285,"avatar_url":"https://avatars.githubusercontent.com/u/304285?v=3","gravatar_id":"","url":"https://api.github.com/users/pawelkrupinski","html_url":"https://github.com/pawelkrupinski","followers_url":"https://api.github.com/users/pawelkrupinski/followers","following_url":"https://api.github.com/users/pawelkrupinski/following{/other_user}","gists_url":"https://api.github.com/users/pawelkrupinski/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelkrupinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelkrupinski/subscriptions","organizations_url":"https://api.github.com/users/pawelkrupinski/orgs","repos_url":"https://api.github.com/users/pawelkrupinski/repos","events_url":"https://api.github.com/users/pawelkrupinski/events{/privacy}","received_events_url":"https://api.github.com/users/pawelkrupinski/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T10:24:12Z","updated_at":"2015-11-05T10:24:12Z","body":"Created an issue: #699"}}