{"action":"created","issue":{"url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/issues/17","labels_url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/issues/17/comments","events_url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/issues/17/events","html_url":"https://github.com/alessonrenato/informatica29velhadonatal/issues/17","id":123651696,"number":17,"title":"Opções do jogador","user":{"login":"wagner-lucas","id":14047437,"avatar_url":"https://avatars.githubusercontent.com/u/14047437?v=3","gravatar_id":"","url":"https://api.github.com/users/wagner-lucas","html_url":"https://github.com/wagner-lucas","followers_url":"https://api.github.com/users/wagner-lucas/followers","following_url":"https://api.github.com/users/wagner-lucas/following{/other_user}","gists_url":"https://api.github.com/users/wagner-lucas/gists{/gist_id}","starred_url":"https://api.github.com/users/wagner-lucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagner-lucas/subscriptions","organizations_url":"https://api.github.com/users/wagner-lucas/orgs","repos_url":"https://api.github.com/users/wagner-lucas/repos","events_url":"https://api.github.com/users/wagner-lucas/events{/privacy}","received_events_url":"https://api.github.com/users/wagner-lucas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/milestones/2","html_url":"https://github.com/alessonrenato/informatica29velhadonatal/milestones/v0.2","labels_url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/milestones/2/labels","id":1470128,"number":2,"title":"v0.2","description":"versão funcionando o nível 1 - fácil","creator":{"login":"alessonrenato","id":12160516,"avatar_url":"https://avatars.githubusercontent.com/u/12160516?v=3","gravatar_id":"","url":"https://api.github.com/users/alessonrenato","html_url":"https://github.com/alessonrenato","followers_url":"https://api.github.com/users/alessonrenato/followers","following_url":"https://api.github.com/users/alessonrenato/following{/other_user}","gists_url":"https://api.github.com/users/alessonrenato/gists{/gist_id}","starred_url":"https://api.github.com/users/alessonrenato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alessonrenato/subscriptions","organizations_url":"https://api.github.com/users/alessonrenato/orgs","repos_url":"https://api.github.com/users/alessonrenato/repos","events_url":"https://api.github.com/users/alessonrenato/events{/privacy}","received_events_url":"https://api.github.com/users/alessonrenato/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":8,"state":"open","created_at":"2015-12-21T19:42:08Z","updated_at":"2015-12-23T12:43:43Z","due_on":"2015-12-26T03:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-23T12:30:22Z","updated_at":"2015-12-23T12:43:43Z","closed_at":"2015-12-23T12:43:43Z","body":"Pessoal, as escolhas do jogador estão com um problema bem chato. O jogador não pode errar a escolha da opção, se errar o programa não aceita as opções mesmo quando digita uma opção válida. "},"comment":{"url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/issues/comments/166887412","html_url":"https://github.com/alessonrenato/informatica29velhadonatal/issues/17#issuecomment-166887412","issue_url":"https://api.github.com/repos/alessonrenato/informatica29velhadonatal/issues/17","id":166887412,"user":{"login":"RafaelRSPX","id":13755711,"avatar_url":"https://avatars.githubusercontent.com/u/13755711?v=3","gravatar_id":"","url":"https://api.github.com/users/RafaelRSPX","html_url":"https://github.com/RafaelRSPX","followers_url":"https://api.github.com/users/RafaelRSPX/followers","following_url":"https://api.github.com/users/RafaelRSPX/following{/other_user}","gists_url":"https://api.github.com/users/RafaelRSPX/gists{/gist_id}","starred_url":"https://api.github.com/users/RafaelRSPX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafaelRSPX/subscriptions","organizations_url":"https://api.github.com/users/RafaelRSPX/orgs","repos_url":"https://api.github.com/users/RafaelRSPX/repos","events_url":"https://api.github.com/users/RafaelRSPX/events{/privacy}","received_events_url":"https://api.github.com/users/RafaelRSPX/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T12:43:43Z","updated_at":"2015-12-23T12:43:43Z","body":"Alterei a posição do ```getchar();``` mostrado no seguinte commit: 00ee71aa8aba660ff74f29ed3dd8c9bb8b5a4301\r\n\r\nO problema dessa solução é que se o jogador escrever vários carácteres inválidos e se um desses caracteres tiver um carácter válido como, o programa aceita e passa para a próxima opção. "}}