{"action":"created","comment":{"url":"https://api.github.com/repos/SEMGR8/game/pulls/comments/43104854","id":43104854,"diff_hunk":"@@ -124,7 +124,7 @@ public void updateScore() {\n      * @param s the integer score to be added.\n      */\n     public void addScore(int s) {\n-        score.addScore(s);\n+        score.addScore(s * level.getLevel());","path":"src/main/java/nl/tudelft/ti2206/semgr8/model/Game.java","position":5,"original_position":5,"commit_id":"d38ac719df3e58467c65e1f69d1ac60966d9abc3","original_commit_id":"d38ac719df3e58467c65e1f69d1ac60966d9abc3","user":{"login":"ghyl","id":7458269,"avatar_url":"https://avatars.githubusercontent.com/u/7458269?v=3","gravatar_id":"","url":"https://api.github.com/users/ghyl","html_url":"https://github.com/ghyl","followers_url":"https://api.github.com/users/ghyl/followers","following_url":"https://api.github.com/users/ghyl/following{/other_user}","gists_url":"https://api.github.com/users/ghyl/gists{/gist_id}","starred_url":"https://api.github.com/users/ghyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghyl/subscriptions","organizations_url":"https://api.github.com/users/ghyl/orgs","repos_url":"https://api.github.com/users/ghyl/repos","events_url":"https://api.github.com/users/ghyl/events{/privacy}","received_events_url":"https://api.github.com/users/ghyl/received_events","type":"User","site_admin":false},"body":"Multiplying the added score with the level seems like way too much of a bonus to me. You could better do something like: `s + Math.ceil(s * level.getLevel() * 0.1)` or something. Didn't play the game like this though.","created_at":"2015-10-27T10:34:07Z","updated_at":"2015-10-27T10:34:07Z","html_url":"https://github.com/SEMGR8/game/pull/87#discussion_r43104854","pull_request_url":"https://api.github.com/repos/SEMGR8/game/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/comments/43104854"},"html":{"href":"https://github.com/SEMGR8/game/pull/87#discussion_r43104854"},"pull_request":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/SEMGR8/game/pulls/87","id":48847131,"html_url":"https://github.com/SEMGR8/game/pull/87","diff_url":"https://github.com/SEMGR8/game/pull/87.diff","patch_url":"https://github.com/SEMGR8/game/pull/87.patch","issue_url":"https://api.github.com/repos/SEMGR8/game/issues/87","number":87,"state":"open","locked":false,"title":"Adapt methods to add score times the level and to increase level when…","user":{"login":"wroel","id":14070482,"avatar_url":"https://avatars.githubusercontent.com/u/14070482?v=3","gravatar_id":"","url":"https://api.github.com/users/wroel","html_url":"https://github.com/wroel","followers_url":"https://api.github.com/users/wroel/followers","following_url":"https://api.github.com/users/wroel/following{/other_user}","gists_url":"https://api.github.com/users/wroel/gists{/gist_id}","starred_url":"https://api.github.com/users/wroel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wroel/subscriptions","organizations_url":"https://api.github.com/users/wroel/orgs","repos_url":"https://api.github.com/users/wroel/repos","events_url":"https://api.github.com/users/wroel/events{/privacy}","received_events_url":"https://api.github.com/users/wroel/received_events","type":"User","site_admin":false},"body":"With this implementation the score needed to reach new level is multiplated with the level as well as the score awarded for a connected line.","created_at":"2015-10-27T09:42:15Z","updated_at":"2015-10-27T10:34:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"892d4ea9456f97b73864272b1ed5e1ac99295884","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SEMGR8/game/pulls/87/commits","review_comments_url":"https://api.github.com/repos/SEMGR8/game/pulls/87/comments","review_comment_url":"https://api.github.com/repos/SEMGR8/game/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SEMGR8/game/issues/87/comments","statuses_url":"https://api.github.com/repos/SEMGR8/game/statuses/d38ac719df3e58467c65e1f69d1ac60966d9abc3","head":{"label":"SEMGR8:feature/level","ref":"feature/level","sha":"d38ac719df3e58467c65e1f69d1ac60966d9abc3","user":{"login":"SEMGR8","id":14088887,"avatar_url":"https://avatars.githubusercontent.com/u/14088887?v=3","gravatar_id":"","url":"https://api.github.com/users/SEMGR8","html_url":"https://github.com/SEMGR8","followers_url":"https://api.github.com/users/SEMGR8/followers","following_url":"https://api.github.com/users/SEMGR8/following{/other_user}","gists_url":"https://api.github.com/users/SEMGR8/gists{/gist_id}","starred_url":"https://api.github.com/users/SEMGR8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEMGR8/subscriptions","organizations_url":"https://api.github.com/users/SEMGR8/orgs","repos_url":"https://api.github.com/users/SEMGR8/repos","events_url":"https://api.github.com/users/SEMGR8/events{/privacy}","received_events_url":"https://api.github.com/users/SEMGR8/received_events","type":"Organization","site_admin":false},"repo":{"id":41789540,"name":"game","full_name":"SEMGR8/game","owner":{"login":"SEMGR8","id":14088887,"avatar_url":"https://avatars.githubusercontent.com/u/14088887?v=3","gravatar_id":"","url":"https://api.github.com/users/SEMGR8","html_url":"https://github.com/SEMGR8","followers_url":"https://api.github.com/users/SEMGR8/followers","following_url":"https://api.github.com/users/SEMGR8/following{/other_user}","gists_url":"https://api.github.com/users/SEMGR8/gists{/gist_id}","starred_url":"https://api.github.com/users/SEMGR8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEMGR8/subscriptions","organizations_url":"https://api.github.com/users/SEMGR8/orgs","repos_url":"https://api.github.com/users/SEMGR8/repos","events_url":"https://api.github.com/users/SEMGR8/events{/privacy}","received_events_url":"https://api.github.com/users/SEMGR8/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SEMGR8/game","description":"","fork":false,"url":"https://api.github.com/repos/SEMGR8/game","forks_url":"https://api.github.com/repos/SEMGR8/game/forks","keys_url":"https://api.github.com/repos/SEMGR8/game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SEMGR8/game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SEMGR8/game/teams","hooks_url":"https://api.github.com/repos/SEMGR8/game/hooks","issue_events_url":"https://api.github.com/repos/SEMGR8/game/issues/events{/number}","events_url":"https://api.github.com/repos/SEMGR8/game/events","assignees_url":"https://api.github.com/repos/SEMGR8/game/assignees{/user}","branches_url":"https://api.github.com/repos/SEMGR8/game/branches{/branch}","tags_url":"https://api.github.com/repos/SEMGR8/game/tags","blobs_url":"https://api.github.com/repos/SEMGR8/game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SEMGR8/game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SEMGR8/game/git/refs{/sha}","trees_url":"https://api.github.com/repos/SEMGR8/game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SEMGR8/game/statuses/{sha}","languages_url":"https://api.github.com/repos/SEMGR8/game/languages","stargazers_url":"https://api.github.com/repos/SEMGR8/game/stargazers","contributors_url":"https://api.github.com/repos/SEMGR8/game/contributors","subscribers_url":"https://api.github.com/repos/SEMGR8/game/subscribers","subscription_url":"https://api.github.com/repos/SEMGR8/game/subscription","commits_url":"https://api.github.com/repos/SEMGR8/game/commits{/sha}","git_commits_url":"https://api.github.com/repos/SEMGR8/game/git/commits{/sha}","comments_url":"https://api.github.com/repos/SEMGR8/game/comments{/number}","issue_comment_url":"https://api.github.com/repos/SEMGR8/game/issues/comments{/number}","contents_url":"https://api.github.com/repos/SEMGR8/game/contents/{+path}","compare_url":"https://api.github.com/repos/SEMGR8/game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SEMGR8/game/merges","archive_url":"https://api.github.com/repos/SEMGR8/game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SEMGR8/game/downloads","issues_url":"https://api.github.com/repos/SEMGR8/game/issues{/number}","pulls_url":"https://api.github.com/repos/SEMGR8/game/pulls{/number}","milestones_url":"https://api.github.com/repos/SEMGR8/game/milestones{/number}","notifications_url":"https://api.github.com/repos/SEMGR8/game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SEMGR8/game/labels{/name}","releases_url":"https://api.github.com/repos/SEMGR8/game/releases{/id}","created_at":"2015-09-02T08:30:46Z","updated_at":"2015-09-09T10:06:58Z","pushed_at":"2015-10-27T10:31:20Z","git_url":"git://github.com/SEMGR8/game.git","ssh_url":"git@github.com:SEMGR8/game.git","clone_url":"https://github.com/SEMGR8/game.git","svn_url":"https://github.com/SEMGR8/game","homepage":null,"size":5432,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"SEMGR8:master","ref":"master","sha":"7ea6950b1eb5d07a182a292a4bc04b486cc10e18","user":{"login":"SEMGR8","id":14088887,"avatar_url":"https://avatars.githubusercontent.com/u/14088887?v=3","gravatar_id":"","url":"https://api.github.com/users/SEMGR8","html_url":"https://github.com/SEMGR8","followers_url":"https://api.github.com/users/SEMGR8/followers","following_url":"https://api.github.com/users/SEMGR8/following{/other_user}","gists_url":"https://api.github.com/users/SEMGR8/gists{/gist_id}","starred_url":"https://api.github.com/users/SEMGR8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEMGR8/subscriptions","organizations_url":"https://api.github.com/users/SEMGR8/orgs","repos_url":"https://api.github.com/users/SEMGR8/repos","events_url":"https://api.github.com/users/SEMGR8/events{/privacy}","received_events_url":"https://api.github.com/users/SEMGR8/received_events","type":"Organization","site_admin":false},"repo":{"id":41789540,"name":"game","full_name":"SEMGR8/game","owner":{"login":"SEMGR8","id":14088887,"avatar_url":"https://avatars.githubusercontent.com/u/14088887?v=3","gravatar_id":"","url":"https://api.github.com/users/SEMGR8","html_url":"https://github.com/SEMGR8","followers_url":"https://api.github.com/users/SEMGR8/followers","following_url":"https://api.github.com/users/SEMGR8/following{/other_user}","gists_url":"https://api.github.com/users/SEMGR8/gists{/gist_id}","starred_url":"https://api.github.com/users/SEMGR8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEMGR8/subscriptions","organizations_url":"https://api.github.com/users/SEMGR8/orgs","repos_url":"https://api.github.com/users/SEMGR8/repos","events_url":"https://api.github.com/users/SEMGR8/events{/privacy}","received_events_url":"https://api.github.com/users/SEMGR8/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SEMGR8/game","description":"","fork":false,"url":"https://api.github.com/repos/SEMGR8/game","forks_url":"https://api.github.com/repos/SEMGR8/game/forks","keys_url":"https://api.github.com/repos/SEMGR8/game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SEMGR8/game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SEMGR8/game/teams","hooks_url":"https://api.github.com/repos/SEMGR8/game/hooks","issue_events_url":"https://api.github.com/repos/SEMGR8/game/issues/events{/number}","events_url":"https://api.github.com/repos/SEMGR8/game/events","assignees_url":"https://api.github.com/repos/SEMGR8/game/assignees{/user}","branches_url":"https://api.github.com/repos/SEMGR8/game/branches{/branch}","tags_url":"https://api.github.com/repos/SEMGR8/game/tags","blobs_url":"https://api.github.com/repos/SEMGR8/game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SEMGR8/game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SEMGR8/game/git/refs{/sha}","trees_url":"https://api.github.com/repos/SEMGR8/game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SEMGR8/game/statuses/{sha}","languages_url":"https://api.github.com/repos/SEMGR8/game/languages","stargazers_url":"https://api.github.com/repos/SEMGR8/game/stargazers","contributors_url":"https://api.github.com/repos/SEMGR8/game/contributors","subscribers_url":"https://api.github.com/repos/SEMGR8/game/subscribers","subscription_url":"https://api.github.com/repos/SEMGR8/game/subscription","commits_url":"https://api.github.com/repos/SEMGR8/game/commits{/sha}","git_commits_url":"https://api.github.com/repos/SEMGR8/game/git/commits{/sha}","comments_url":"https://api.github.com/repos/SEMGR8/game/comments{/number}","issue_comment_url":"https://api.github.com/repos/SEMGR8/game/issues/comments{/number}","contents_url":"https://api.github.com/repos/SEMGR8/game/contents/{+path}","compare_url":"https://api.github.com/repos/SEMGR8/game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SEMGR8/game/merges","archive_url":"https://api.github.com/repos/SEMGR8/game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SEMGR8/game/downloads","issues_url":"https://api.github.com/repos/SEMGR8/game/issues{/number}","pulls_url":"https://api.github.com/repos/SEMGR8/game/pulls{/number}","milestones_url":"https://api.github.com/repos/SEMGR8/game/milestones{/number}","notifications_url":"https://api.github.com/repos/SEMGR8/game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SEMGR8/game/labels{/name}","releases_url":"https://api.github.com/repos/SEMGR8/game/releases{/id}","created_at":"2015-09-02T08:30:46Z","updated_at":"2015-09-09T10:06:58Z","pushed_at":"2015-10-27T10:31:20Z","git_url":"git://github.com/SEMGR8/game.git","ssh_url":"git@github.com:SEMGR8/game.git","clone_url":"https://github.com/SEMGR8/game.git","svn_url":"https://github.com/SEMGR8/game","homepage":null,"size":5432,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/87"},"html":{"href":"https://github.com/SEMGR8/game/pull/87"},"issue":{"href":"https://api.github.com/repos/SEMGR8/game/issues/87"},"comments":{"href":"https://api.github.com/repos/SEMGR8/game/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/SEMGR8/game/statuses/d38ac719df3e58467c65e1f69d1ac60966d9abc3"}}}}