{"action":"created","issue":{"url":"https://api.github.com/repos/Kiwi-FruitBird/Bastille/issues/8","labels_url":"https://api.github.com/repos/Kiwi-FruitBird/Bastille/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Kiwi-FruitBird/Bastille/issues/8/comments","events_url":"https://api.github.com/repos/Kiwi-FruitBird/Bastille/issues/8/events","html_url":"https://github.com/Kiwi-FruitBird/Bastille/issues/8","id":114545455,"number":8,"title":"Enemy Selection Screen Input","user":{"login":"wnormandin","id":11676565,"avatar_url":"https://avatars.githubusercontent.com/u/11676565?v=3","gravatar_id":"","url":"https://api.github.com/users/wnormandin","html_url":"https://github.com/wnormandin","followers_url":"https://api.github.com/users/wnormandin/followers","following_url":"https://api.github.com/users/wnormandin/following{/other_user}","gists_url":"https://api.github.com/users/wnormandin/gists{/gist_id}","starred_url":"https://api.github.com/users/wnormandin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wnormandin/subscriptions","organizations_url":"https://api.github.com/users/wnormandin/orgs","repos_url":"https://api.github.com/users/wnormandin/repos","events_url":"https://api.github.com/users/wnormandin/events{/privacy}","received_events_url":"https://api.github.com/users/wnormandin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kiwi-FruitBird/Bastille/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-02T08:09:58Z","updated_at":"2015-11-02T08:13:32Z","closed_at":null,"body":"# Enemy Selection Input Bug\r\n### Method Bastille.data.player.enemy_select\r\n\r\n> When a player enters a selection value above 10, no __ValueError__ is raised to prompt for new input.  The loop then proceeds to attempt to select the invalid value, raising an __Index out of Range__ error."},"comment":{"url":"https://api.github.com/repos/Kiwi-FruitBird/Bastille/issues/comments/152947864","html_url":"https://github.com/Kiwi-FruitBird/Bastille/issues/8#issuecomment-152947864","issue_url":"https://api.github.com/repos/Kiwi-FruitBird/Bastille/issues/8","id":152947864,"user":{"login":"wnormandin","id":11676565,"avatar_url":"https://avatars.githubusercontent.com/u/11676565?v=3","gravatar_id":"","url":"https://api.github.com/users/wnormandin","html_url":"https://github.com/wnormandin","followers_url":"https://api.github.com/users/wnormandin/followers","following_url":"https://api.github.com/users/wnormandin/following{/other_user}","gists_url":"https://api.github.com/users/wnormandin/gists{/gist_id}","starred_url":"https://api.github.com/users/wnormandin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wnormandin/subscriptions","organizations_url":"https://api.github.com/users/wnormandin/orgs","repos_url":"https://api.github.com/users/wnormandin/repos","events_url":"https://api.github.com/users/wnormandin/events{/privacy}","received_events_url":"https://api.github.com/users/wnormandin/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T08:13:32Z","updated_at":"2015-11-02T08:13:32Z","body":"[1] Level 1 Hexer\r\n[2] Level 2 Mage\r\n______________________\r\n\r\nSelect an enemy :12\r\nTraceback (most recent call last):\r\n  File \"game.py\", line 98, in <module>\r\n    play()\r\n  File \"game.py\", line 82, in play\r\n    player.do_action(action, **action.kwargs)\r\n  File \"/home/bill/dev/Bastille/dev/data/player.py\", line 80, in do_action\r\n    action_method(**kwargs)\r\n  File \"/home/bill/dev/Bastille/dev/data/player.py\", line 154, in attack\r\n    enemy = self.enemy_select(tile.enemy_list)\r\n  File \"/home/bill/dev/Bastille/dev/data/player.py\", line 185, in enemy_select\r\n    enemy = eligible_enemies[int(raw_input('\\nSelect an enemy :'))-1]\r\nIndexError: list index out of range"}}