{"action":"closed","issue":{"url":"https://api.github.com/repos/JohnDMasterson/CS408/issues/2","labels_url":"https://api.github.com/repos/JohnDMasterson/CS408/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/JohnDMasterson/CS408/issues/2/comments","events_url":"https://api.github.com/repos/JohnDMasterson/CS408/issues/2/events","html_url":"https://github.com/JohnDMasterson/CS408/issues/2","id":111414862,"number":2,"title":"battleSnakes crash#1","user":{"login":"0lumide","id":4883658,"avatar_url":"https://avatars.githubusercontent.com/u/4883658?v=3","gravatar_id":"","url":"https://api.github.com/users/0lumide","html_url":"https://github.com/0lumide","followers_url":"https://api.github.com/users/0lumide/followers","following_url":"https://api.github.com/users/0lumide/following{/other_user}","gists_url":"https://api.github.com/users/0lumide/gists{/gist_id}","starred_url":"https://api.github.com/users/0lumide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0lumide/subscriptions","organizations_url":"https://api.github.com/users/0lumide/orgs","repos_url":"https://api.github.com/users/0lumide/repos","events_url":"https://api.github.com/users/0lumide/events{/privacy}","received_events_url":"https://api.github.com/users/0lumide/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T14:48:11Z","updated_at":"2015-10-30T13:46:01Z","closed_at":"2015-10-30T13:46:01Z","body":"battleSnakes crashes when the snakes collide before eating fruits. This is the error message\r\n```\r\nTraceback (most recent call last):\r\n  File \"battleSnakes.py\", line 204, in <module>\r\n    gameLoop()\r\n  File \"battleSnakes.py\", line 76, in gameLoop\r\n    if winner == 1:\r\nUnboundLocalError: local variable 'winner' referenced before assignment\r\n```"}}