{"action":"opened","issue":{"url":"https://api.github.com/repos/shifteight-dev/gooddarts/issues/1","repository_url":"https://api.github.com/repos/shifteight-dev/gooddarts","labels_url":"https://api.github.com/repos/shifteight-dev/gooddarts/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/shifteight-dev/gooddarts/issues/1/comments","events_url":"https://api.github.com/repos/shifteight-dev/gooddarts/issues/1/events","html_url":"https://github.com/shifteight-dev/gooddarts/issues/1","id":197393626,"number":1,"title":"501 Score Keeping & Go Button","user":{"login":"toddhlynch","id":3879567,"avatar_url":"https://avatars.githubusercontent.com/u/3879567?v=3","gravatar_id":"","url":"https://api.github.com/users/toddhlynch","html_url":"https://github.com/toddhlynch","followers_url":"https://api.github.com/users/toddhlynch/followers","following_url":"https://api.github.com/users/toddhlynch/following{/other_user}","gists_url":"https://api.github.com/users/toddhlynch/gists{/gist_id}","starred_url":"https://api.github.com/users/toddhlynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddhlynch/subscriptions","organizations_url":"https://api.github.com/users/toddhlynch/orgs","repos_url":"https://api.github.com/users/toddhlynch/repos","events_url":"https://api.github.com/users/toddhlynch/events{/privacy}","received_events_url":"https://api.github.com/users/toddhlynch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-23T16:11:34Z","updated_at":"2016-12-23T16:11:34Z","closed_at":null,"body":"Eventually the app will be able to support multiple games and the user will be able to switch between them.  The first game will be 501.\r\n\r\nThe turn/throw entering will use the same framework.  The keyboard may adjust slightly based on the game, but other than that, the framework will be the same.\r\n\r\nRules of 501:\r\n\r\nThe purpose is to score 501 points, exactly, and your last dart must be a double.\r\n\r\nBoth users start with 501 points.  If you hit a T20, 5, 20 that counts for 85 points and your score would go down to 416.\r\n\r\nThe score only changes at the end of the round after all three throws.\r\n\r\nTo win, you need to end with a double.  For instance if you have 45 points, you can hit a 5, D20 and you would win\r\n\r\nIf you have 45 points and you hit a 5, 20, 10 you would have 10 points left and your turn would be over.  If you then hit a 20 on your first throw of your next turn, you would \"BUST\", and you would not throw on your next two throws.  You would still have 10 points.\r\n\r\nI think we should add a boolean flag to turns called \"scored\".  And when a user is entering a score, that round would not be scored yet.  Only scored rounds would be counted.  I have let users hold the app, and they all think there should be a round green \"GO\" button in the top right corner of the keyboard, and after you enter the three scores, you need to hit \"GO\" to submit and score the turn, and that would make the list scroll to the new turn.\r\n\r\nScores will update in the top bar after each round is scored.\r\n\r\nThe main display will show the scored throws, but the app should be aware of the number of points left for a user counting the new throws.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"toddhlynch"}}