{"action":"opened","issue":{"url":"https://api.github.com/repos/dgw/willie-UnoBot/issues/4","labels_url":"https://api.github.com/repos/dgw/willie-UnoBot/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/dgw/willie-UnoBot/issues/4/comments","events_url":"https://api.github.com/repos/dgw/willie-UnoBot/issues/4/events","html_url":"https://github.com/dgw/willie-UnoBot/issues/4","id":94520503,"number":4,"title":"Be fully compliant with UNO rules regarding game-starting card","user":{"login":"dgw","id":164140,"avatar_url":"https://avatars.githubusercontent.com/u/164140?v=3","gravatar_id":"","url":"https://api.github.com/users/dgw","html_url":"https://github.com/dgw","followers_url":"https://api.github.com/users/dgw/followers","following_url":"https://api.github.com/users/dgw/following{/other_user}","gists_url":"https://api.github.com/users/dgw/gists{/gist_id}","starred_url":"https://api.github.com/users/dgw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgw/subscriptions","organizations_url":"https://api.github.com/users/dgw/orgs","repos_url":"https://api.github.com/users/dgw/repos","events_url":"https://api.github.com/users/dgw/events{/privacy}","received_events_url":"https://api.github.com/users/dgw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-12T00:47:48Z","updated_at":"2015-07-12T00:47:48Z","closed_at":null,"body":"Currently this game will keep drawing top cards at the start of a round if a W or WD4 comes up. The UNO rules specify that the start of a round should be handled as follows:\r\n\r\n>STARTING A DISCARD PILE\r\nWell, if a word card is the first one turned up from the DRAW pile, this is what happens.\r\nWild Draw Four - It's put back in the deck and another one is chosen.\r\nWild Card - The player to the left of the dealer calls out a color - then plays.\r\nDraw Two Card - The player to the left of dealer must pick two cards and then the next player goes (sad, but true).\r\nReverse Card - The dealer plays first, but then goes to the right instead of the left.\r\nSkip Card - The player to the left of dealer doesn't start (get it, he's skipped). The player to the left of him starts.\r\n\r\nMake sure to verify that all of these rules are being followed, in addition to adding the W and WD4 logic. Will probably reduce the elegance of the code somewhat because `cardPlayed()` or `deal()` or something in `UnoGame` will have to handle prompting for a color if the first card is W."}}