{"action":"opened","number":45,"pull_request":{"url":"https://api.github.com/repos/FallGambit/fall_gambit/pulls/45","id":53149663,"html_url":"https://github.com/FallGambit/fall_gambit/pull/45","diff_url":"https://github.com/FallGambit/fall_gambit/pull/45.diff","patch_url":"https://github.com/FallGambit/fall_gambit/pull/45.patch","issue_url":"https://api.github.com/repos/FallGambit/fall_gambit/issues/45","number":45,"state":"open","locked":false,"title":"Adds #valid_move? for pawns.","user":{"login":"nicolaguidi","id":7400420,"avatar_url":"https://avatars.githubusercontent.com/u/7400420?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaguidi","html_url":"https://github.com/nicolaguidi","followers_url":"https://api.github.com/users/nicolaguidi/followers","following_url":"https://api.github.com/users/nicolaguidi/following{/other_user}","gists_url":"https://api.github.com/users/nicolaguidi/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaguidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaguidi/subscriptions","organizations_url":"https://api.github.com/users/nicolaguidi/orgs","repos_url":"https://api.github.com/users/nicolaguidi/repos","events_url":"https://api.github.com/users/nicolaguidi/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaguidi/received_events","type":"User","site_admin":false},"body":"The Pawn is a piece that moves only forward; I assumed the starting coordinates of the white pawns is `y_position = 1` and, for the black pawns `y_position = 6`.\r\nSo if the board gets modified this model may need tweaks too.","created_at":"2015-12-09T17:18:16Z","updated_at":"2015-12-09T17:18:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FallGambit/fall_gambit/pulls/45/commits","review_comments_url":"https://api.github.com/repos/FallGambit/fall_gambit/pulls/45/comments","review_comment_url":"https://api.github.com/repos/FallGambit/fall_gambit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FallGambit/fall_gambit/issues/45/comments","statuses_url":"https://api.github.com/repos/FallGambit/fall_gambit/statuses/a720e91f8da7ff048d3724aa26186220b1220fde","head":{"label":"FallGambit:ng/pawn_valid_move","ref":"ng/pawn_valid_move","sha":"a720e91f8da7ff048d3724aa26186220b1220fde","user":{"login":"FallGambit","id":15710535,"avatar_url":"https://avatars.githubusercontent.com/u/15710535?v=3","gravatar_id":"","url":"https://api.github.com/users/FallGambit","html_url":"https://github.com/FallGambit","followers_url":"https://api.github.com/users/FallGambit/followers","following_url":"https://api.github.com/users/FallGambit/following{/other_user}","gists_url":"https://api.github.com/users/FallGambit/gists{/gist_id}","starred_url":"https://api.github.com/users/FallGambit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FallGambit/subscriptions","organizations_url":"https://api.github.com/users/FallGambit/orgs","repos_url":"https://api.github.com/users/FallGambit/repos","events_url":"https://api.github.com/users/FallGambit/events{/privacy}","received_events_url":"https://api.github.com/users/FallGambit/received_events","type":"Organization","site_admin":false},"repo":{"id":45763248,"name":"fall_gambit","full_name":"FallGambit/fall_gambit","owner":{"login":"FallGambit","id":15710535,"avatar_url":"https://avatars.githubusercontent.com/u/15710535?v=3","gravatar_id":"","url":"https://api.github.com/users/FallGambit","html_url":"https://github.com/FallGambit","followers_url":"https://api.github.com/users/FallGambit/followers","following_url":"https://api.github.com/users/FallGambit/following{/other_user}","gists_url":"https://api.github.com/users/FallGambit/gists{/gist_id}","starred_url":"https://api.github.com/users/FallGambit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FallGambit/subscriptions","organizations_url":"https://api.github.com/users/FallGambit/orgs","repos_url":"https://api.github.com/users/FallGambit/repos","events_url":"https://api.github.com/users/FallGambit/events{/privacy}","received_events_url":"https://api.github.com/users/FallGambit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FallGambit/fall_gambit","description":"The Firehose Project group project chess application","fork":false,"url":"https://api.github.com/repos/FallGambit/fall_gambit","forks_url":"https://api.github.com/repos/FallGambit/fall_gambit/forks","keys_url":"https://api.github.com/repos/FallGambit/fall_gambit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FallGambit/fall_gambit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FallGambit/fall_gambit/teams","hooks_url":"https://api.github.com/repos/FallGambit/fall_gambit/hooks","issue_events_url":"https://api.github.com/repos/FallGambit/fall_gambit/issues/events{/number}","events_url":"https://api.github.com/repos/FallGambit/fall_gambit/events","assignees_url":"https://api.github.com/repos/FallGambit/fall_gambit/assignees{/user}","branches_url":"https://api.github.com/repos/FallGambit/fall_gambit/branches{/branch}","tags_url":"https://api.github.com/repos/FallGambit/fall_gambit/tags","blobs_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/refs{/sha}","trees_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FallGambit/fall_gambit/statuses/{sha}","languages_url":"https://api.github.com/repos/FallGambit/fall_gambit/languages","stargazers_url":"https://api.github.com/repos/FallGambit/fall_gambit/stargazers","contributors_url":"https://api.github.com/repos/FallGambit/fall_gambit/contributors","subscribers_url":"https://api.github.com/repos/FallGambit/fall_gambit/subscribers","subscription_url":"https://api.github.com/repos/FallGambit/fall_gambit/subscription","commits_url":"https://api.github.com/repos/FallGambit/fall_gambit/commits{/sha}","git_commits_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/commits{/sha}","comments_url":"https://api.github.com/repos/FallGambit/fall_gambit/comments{/number}","issue_comment_url":"https://api.github.com/repos/FallGambit/fall_gambit/issues/comments{/number}","contents_url":"https://api.github.com/repos/FallGambit/fall_gambit/contents/{+path}","compare_url":"https://api.github.com/repos/FallGambit/fall_gambit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FallGambit/fall_gambit/merges","archive_url":"https://api.github.com/repos/FallGambit/fall_gambit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FallGambit/fall_gambit/downloads","issues_url":"https://api.github.com/repos/FallGambit/fall_gambit/issues{/number}","pulls_url":"https://api.github.com/repos/FallGambit/fall_gambit/pulls{/number}","milestones_url":"https://api.github.com/repos/FallGambit/fall_gambit/milestones{/number}","notifications_url":"https://api.github.com/repos/FallGambit/fall_gambit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FallGambit/fall_gambit/labels{/name}","releases_url":"https://api.github.com/repos/FallGambit/fall_gambit/releases{/id}","created_at":"2015-11-08T02:08:17Z","updated_at":"2015-11-15T21:01:38Z","pushed_at":"2015-12-09T17:12:22Z","git_url":"git://github.com/FallGambit/fall_gambit.git","ssh_url":"git@github.com:FallGambit/fall_gambit.git","clone_url":"https://github.com/FallGambit/fall_gambit.git","svn_url":"https://github.com/FallGambit/fall_gambit","homepage":null,"size":894,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"develop"}},"base":{"label":"FallGambit:develop","ref":"develop","sha":"3f16f894058f605199da2b2ae1d3ba387327ec0b","user":{"login":"FallGambit","id":15710535,"avatar_url":"https://avatars.githubusercontent.com/u/15710535?v=3","gravatar_id":"","url":"https://api.github.com/users/FallGambit","html_url":"https://github.com/FallGambit","followers_url":"https://api.github.com/users/FallGambit/followers","following_url":"https://api.github.com/users/FallGambit/following{/other_user}","gists_url":"https://api.github.com/users/FallGambit/gists{/gist_id}","starred_url":"https://api.github.com/users/FallGambit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FallGambit/subscriptions","organizations_url":"https://api.github.com/users/FallGambit/orgs","repos_url":"https://api.github.com/users/FallGambit/repos","events_url":"https://api.github.com/users/FallGambit/events{/privacy}","received_events_url":"https://api.github.com/users/FallGambit/received_events","type":"Organization","site_admin":false},"repo":{"id":45763248,"name":"fall_gambit","full_name":"FallGambit/fall_gambit","owner":{"login":"FallGambit","id":15710535,"avatar_url":"https://avatars.githubusercontent.com/u/15710535?v=3","gravatar_id":"","url":"https://api.github.com/users/FallGambit","html_url":"https://github.com/FallGambit","followers_url":"https://api.github.com/users/FallGambit/followers","following_url":"https://api.github.com/users/FallGambit/following{/other_user}","gists_url":"https://api.github.com/users/FallGambit/gists{/gist_id}","starred_url":"https://api.github.com/users/FallGambit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FallGambit/subscriptions","organizations_url":"https://api.github.com/users/FallGambit/orgs","repos_url":"https://api.github.com/users/FallGambit/repos","events_url":"https://api.github.com/users/FallGambit/events{/privacy}","received_events_url":"https://api.github.com/users/FallGambit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FallGambit/fall_gambit","description":"The Firehose Project group project chess application","fork":false,"url":"https://api.github.com/repos/FallGambit/fall_gambit","forks_url":"https://api.github.com/repos/FallGambit/fall_gambit/forks","keys_url":"https://api.github.com/repos/FallGambit/fall_gambit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FallGambit/fall_gambit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FallGambit/fall_gambit/teams","hooks_url":"https://api.github.com/repos/FallGambit/fall_gambit/hooks","issue_events_url":"https://api.github.com/repos/FallGambit/fall_gambit/issues/events{/number}","events_url":"https://api.github.com/repos/FallGambit/fall_gambit/events","assignees_url":"https://api.github.com/repos/FallGambit/fall_gambit/assignees{/user}","branches_url":"https://api.github.com/repos/FallGambit/fall_gambit/branches{/branch}","tags_url":"https://api.github.com/repos/FallGambit/fall_gambit/tags","blobs_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/refs{/sha}","trees_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FallGambit/fall_gambit/statuses/{sha}","languages_url":"https://api.github.com/repos/FallGambit/fall_gambit/languages","stargazers_url":"https://api.github.com/repos/FallGambit/fall_gambit/stargazers","contributors_url":"https://api.github.com/repos/FallGambit/fall_gambit/contributors","subscribers_url":"https://api.github.com/repos/FallGambit/fall_gambit/subscribers","subscription_url":"https://api.github.com/repos/FallGambit/fall_gambit/subscription","commits_url":"https://api.github.com/repos/FallGambit/fall_gambit/commits{/sha}","git_commits_url":"https://api.github.com/repos/FallGambit/fall_gambit/git/commits{/sha}","comments_url":"https://api.github.com/repos/FallGambit/fall_gambit/comments{/number}","issue_comment_url":"https://api.github.com/repos/FallGambit/fall_gambit/issues/comments{/number}","contents_url":"https://api.github.com/repos/FallGambit/fall_gambit/contents/{+path}","compare_url":"https://api.github.com/repos/FallGambit/fall_gambit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FallGambit/fall_gambit/merges","archive_url":"https://api.github.com/repos/FallGambit/fall_gambit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FallGambit/fall_gambit/downloads","issues_url":"https://api.github.com/repos/FallGambit/fall_gambit/issues{/number}","pulls_url":"https://api.github.com/repos/FallGambit/fall_gambit/pulls{/number}","milestones_url":"https://api.github.com/repos/FallGambit/fall_gambit/milestones{/number}","notifications_url":"https://api.github.com/repos/FallGambit/fall_gambit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FallGambit/fall_gambit/labels{/name}","releases_url":"https://api.github.com/repos/FallGambit/fall_gambit/releases{/id}","created_at":"2015-11-08T02:08:17Z","updated_at":"2015-11-15T21:01:38Z","pushed_at":"2015-12-09T17:12:22Z","git_url":"git://github.com/FallGambit/fall_gambit.git","ssh_url":"git@github.com:FallGambit/fall_gambit.git","clone_url":"https://github.com/FallGambit/fall_gambit.git","svn_url":"https://github.com/FallGambit/fall_gambit","homepage":null,"size":894,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/FallGambit/fall_gambit/pulls/45"},"html":{"href":"https://github.com/FallGambit/fall_gambit/pull/45"},"issue":{"href":"https://api.github.com/repos/FallGambit/fall_gambit/issues/45"},"comments":{"href":"https://api.github.com/repos/FallGambit/fall_gambit/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/FallGambit/fall_gambit/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/FallGambit/fall_gambit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FallGambit/fall_gambit/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/FallGambit/fall_gambit/statuses/a720e91f8da7ff048d3724aa26186220b1220fde"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":234,"deletions":3,"changed_files":2}}