{"action":"created","comment":{"url":"https://api.github.com/repos/andela/ET-cfh/pulls/comments/203384224","pull_request_review_id":138261430,"id":203384224,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzM4NDIyNA==","diff_hunk":"@@ -133,11 +133,31 @@ Game.prototype.prepareGame = function() {\n     });\n };\n \n+Game.prototype.beginRound = function (self) {\n+  if (this.state === 'czar picks card') {\n+    this.stateChoosing(self);\n+  } else if (this.state === 'czar has left') {\n+    this.selectCzar(self);\n+  }\n+};\n+\n+Game.prototype.selectCzar = function (self) {","path":"config/socket/game.js","position":12,"original_position":12,"commit_id":"5a49e2641deb54296032840a26ce693ca07cec0f","original_commit_id":"5a49e2641deb54296032840a26ce693ca07cec0f","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected unnamed function                                                    func-names","created_at":"2018-07-18T13:46:20Z","updated_at":"2018-07-18T13:46:21Z","html_url":"https://github.com/andela/ET-cfh/pull/21#discussion_r203384224","pull_request_url":"https://api.github.com/repos/andela/ET-cfh/pulls/21","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/comments/203384224"},"html":{"href":"https://github.com/andela/ET-cfh/pull/21#discussion_r203384224"},"pull_request":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/andela/ET-cfh/pulls/21","id":202258743,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMjU4NzQz","html_url":"https://github.com/andela/ET-cfh/pull/21","diff_url":"https://github.com/andela/ET-cfh/pull/21.diff","patch_url":"https://github.com/andela/ET-cfh/pull/21.patch","issue_url":"https://api.github.com/repos/andela/ET-cfh/issues/21","number":21,"state":"open","locked":false,"title":"#158457043 Czar can draw the next question from card deck","user":{"login":"ikenjoku","id":32720508,"node_id":"MDQ6VXNlcjMyNzIwNTA4","avatar_url":"https://avatars0.githubusercontent.com/u/32720508?v=4","gravatar_id":"","url":"https://api.github.com/users/ikenjoku","html_url":"https://github.com/ikenjoku","followers_url":"https://api.github.com/users/ikenjoku/followers","following_url":"https://api.github.com/users/ikenjoku/following{/other_user}","gists_url":"https://api.github.com/users/ikenjoku/gists{/gist_id}","starred_url":"https://api.github.com/users/ikenjoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikenjoku/subscriptions","organizations_url":"https://api.github.com/users/ikenjoku/orgs","repos_url":"https://api.github.com/users/ikenjoku/repos","events_url":"https://api.github.com/users/ikenjoku/events{/privacy}","received_events_url":"https://api.github.com/users/ikenjoku/received_events","type":"User","site_admin":false},"body":"- Add a card deck modal\r\n- Create a new game state\r\n- Update game service and controller\r\n- Add tests for new game state\r\n[Finishes #158457043]\r\n\r\n#### What does this PR do?\r\nAdds a card deck from which the Czar can pick a card to reveal the next question for the game round\r\n#### Description of Task to be completed?\r\nGive the current Czar of a game the ability to select the question for the round by selecting a card question from a deck of cards\r\n#### How should this be manually tested?\r\nPlay game from the review app URL:\r\nSee card deck when assigned to be the czar of a game round\r\n#### What are the relevant pivotal tracker stories?\r\n#158457043\r\n#### Any background context you want to add?\r\n\r\n#### Screenshots\r\n\r\n<img width=\"1438\" alt=\"screen shot 2018-07-18 at 8 10 59 am\" src=\"https://user-images.githubusercontent.com/32720508/42885297-80c1380a-8a98-11e8-81fb-80d54419892c.png\">\r\n","created_at":"2018-07-18T13:46:10Z","updated_at":"2018-07-18T13:46:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e59c718b38079b3b03af3bcda75cd20e2648ca3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/ET-cfh/pulls/21/commits","review_comments_url":"https://api.github.com/repos/andela/ET-cfh/pulls/21/comments","review_comment_url":"https://api.github.com/repos/andela/ET-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/ET-cfh/issues/21/comments","statuses_url":"https://api.github.com/repos/andela/ET-cfh/statuses/5a49e2641deb54296032840a26ce693ca07cec0f","head":{"label":"andela:czar-can-draw-cards-by-clicking","ref":"czar-can-draw-cards-by-clicking","sha":"5a49e2641deb54296032840a26ce693ca07cec0f","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":139054775,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwNTQ3NzU=","name":"ET-cfh","full_name":"andela/ET-cfh","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/ET-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ET-cfh","forks_url":"https://api.github.com/repos/andela/ET-cfh/forks","keys_url":"https://api.github.com/repos/andela/ET-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ET-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ET-cfh/teams","hooks_url":"https://api.github.com/repos/andela/ET-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/ET-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ET-cfh/events","assignees_url":"https://api.github.com/repos/andela/ET-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ET-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ET-cfh/tags","blobs_url":"https://api.github.com/repos/andela/ET-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ET-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ET-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ET-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ET-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ET-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/ET-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/ET-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/ET-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/ET-cfh/subscription","commits_url":"https://api.github.com/repos/andela/ET-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ET-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ET-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ET-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ET-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ET-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ET-cfh/merges","archive_url":"https://api.github.com/repos/andela/ET-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ET-cfh/downloads","issues_url":"https://api.github.com/repos/andela/ET-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ET-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ET-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ET-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ET-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/ET-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ET-cfh/deployments","created_at":"2018-06-28T18:29:33Z","updated_at":"2018-07-17T17:30:10Z","pushed_at":"2018-07-18T13:46:11Z","git_url":"git://github.com/andela/ET-cfh.git","ssh_url":"git@github.com:andela/ET-cfh.git","clone_url":"https://github.com/andela/ET-cfh.git","svn_url":"https://github.com/andela/ET-cfh","homepage":null,"size":13693,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":5,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"dd941597a0061fe0f4ff0bc5e261dd54f7021485","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":139054775,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkwNTQ3NzU=","name":"ET-cfh","full_name":"andela/ET-cfh","owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/ET-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/ET-cfh","forks_url":"https://api.github.com/repos/andela/ET-cfh/forks","keys_url":"https://api.github.com/repos/andela/ET-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/ET-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/ET-cfh/teams","hooks_url":"https://api.github.com/repos/andela/ET-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/ET-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/ET-cfh/events","assignees_url":"https://api.github.com/repos/andela/ET-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/ET-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/ET-cfh/tags","blobs_url":"https://api.github.com/repos/andela/ET-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/ET-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/ET-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/ET-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/ET-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/ET-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/ET-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/ET-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/ET-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/ET-cfh/subscription","commits_url":"https://api.github.com/repos/andela/ET-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/ET-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/ET-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/ET-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/ET-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/ET-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/ET-cfh/merges","archive_url":"https://api.github.com/repos/andela/ET-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/ET-cfh/downloads","issues_url":"https://api.github.com/repos/andela/ET-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/ET-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/ET-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/ET-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/ET-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/ET-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/ET-cfh/deployments","created_at":"2018-06-28T18:29:33Z","updated_at":"2018-07-17T17:30:10Z","pushed_at":"2018-07-18T13:46:11Z","git_url":"git://github.com/andela/ET-cfh.git","ssh_url":"git@github.com:andela/ET-cfh.git","clone_url":"https://github.com/andela/ET-cfh.git","svn_url":"https://github.com/andela/ET-cfh","homepage":null,"size":13693,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":5,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/21"},"html":{"href":"https://github.com/andela/ET-cfh/pull/21"},"issue":{"href":"https://api.github.com/repos/andela/ET-cfh/issues/21"},"comments":{"href":"https://api.github.com/repos/andela/ET-cfh/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/ET-cfh/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/andela/ET-cfh/statuses/5a49e2641deb54296032840a26ce693ca07cec0f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}