{"action":"created","comment":{"url":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/comments/59541662","id":59541662,"diff_hunk":"@@ -0,0 +1,87 @@\n+#include \"ConsoleFunctions.h\"\n+#include <iostream>\n+#include <string>\n+\n+using namespace std;\n+\n+void ConsoleFuntions::PrintBoard(GoBoard &goBoard)\n+{\n+\tboard CurrentBoard = goBoard.ReturnGoBoard();\n+\tuint8_t SizeOfCurrentBoard = goBoard.ReturnGoBoardSize();\n+\tfor (uint8_t x = 0; x < SizeOfCurrentBoard; x++)\n+\t{\n+\t\tfor (uint8_t y = 0; y < SizeOfCurrentBoard; y++)\n+\t\t{\n+\t\t\tswitch (CurrentBoard[x][y])\n+\t\t\t{\n+\t\t\tcase stone::EMPTY:\n+\t\t\t\tcout << \"+ \";\n+\t\t\t\tbreak;\n+\t\t\tcase stone::BLACK:\n+\t\t\t\tcout << \"O \";\n+\t\t\t\tbreak;\n+\t\t\tcase stone::WHITE:\n+\t\t\t\tcout << \"0 \";\n+\t\t\t\tbreak;\n+\t\t\t}\n+\t\t}\n+\t\tcout << endl;\n+\t}\n+}\n+\n+void ConsoleFuntions::playerMove(GoBoard &goBoard)","path":"ConsoleApplicationGoBoard/ConsoleFunctions.cpp","position":32,"original_position":32,"commit_id":"65b2b5e52c898233d439cc1bb06d73e66ba7462c","original_commit_id":"65b2b5e52c898233d439cc1bb06d73e66ba7462c","user":{"login":"mdodkins","id":1597865,"avatar_url":"https://avatars.githubusercontent.com/u/1597865?v=3","gravatar_id":"","url":"https://api.github.com/users/mdodkins","html_url":"https://github.com/mdodkins","followers_url":"https://api.github.com/users/mdodkins/followers","following_url":"https://api.github.com/users/mdodkins/following{/other_user}","gists_url":"https://api.github.com/users/mdodkins/gists{/gist_id}","starred_url":"https://api.github.com/users/mdodkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdodkins/subscriptions","organizations_url":"https://api.github.com/users/mdodkins/orgs","repos_url":"https://api.github.com/users/mdodkins/repos","events_url":"https://api.github.com/users/mdodkins/events{/privacy}","received_events_url":"https://api.github.com/users/mdodkins/received_events","type":"User","site_admin":false},"body":"why does this function start with a lower case 'p'? prefer you stick to one convention and change this to:\r\n\"PlayerMove\"","created_at":"2016-04-13T12:52:18Z","updated_at":"2016-04-13T12:52:18Z","html_url":"https://github.com/harvey-taylor/Go-Client/pull/6#discussion_r59541662","pull_request_url":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/comments/59541662"},"html":{"href":"https://github.com/harvey-taylor/Go-Client/pull/6#discussion_r59541662"},"pull_request":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/6","id":66313842,"html_url":"https://github.com/harvey-taylor/Go-Client/pull/6","diff_url":"https://github.com/harvey-taylor/Go-Client/pull/6.diff","patch_url":"https://github.com/harvey-taylor/Go-Client/pull/6.patch","issue_url":"https://api.github.com/repos/harvey-taylor/Go-Client/issues/6","number":6,"state":"closed","locked":false,"title":"Added Basic Connsole Application and refactored","user":{"login":"harvey-taylor","id":15628471,"avatar_url":"https://avatars.githubusercontent.com/u/15628471?v=3","gravatar_id":"","url":"https://api.github.com/users/harvey-taylor","html_url":"https://github.com/harvey-taylor","followers_url":"https://api.github.com/users/harvey-taylor/followers","following_url":"https://api.github.com/users/harvey-taylor/following{/other_user}","gists_url":"https://api.github.com/users/harvey-taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/harvey-taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harvey-taylor/subscriptions","organizations_url":"https://api.github.com/users/harvey-taylor/orgs","repos_url":"https://api.github.com/users/harvey-taylor/repos","events_url":"https://api.github.com/users/harvey-taylor/events{/privacy}","received_events_url":"https://api.github.com/users/harvey-taylor/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-13T12:38:58Z","updated_at":"2016-04-13T12:52:18Z","closed_at":"2016-04-13T12:42:42Z","merged_at":"2016-04-13T12:42:42Z","merge_commit_sha":"48a5de83a7618e7f95762d90698f7f6804c8bb38","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/6/commits","review_comments_url":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/6/comments","review_comment_url":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/harvey-taylor/Go-Client/issues/6/comments","statuses_url":"https://api.github.com/repos/harvey-taylor/Go-Client/statuses/65b2b5e52c898233d439cc1bb06d73e66ba7462c","head":{"label":"harvey-taylor:AddBasicConsolApp","ref":"AddBasicConsolApp","sha":"65b2b5e52c898233d439cc1bb06d73e66ba7462c","user":{"login":"harvey-taylor","id":15628471,"avatar_url":"https://avatars.githubusercontent.com/u/15628471?v=3","gravatar_id":"","url":"https://api.github.com/users/harvey-taylor","html_url":"https://github.com/harvey-taylor","followers_url":"https://api.github.com/users/harvey-taylor/followers","following_url":"https://api.github.com/users/harvey-taylor/following{/other_user}","gists_url":"https://api.github.com/users/harvey-taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/harvey-taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harvey-taylor/subscriptions","organizations_url":"https://api.github.com/users/harvey-taylor/orgs","repos_url":"https://api.github.com/users/harvey-taylor/repos","events_url":"https://api.github.com/users/harvey-taylor/events{/privacy}","received_events_url":"https://api.github.com/users/harvey-taylor/received_events","type":"User","site_admin":false},"repo":{"id":51510472,"name":"Go-Client","full_name":"harvey-taylor/Go-Client","owner":{"login":"harvey-taylor","id":15628471,"avatar_url":"https://avatars.githubusercontent.com/u/15628471?v=3","gravatar_id":"","url":"https://api.github.com/users/harvey-taylor","html_url":"https://github.com/harvey-taylor","followers_url":"https://api.github.com/users/harvey-taylor/followers","following_url":"https://api.github.com/users/harvey-taylor/following{/other_user}","gists_url":"https://api.github.com/users/harvey-taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/harvey-taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harvey-taylor/subscriptions","organizations_url":"https://api.github.com/users/harvey-taylor/orgs","repos_url":"https://api.github.com/users/harvey-taylor/repos","events_url":"https://api.github.com/users/harvey-taylor/events{/privacy}","received_events_url":"https://api.github.com/users/harvey-taylor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harvey-taylor/Go-Client","description":"Go Client ","fork":false,"url":"https://api.github.com/repos/harvey-taylor/Go-Client","forks_url":"https://api.github.com/repos/harvey-taylor/Go-Client/forks","keys_url":"https://api.github.com/repos/harvey-taylor/Go-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harvey-taylor/Go-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harvey-taylor/Go-Client/teams","hooks_url":"https://api.github.com/repos/harvey-taylor/Go-Client/hooks","issue_events_url":"https://api.github.com/repos/harvey-taylor/Go-Client/issues/events{/number}","events_url":"https://api.github.com/repos/harvey-taylor/Go-Client/events","assignees_url":"https://api.github.com/repos/harvey-taylor/Go-Client/assignees{/user}","branches_url":"https://api.github.com/repos/harvey-taylor/Go-Client/branches{/branch}","tags_url":"https://api.github.com/repos/harvey-taylor/Go-Client/tags","blobs_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harvey-taylor/Go-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/harvey-taylor/Go-Client/languages","stargazers_url":"https://api.github.com/repos/harvey-taylor/Go-Client/stargazers","contributors_url":"https://api.github.com/repos/harvey-taylor/Go-Client/contributors","subscribers_url":"https://api.github.com/repos/harvey-taylor/Go-Client/subscribers","subscription_url":"https://api.github.com/repos/harvey-taylor/Go-Client/subscription","commits_url":"https://api.github.com/repos/harvey-taylor/Go-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/harvey-taylor/Go-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/harvey-taylor/Go-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/harvey-taylor/Go-Client/contents/{+path}","compare_url":"https://api.github.com/repos/harvey-taylor/Go-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harvey-taylor/Go-Client/merges","archive_url":"https://api.github.com/repos/harvey-taylor/Go-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harvey-taylor/Go-Client/downloads","issues_url":"https://api.github.com/repos/harvey-taylor/Go-Client/issues{/number}","pulls_url":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/harvey-taylor/Go-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/harvey-taylor/Go-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harvey-taylor/Go-Client/labels{/name}","releases_url":"https://api.github.com/repos/harvey-taylor/Go-Client/releases{/id}","deployments_url":"https://api.github.com/repos/harvey-taylor/Go-Client/deployments","created_at":"2016-02-11T11:28:36Z","updated_at":"2016-02-11T11:38:54Z","pushed_at":"2016-04-13T12:42:43Z","git_url":"git://github.com/harvey-taylor/Go-Client.git","ssh_url":"git@github.com:harvey-taylor/Go-Client.git","clone_url":"https://github.com/harvey-taylor/Go-Client.git","svn_url":"https://github.com/harvey-taylor/Go-Client","homepage":null,"size":58410,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"harvey-taylor:master","ref":"master","sha":"2d6e6c702a12b32010df8d74cda9b2793fcdaafe","user":{"login":"harvey-taylor","id":15628471,"avatar_url":"https://avatars.githubusercontent.com/u/15628471?v=3","gravatar_id":"","url":"https://api.github.com/users/harvey-taylor","html_url":"https://github.com/harvey-taylor","followers_url":"https://api.github.com/users/harvey-taylor/followers","following_url":"https://api.github.com/users/harvey-taylor/following{/other_user}","gists_url":"https://api.github.com/users/harvey-taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/harvey-taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harvey-taylor/subscriptions","organizations_url":"https://api.github.com/users/harvey-taylor/orgs","repos_url":"https://api.github.com/users/harvey-taylor/repos","events_url":"https://api.github.com/users/harvey-taylor/events{/privacy}","received_events_url":"https://api.github.com/users/harvey-taylor/received_events","type":"User","site_admin":false},"repo":{"id":51510472,"name":"Go-Client","full_name":"harvey-taylor/Go-Client","owner":{"login":"harvey-taylor","id":15628471,"avatar_url":"https://avatars.githubusercontent.com/u/15628471?v=3","gravatar_id":"","url":"https://api.github.com/users/harvey-taylor","html_url":"https://github.com/harvey-taylor","followers_url":"https://api.github.com/users/harvey-taylor/followers","following_url":"https://api.github.com/users/harvey-taylor/following{/other_user}","gists_url":"https://api.github.com/users/harvey-taylor/gists{/gist_id}","starred_url":"https://api.github.com/users/harvey-taylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harvey-taylor/subscriptions","organizations_url":"https://api.github.com/users/harvey-taylor/orgs","repos_url":"https://api.github.com/users/harvey-taylor/repos","events_url":"https://api.github.com/users/harvey-taylor/events{/privacy}","received_events_url":"https://api.github.com/users/harvey-taylor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harvey-taylor/Go-Client","description":"Go Client ","fork":false,"url":"https://api.github.com/repos/harvey-taylor/Go-Client","forks_url":"https://api.github.com/repos/harvey-taylor/Go-Client/forks","keys_url":"https://api.github.com/repos/harvey-taylor/Go-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harvey-taylor/Go-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harvey-taylor/Go-Client/teams","hooks_url":"https://api.github.com/repos/harvey-taylor/Go-Client/hooks","issue_events_url":"https://api.github.com/repos/harvey-taylor/Go-Client/issues/events{/number}","events_url":"https://api.github.com/repos/harvey-taylor/Go-Client/events","assignees_url":"https://api.github.com/repos/harvey-taylor/Go-Client/assignees{/user}","branches_url":"https://api.github.com/repos/harvey-taylor/Go-Client/branches{/branch}","tags_url":"https://api.github.com/repos/harvey-taylor/Go-Client/tags","blobs_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harvey-taylor/Go-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/harvey-taylor/Go-Client/languages","stargazers_url":"https://api.github.com/repos/harvey-taylor/Go-Client/stargazers","contributors_url":"https://api.github.com/repos/harvey-taylor/Go-Client/contributors","subscribers_url":"https://api.github.com/repos/harvey-taylor/Go-Client/subscribers","subscription_url":"https://api.github.com/repos/harvey-taylor/Go-Client/subscription","commits_url":"https://api.github.com/repos/harvey-taylor/Go-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/harvey-taylor/Go-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/harvey-taylor/Go-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/harvey-taylor/Go-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/harvey-taylor/Go-Client/contents/{+path}","compare_url":"https://api.github.com/repos/harvey-taylor/Go-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harvey-taylor/Go-Client/merges","archive_url":"https://api.github.com/repos/harvey-taylor/Go-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harvey-taylor/Go-Client/downloads","issues_url":"https://api.github.com/repos/harvey-taylor/Go-Client/issues{/number}","pulls_url":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/harvey-taylor/Go-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/harvey-taylor/Go-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harvey-taylor/Go-Client/labels{/name}","releases_url":"https://api.github.com/repos/harvey-taylor/Go-Client/releases{/id}","deployments_url":"https://api.github.com/repos/harvey-taylor/Go-Client/deployments","created_at":"2016-02-11T11:28:36Z","updated_at":"2016-02-11T11:38:54Z","pushed_at":"2016-04-13T12:42:43Z","git_url":"git://github.com/harvey-taylor/Go-Client.git","ssh_url":"git@github.com:harvey-taylor/Go-Client.git","clone_url":"https://github.com/harvey-taylor/Go-Client.git","svn_url":"https://github.com/harvey-taylor/Go-Client","homepage":null,"size":58410,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/6"},"html":{"href":"https://github.com/harvey-taylor/Go-Client/pull/6"},"issue":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/issues/6"},"comments":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/harvey-taylor/Go-Client/statuses/65b2b5e52c898233d439cc1bb06d73e66ba7462c"}}}}