{"action":"created","comment":{"url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/comments/52851077","id":52851077,"diff_hunk":"@@ -0,0 +1,50 @@\n+continue\n+next\n+continue\n+contineut\n+next\n+@piece_white\n+white_piece\n+next\n+white_piece\n+continue\n+next\n+continue\n+player.pieces\n+player\n+next\n+occupied_space?(destination_row, destination_column)\n+destination_column\n+destination_row\n+continue\n+next\n+@name\n+next\n+params\n+continue\n+next\n+params\n+@name\n+next\n+params[:bob]\n+continue\n+params\n+params[:test] = \"hello\"\n+params\n+exit\n+next\n+quit\n+next\n+quit\n+next\n+quit\n+next\n+quit\n+next\n+quit\n+finish\n+bt\n+next\n+pry\n+next\n+info","path":".byebug_history","position":50,"original_position":50,"commit_id":"a5b9997699131085731a817fa511a852a3527b7b","original_commit_id":"a5b9997699131085731a817fa511a852a3527b7b","user":{"login":"mscoutermarsh","id":155044,"avatar_url":"https://avatars.githubusercontent.com/u/155044?v=3","gravatar_id":"","url":"https://api.github.com/users/mscoutermarsh","html_url":"https://github.com/mscoutermarsh","followers_url":"https://api.github.com/users/mscoutermarsh/followers","following_url":"https://api.github.com/users/mscoutermarsh/following{/other_user}","gists_url":"https://api.github.com/users/mscoutermarsh/gists{/gist_id}","starred_url":"https://api.github.com/users/mscoutermarsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscoutermarsh/subscriptions","organizations_url":"https://api.github.com/users/mscoutermarsh/orgs","repos_url":"https://api.github.com/users/mscoutermarsh/repos","events_url":"https://api.github.com/users/mscoutermarsh/events{/privacy}","received_events_url":"https://api.github.com/users/mscoutermarsh/received_events","type":"User","site_admin":false},"body":"can you remove this file? doesn't need to be commited. Can be added to `.gitignore`\r\n\r\nmore info: https://git-scm.com/docs/gitignore","created_at":"2016-02-14T23:27:41Z","updated_at":"2016-02-14T23:27:41Z","html_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess/pull/22#discussion_r52851077","pull_request_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/comments/52851077"},"html":{"href":"https://github.com/FirehoseProjectTeamOrion/OrionChess/pull/22#discussion_r52851077"},"pull_request":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/22","id":59279774,"html_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess/pull/22","diff_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess/pull/22.diff","patch_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess/pull/22.patch","issue_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues/22","number":22,"state":"open","locked":false,"title":"The capture logic","user":{"login":"mmeitl","id":13967366,"avatar_url":"https://avatars.githubusercontent.com/u/13967366?v=3","gravatar_id":"","url":"https://api.github.com/users/mmeitl","html_url":"https://github.com/mmeitl","followers_url":"https://api.github.com/users/mmeitl/followers","following_url":"https://api.github.com/users/mmeitl/following{/other_user}","gists_url":"https://api.github.com/users/mmeitl/gists{/gist_id}","starred_url":"https://api.github.com/users/mmeitl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmeitl/subscriptions","organizations_url":"https://api.github.com/users/mmeitl/orgs","repos_url":"https://api.github.com/users/mmeitl/repos","events_url":"https://api.github.com/users/mmeitl/events{/privacy}","received_events_url":"https://api.github.com/users/mmeitl/received_events","type":"User","site_admin":false},"body":"Added byebug. It may prove useful to step your way through code to troubleshoot problems. Just drop byebug in a controller or test and you can see what values are being assigned to each variable as you step your way through.\r\n\r\nAdded a few tests to determine if the piece moved and captured a piece.","created_at":"2016-02-13T22:17:33Z","updated_at":"2016-02-14T23:27:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b985b510dcb6fd77e8a205b2575e7663bfa881f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/22/commits","review_comments_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/22/comments","review_comment_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues/22/comments","statuses_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/statuses/a5b9997699131085731a817fa511a852a3527b7b","head":{"label":"FirehoseProjectTeamOrion:the-capture-logic","ref":"the-capture-logic","sha":"a5b9997699131085731a817fa511a852a3527b7b","user":{"login":"FirehoseProjectTeamOrion","id":16872996,"avatar_url":"https://avatars.githubusercontent.com/u/16872996?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseProjectTeamOrion","html_url":"https://github.com/FirehoseProjectTeamOrion","followers_url":"https://api.github.com/users/FirehoseProjectTeamOrion/followers","following_url":"https://api.github.com/users/FirehoseProjectTeamOrion/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseProjectTeamOrion/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseProjectTeamOrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseProjectTeamOrion/subscriptions","organizations_url":"https://api.github.com/users/FirehoseProjectTeamOrion/orgs","repos_url":"https://api.github.com/users/FirehoseProjectTeamOrion/repos","events_url":"https://api.github.com/users/FirehoseProjectTeamOrion/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseProjectTeamOrion/received_events","type":"Organization","site_admin":false},"repo":{"id":50326447,"name":"OrionChess","full_name":"FirehoseProjectTeamOrion/OrionChess","owner":{"login":"FirehoseProjectTeamOrion","id":16872996,"avatar_url":"https://avatars.githubusercontent.com/u/16872996?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseProjectTeamOrion","html_url":"https://github.com/FirehoseProjectTeamOrion","followers_url":"https://api.github.com/users/FirehoseProjectTeamOrion/followers","following_url":"https://api.github.com/users/FirehoseProjectTeamOrion/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseProjectTeamOrion/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseProjectTeamOrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseProjectTeamOrion/subscriptions","organizations_url":"https://api.github.com/users/FirehoseProjectTeamOrion/orgs","repos_url":"https://api.github.com/users/FirehoseProjectTeamOrion/repos","events_url":"https://api.github.com/users/FirehoseProjectTeamOrion/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseProjectTeamOrion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess","description":"Agile Team project for Team Orion","fork":false,"url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess","forks_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/forks","keys_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/teams","hooks_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/hooks","issue_events_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues/events{/number}","events_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/events","assignees_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/assignees{/user}","branches_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/branches{/branch}","tags_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/tags","blobs_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/refs{/sha}","trees_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/statuses/{sha}","languages_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/languages","stargazers_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/stargazers","contributors_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/contributors","subscribers_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/subscribers","subscription_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/subscription","commits_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/commits{/sha}","git_commits_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/commits{/sha}","comments_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/comments{/number}","issue_comment_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues/comments{/number}","contents_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/contents/{+path}","compare_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/merges","archive_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/downloads","issues_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues{/number}","pulls_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls{/number}","milestones_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/milestones{/number}","notifications_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/labels{/name}","releases_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/releases{/id}","deployments_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/deployments","created_at":"2016-01-25T04:39:31Z","updated_at":"2016-01-25T05:18:59Z","pushed_at":"2016-02-14T18:54:24Z","git_url":"git://github.com/FirehoseProjectTeamOrion/OrionChess.git","ssh_url":"git@github.com:FirehoseProjectTeamOrion/OrionChess.git","clone_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess.git","svn_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess","homepage":"https://orionchess.herokuapp.com/","size":209,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":0,"default_branch":"master"}},"base":{"label":"FirehoseProjectTeamOrion:master","ref":"master","sha":"021d3430a2dd4aa3dfcc16e78a9d0832b985b727","user":{"login":"FirehoseProjectTeamOrion","id":16872996,"avatar_url":"https://avatars.githubusercontent.com/u/16872996?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseProjectTeamOrion","html_url":"https://github.com/FirehoseProjectTeamOrion","followers_url":"https://api.github.com/users/FirehoseProjectTeamOrion/followers","following_url":"https://api.github.com/users/FirehoseProjectTeamOrion/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseProjectTeamOrion/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseProjectTeamOrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseProjectTeamOrion/subscriptions","organizations_url":"https://api.github.com/users/FirehoseProjectTeamOrion/orgs","repos_url":"https://api.github.com/users/FirehoseProjectTeamOrion/repos","events_url":"https://api.github.com/users/FirehoseProjectTeamOrion/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseProjectTeamOrion/received_events","type":"Organization","site_admin":false},"repo":{"id":50326447,"name":"OrionChess","full_name":"FirehoseProjectTeamOrion/OrionChess","owner":{"login":"FirehoseProjectTeamOrion","id":16872996,"avatar_url":"https://avatars.githubusercontent.com/u/16872996?v=3","gravatar_id":"","url":"https://api.github.com/users/FirehoseProjectTeamOrion","html_url":"https://github.com/FirehoseProjectTeamOrion","followers_url":"https://api.github.com/users/FirehoseProjectTeamOrion/followers","following_url":"https://api.github.com/users/FirehoseProjectTeamOrion/following{/other_user}","gists_url":"https://api.github.com/users/FirehoseProjectTeamOrion/gists{/gist_id}","starred_url":"https://api.github.com/users/FirehoseProjectTeamOrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FirehoseProjectTeamOrion/subscriptions","organizations_url":"https://api.github.com/users/FirehoseProjectTeamOrion/orgs","repos_url":"https://api.github.com/users/FirehoseProjectTeamOrion/repos","events_url":"https://api.github.com/users/FirehoseProjectTeamOrion/events{/privacy}","received_events_url":"https://api.github.com/users/FirehoseProjectTeamOrion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess","description":"Agile Team project for Team Orion","fork":false,"url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess","forks_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/forks","keys_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/teams","hooks_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/hooks","issue_events_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues/events{/number}","events_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/events","assignees_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/assignees{/user}","branches_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/branches{/branch}","tags_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/tags","blobs_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/refs{/sha}","trees_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/statuses/{sha}","languages_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/languages","stargazers_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/stargazers","contributors_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/contributors","subscribers_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/subscribers","subscription_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/subscription","commits_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/commits{/sha}","git_commits_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/git/commits{/sha}","comments_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/comments{/number}","issue_comment_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues/comments{/number}","contents_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/contents/{+path}","compare_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/merges","archive_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/downloads","issues_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues{/number}","pulls_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls{/number}","milestones_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/milestones{/number}","notifications_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/labels{/name}","releases_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/releases{/id}","deployments_url":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/deployments","created_at":"2016-01-25T04:39:31Z","updated_at":"2016-01-25T05:18:59Z","pushed_at":"2016-02-14T18:54:24Z","git_url":"git://github.com/FirehoseProjectTeamOrion/OrionChess.git","ssh_url":"git@github.com:FirehoseProjectTeamOrion/OrionChess.git","clone_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess.git","svn_url":"https://github.com/FirehoseProjectTeamOrion/OrionChess","homepage":"https://orionchess.herokuapp.com/","size":209,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/22"},"html":{"href":"https://github.com/FirehoseProjectTeamOrion/OrionChess/pull/22"},"issue":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues/22"},"comments":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/FirehoseProjectTeamOrion/OrionChess/statuses/a5b9997699131085731a817fa511a852a3527b7b"}}}}