{"action":"created","comment":{"url":"https://api.github.com/repos/SEMGR8/game/pulls/comments/38900890","id":38900890,"diff_hunk":"@@ -7,16 +7,25 @@\n import java.util.Random;\n import java.util.Scanner;\n \n+/**\n+ * Represents the Bejeweled board with pieces and executes all operations on the board (such as\n+ * swapping pieces, removing pieces, etc.).\n+ */\n public class Board {\n \n     public static final int GRID_DIMENSIONS = 8;\n     private Piece[][] grid = new Piece[GRID_DIMENSIONS][GRID_DIMENSIONS];\n+    private int score = 0;\n \n     public Board(Piece[][] grid) {\n         this.grid = grid;\n     }\n \n-\n+    /**\n+     * Constructs a new Board object according to the configuration of the grid argument.\n+     *\n+     * @param grid the configuration of the new Board object\n+     */","path":"src/main/java/nl/tudelft/ti2206/semgr8/model/Board.java","position":23,"original_position":23,"commit_id":"c0e216cdd8aa6c60d589a7f8a41c1bc74fac81cd","original_commit_id":"c0e216cdd8aa6c60d589a7f8a41c1bc74fac81cd","user":{"login":"kiliangrashoff","id":4088964,"avatar_url":"https://avatars.githubusercontent.com/u/4088964?v=3","gravatar_id":"","url":"https://api.github.com/users/kiliangrashoff","html_url":"https://github.com/kiliangrashoff","followers_url":"https://api.github.com/users/kiliangrashoff/followers","following_url":"https://api.github.com/users/kiliangrashoff/following{/other_user}","gists_url":"https://api.github.com/users/kiliangrashoff/gists{/gist_id}","starred_url":"https://api.github.com/users/kiliangrashoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiliangrashoff/subscriptions","organizations_url":"https://api.github.com/users/kiliangrashoff/orgs","repos_url":"https://api.github.com/users/kiliangrashoff/repos","events_url":"https://api.github.com/users/kiliangrashoff/events{/privacy}","received_events_url":"https://api.github.com/users/kiliangrashoff/received_events","type":"User","site_admin":false},"body":"grid is not used, perhaps this constructor is deprecated?","created_at":"2015-09-08T08:30:16Z","updated_at":"2015-09-08T08:30:16Z","html_url":"https://github.com/SEMGR8/game/pull/6#discussion_r38900890","pull_request_url":"https://api.github.com/repos/SEMGR8/game/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/comments/38900890"},"html":{"href":"https://github.com/SEMGR8/game/pull/6#discussion_r38900890"},"pull_request":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/SEMGR8/game/pulls/6","id":44403833,"html_url":"https://github.com/SEMGR8/game/pull/6","diff_url":"https://github.com/SEMGR8/game/pull/6.diff","patch_url":"https://github.com/SEMGR8/game/pull/6.patch","issue_url":"https://api.github.com/repos/SEMGR8/game/issues/6","number":6,"state":"open","locked":false,"title":"Feature/board","user":{"login":"kiliangrashoff","id":4088964,"avatar_url":"https://avatars.githubusercontent.com/u/4088964?v=3","gravatar_id":"","url":"https://api.github.com/users/kiliangrashoff","html_url":"https://github.com/kiliangrashoff","followers_url":"https://api.github.com/users/kiliangrashoff/followers","following_url":"https://api.github.com/users/kiliangrashoff/following{/other_user}","gists_url":"https://api.github.com/users/kiliangrashoff/gists{/gist_id}","starred_url":"https://api.github.com/users/kiliangrashoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiliangrashoff/subscriptions","organizations_url":"https://api.github.com/users/kiliangrashoff/orgs","repos_url":"https://api.github.com/users/kiliangrashoff/repos","events_url":"https://api.github.com/users/kiliangrashoff/events{/privacy}","received_events_url":"https://api.github.com/users/kiliangrashoff/received_events","type":"User","site_admin":false},"body":"Updated board model by Henk and Wytze","created_at":"2015-09-08T08:17:03Z","updated_at":"2015-09-08T08:30:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5edebfee66ca9534dd464e87c7a444d68ae332d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SEMGR8/game/pulls/6/commits","review_comments_url":"https://api.github.com/repos/SEMGR8/game/pulls/6/comments","review_comment_url":"https://api.github.com/repos/SEMGR8/game/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SEMGR8/game/issues/6/comments","statuses_url":"https://api.github.com/repos/SEMGR8/game/statuses/c0e216cdd8aa6c60d589a7f8a41c1bc74fac81cd","head":{"label":"SEMGR8:feature/board","ref":"feature/board","sha":"c0e216cdd8aa6c60d589a7f8a41c1bc74fac81cd","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-02T12:32:44Z","pushed_at":"2015-09-08T08:26:13Z","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":308,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"SEMGR8:master","ref":"master","sha":"5f91bd560b91206782752017b5662c30e5f10da4","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-02T12:32:44Z","pushed_at":"2015-09-08T08:26:13Z","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":308,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/6"},"html":{"href":"https://github.com/SEMGR8/game/pull/6"},"issue":{"href":"https://api.github.com/repos/SEMGR8/game/issues/6"},"comments":{"href":"https://api.github.com/repos/SEMGR8/game/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SEMGR8/game/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/SEMGR8/game/statuses/c0e216cdd8aa6c60d589a7f8a41c1bc74fac81cd"}}}}