{"action":"created","comment":{"url":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/comments/207868280","pull_request_review_id":143562604,"id":207868280,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzg2ODI4MA==","diff_hunk":"@@ -0,0 +1,95 @@\n+import * as React from 'react';\n+import './StartGame.css';\n+import HomeButton from '../Buttons/HomeButton/HomeButton';\n+import axios from '../../../node_modules/axios';\n+import UserMinimalProfile from '../UserMinimalProfile/UserMinimalProfile';\n+import CancelButton from '../Buttons/CancelButton/CancelButton';\n+import StartButton from '../Buttons/StartButton/StartButton';\n+\n+class StartGame extends React.Component<any, any> {\n+    constructor(props: any) {\n+      super(props);\n+\n+        this.state = {\n+            serverMessage: '',\n+            redirect: false,\n+            player: [],\n+            currentPlayerNumber: 0\n+        }\n+    }\n+\n+    public componentWillMount() {\n+        axios.get('http:///localhost:60151/api/player')\n+        .then(response => {\n+            console.log(response.data)\n+            this.setState({player: response.data})\n+        })\n+        .catch(err => console.log(err))\n+    }\n+\n+    public getFirstListOfPlayers() {\n+        const firstListOfPlayers = [];\n+        for( let i = 0; i < 7; i++){","path":"VikingQuiz.UI/src/Components/StartGame/StartGame.tsx","position":32,"original_position":32,"commit_id":"8fdb93f80dfafece4fb3d03b74e290b8f93200cc","original_commit_id":"8fdb93f80dfafece4fb3d03b74e290b8f93200cc","user":{"login":"vasi-axinte","id":15649459,"node_id":"MDQ6VXNlcjE1NjQ5NDU5","avatar_url":"https://avatars0.githubusercontent.com/u/15649459?v=4","gravatar_id":"","url":"https://api.github.com/users/vasi-axinte","html_url":"https://github.com/vasi-axinte","followers_url":"https://api.github.com/users/vasi-axinte/followers","following_url":"https://api.github.com/users/vasi-axinte/following{/other_user}","gists_url":"https://api.github.com/users/vasi-axinte/gists{/gist_id}","starred_url":"https://api.github.com/users/vasi-axinte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasi-axinte/subscriptions","organizations_url":"https://api.github.com/users/vasi-axinte/orgs","repos_url":"https://api.github.com/users/vasi-axinte/repos","events_url":"https://api.github.com/users/vasi-axinte/events{/privacy}","received_events_url":"https://api.github.com/users/vasi-axinte/received_events","type":"User","site_admin":false},"body":"This magic number 7 should be extracted in a constant in case in the future somebody would like it to become 8 or 10 or 5.","created_at":"2018-08-06T12:09:50Z","updated_at":"2018-08-06T12:12:45Z","html_url":"https://github.com/andrianwritek/VikinQuiz/pull/5#discussion_r207868280","pull_request_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/5","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/comments/207868280"},"html":{"href":"https://github.com/andrianwritek/VikinQuiz/pull/5#discussion_r207868280"},"pull_request":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/5","id":205397578,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1Mzk3NTc4","html_url":"https://github.com/andrianwritek/VikinQuiz/pull/5","diff_url":"https://github.com/andrianwritek/VikinQuiz/pull/5.diff","patch_url":"https://github.com/andrianwritek/VikinQuiz/pull/5.patch","issue_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues/5","number":5,"state":"open","locked":false,"title":"Create Quiz For Friends","user":{"login":"louisavasies","id":38506745,"node_id":"MDQ6VXNlcjM4NTA2NzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/38506745?v=4","gravatar_id":"","url":"https://api.github.com/users/louisavasies","html_url":"https://github.com/louisavasies","followers_url":"https://api.github.com/users/louisavasies/followers","following_url":"https://api.github.com/users/louisavasies/following{/other_user}","gists_url":"https://api.github.com/users/louisavasies/gists{/gist_id}","starred_url":"https://api.github.com/users/louisavasies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louisavasies/subscriptions","organizations_url":"https://api.github.com/users/louisavasies/orgs","repos_url":"https://api.github.com/users/louisavasies/repos","events_url":"https://api.github.com/users/louisavasies/events{/privacy}","received_events_url":"https://api.github.com/users/louisavasies/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-01T11:43:34Z","updated_at":"2018-08-06T12:12:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03f2944aa38966a1894126841f0dea6c6a9e00ac","assignee":{"login":"vasi-axinte","id":15649459,"node_id":"MDQ6VXNlcjE1NjQ5NDU5","avatar_url":"https://avatars0.githubusercontent.com/u/15649459?v=4","gravatar_id":"","url":"https://api.github.com/users/vasi-axinte","html_url":"https://github.com/vasi-axinte","followers_url":"https://api.github.com/users/vasi-axinte/followers","following_url":"https://api.github.com/users/vasi-axinte/following{/other_user}","gists_url":"https://api.github.com/users/vasi-axinte/gists{/gist_id}","starred_url":"https://api.github.com/users/vasi-axinte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasi-axinte/subscriptions","organizations_url":"https://api.github.com/users/vasi-axinte/orgs","repos_url":"https://api.github.com/users/vasi-axinte/repos","events_url":"https://api.github.com/users/vasi-axinte/events{/privacy}","received_events_url":"https://api.github.com/users/vasi-axinte/received_events","type":"User","site_admin":false},"assignees":[{"login":"vasi-axinte","id":15649459,"node_id":"MDQ6VXNlcjE1NjQ5NDU5","avatar_url":"https://avatars0.githubusercontent.com/u/15649459?v=4","gravatar_id":"","url":"https://api.github.com/users/vasi-axinte","html_url":"https://github.com/vasi-axinte","followers_url":"https://api.github.com/users/vasi-axinte/followers","following_url":"https://api.github.com/users/vasi-axinte/following{/other_user}","gists_url":"https://api.github.com/users/vasi-axinte/gists{/gist_id}","starred_url":"https://api.github.com/users/vasi-axinte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasi-axinte/subscriptions","organizations_url":"https://api.github.com/users/vasi-axinte/orgs","repos_url":"https://api.github.com/users/vasi-axinte/repos","events_url":"https://api.github.com/users/vasi-axinte/events{/privacy}","received_events_url":"https://api.github.com/users/vasi-axinte/received_events","type":"User","site_admin":false},{"login":"andrianwritek","id":41794160,"node_id":"MDQ6VXNlcjQxNzk0MTYw","avatar_url":"https://avatars2.githubusercontent.com/u/41794160?v=4","gravatar_id":"","url":"https://api.github.com/users/andrianwritek","html_url":"https://github.com/andrianwritek","followers_url":"https://api.github.com/users/andrianwritek/followers","following_url":"https://api.github.com/users/andrianwritek/following{/other_user}","gists_url":"https://api.github.com/users/andrianwritek/gists{/gist_id}","starred_url":"https://api.github.com/users/andrianwritek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrianwritek/subscriptions","organizations_url":"https://api.github.com/users/andrianwritek/orgs","repos_url":"https://api.github.com/users/andrianwritek/repos","events_url":"https://api.github.com/users/andrianwritek/events{/privacy}","received_events_url":"https://api.github.com/users/andrianwritek/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/5/commits","review_comments_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/5/comments","review_comment_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues/5/comments","statuses_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/statuses/8fdb93f80dfafece4fb3d03b74e290b8f93200cc","head":{"label":"andrianwritek:INT2018-10-Create-Quiz-For-Friends","ref":"INT2018-10-Create-Quiz-For-Friends","sha":"8fdb93f80dfafece4fb3d03b74e290b8f93200cc","user":{"login":"andrianwritek","id":41794160,"node_id":"MDQ6VXNlcjQxNzk0MTYw","avatar_url":"https://avatars2.githubusercontent.com/u/41794160?v=4","gravatar_id":"","url":"https://api.github.com/users/andrianwritek","html_url":"https://github.com/andrianwritek","followers_url":"https://api.github.com/users/andrianwritek/followers","following_url":"https://api.github.com/users/andrianwritek/following{/other_user}","gists_url":"https://api.github.com/users/andrianwritek/gists{/gist_id}","starred_url":"https://api.github.com/users/andrianwritek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrianwritek/subscriptions","organizations_url":"https://api.github.com/users/andrianwritek/orgs","repos_url":"https://api.github.com/users/andrianwritek/repos","events_url":"https://api.github.com/users/andrianwritek/events{/privacy}","received_events_url":"https://api.github.com/users/andrianwritek/received_events","type":"User","site_admin":false},"repo":{"id":139843762,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4NDM3NjI=","name":"VikinQuiz","full_name":"andrianwritek/VikinQuiz","owner":{"login":"andrianwritek","id":41794160,"node_id":"MDQ6VXNlcjQxNzk0MTYw","avatar_url":"https://avatars2.githubusercontent.com/u/41794160?v=4","gravatar_id":"","url":"https://api.github.com/users/andrianwritek","html_url":"https://github.com/andrianwritek","followers_url":"https://api.github.com/users/andrianwritek/followers","following_url":"https://api.github.com/users/andrianwritek/following{/other_user}","gists_url":"https://api.github.com/users/andrianwritek/gists{/gist_id}","starred_url":"https://api.github.com/users/andrianwritek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrianwritek/subscriptions","organizations_url":"https://api.github.com/users/andrianwritek/orgs","repos_url":"https://api.github.com/users/andrianwritek/repos","events_url":"https://api.github.com/users/andrianwritek/events{/privacy}","received_events_url":"https://api.github.com/users/andrianwritek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrianwritek/VikinQuiz","description":"The repository for the 2018 summer internship","fork":false,"url":"https://api.github.com/repos/andrianwritek/VikinQuiz","forks_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/forks","keys_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/teams","hooks_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/hooks","issue_events_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues/events{/number}","events_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/events","assignees_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/assignees{/user}","branches_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/branches{/branch}","tags_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/tags","blobs_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/statuses/{sha}","languages_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/languages","stargazers_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/stargazers","contributors_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/contributors","subscribers_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/subscribers","subscription_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/subscription","commits_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/contents/{+path}","compare_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/merges","archive_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/downloads","issues_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues{/number}","pulls_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls{/number}","milestones_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/milestones{/number}","notifications_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/labels{/name}","releases_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/releases{/id}","deployments_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/deployments","created_at":"2018-07-05T12:05:35Z","updated_at":"2018-07-30T11:03:15Z","pushed_at":"2018-08-06T12:03:17Z","git_url":"git://github.com/andrianwritek/VikinQuiz.git","ssh_url":"git@github.com:andrianwritek/VikinQuiz.git","clone_url":"https://github.com/andrianwritek/VikinQuiz.git","svn_url":"https://github.com/andrianwritek/VikinQuiz","homepage":null,"size":28298,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"andrianwritek:develop","ref":"develop","sha":"5fba30a2fa75852ef02e9436e4bfea1c01b9121f","user":{"login":"andrianwritek","id":41794160,"node_id":"MDQ6VXNlcjQxNzk0MTYw","avatar_url":"https://avatars2.githubusercontent.com/u/41794160?v=4","gravatar_id":"","url":"https://api.github.com/users/andrianwritek","html_url":"https://github.com/andrianwritek","followers_url":"https://api.github.com/users/andrianwritek/followers","following_url":"https://api.github.com/users/andrianwritek/following{/other_user}","gists_url":"https://api.github.com/users/andrianwritek/gists{/gist_id}","starred_url":"https://api.github.com/users/andrianwritek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrianwritek/subscriptions","organizations_url":"https://api.github.com/users/andrianwritek/orgs","repos_url":"https://api.github.com/users/andrianwritek/repos","events_url":"https://api.github.com/users/andrianwritek/events{/privacy}","received_events_url":"https://api.github.com/users/andrianwritek/received_events","type":"User","site_admin":false},"repo":{"id":139843762,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk4NDM3NjI=","name":"VikinQuiz","full_name":"andrianwritek/VikinQuiz","owner":{"login":"andrianwritek","id":41794160,"node_id":"MDQ6VXNlcjQxNzk0MTYw","avatar_url":"https://avatars2.githubusercontent.com/u/41794160?v=4","gravatar_id":"","url":"https://api.github.com/users/andrianwritek","html_url":"https://github.com/andrianwritek","followers_url":"https://api.github.com/users/andrianwritek/followers","following_url":"https://api.github.com/users/andrianwritek/following{/other_user}","gists_url":"https://api.github.com/users/andrianwritek/gists{/gist_id}","starred_url":"https://api.github.com/users/andrianwritek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrianwritek/subscriptions","organizations_url":"https://api.github.com/users/andrianwritek/orgs","repos_url":"https://api.github.com/users/andrianwritek/repos","events_url":"https://api.github.com/users/andrianwritek/events{/privacy}","received_events_url":"https://api.github.com/users/andrianwritek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrianwritek/VikinQuiz","description":"The repository for the 2018 summer internship","fork":false,"url":"https://api.github.com/repos/andrianwritek/VikinQuiz","forks_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/forks","keys_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/teams","hooks_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/hooks","issue_events_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues/events{/number}","events_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/events","assignees_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/assignees{/user}","branches_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/branches{/branch}","tags_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/tags","blobs_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/statuses/{sha}","languages_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/languages","stargazers_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/stargazers","contributors_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/contributors","subscribers_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/subscribers","subscription_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/subscription","commits_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/contents/{+path}","compare_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/merges","archive_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/downloads","issues_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues{/number}","pulls_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls{/number}","milestones_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/milestones{/number}","notifications_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/labels{/name}","releases_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/releases{/id}","deployments_url":"https://api.github.com/repos/andrianwritek/VikinQuiz/deployments","created_at":"2018-07-05T12:05:35Z","updated_at":"2018-07-30T11:03:15Z","pushed_at":"2018-08-06T12:03:17Z","git_url":"git://github.com/andrianwritek/VikinQuiz.git","ssh_url":"git@github.com:andrianwritek/VikinQuiz.git","clone_url":"https://github.com/andrianwritek/VikinQuiz.git","svn_url":"https://github.com/andrianwritek/VikinQuiz","homepage":null,"size":28298,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/5"},"html":{"href":"https://github.com/andrianwritek/VikinQuiz/pull/5"},"issue":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues/5"},"comments":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/andrianwritek/VikinQuiz/statuses/8fdb93f80dfafece4fb3d03b74e290b8f93200cc"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vasi-axinte"}}