{"action":"closed","number":65,"pull_request":{"url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls/65","id":72640265,"html_url":"https://github.com/ise-ethereum/on-chain-chess/pull/65","diff_url":"https://github.com/ise-ethereum/on-chain-chess/pull/65.diff","patch_url":"https://github.com/ise-ethereum/on-chain-chess/pull/65.patch","issue_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues/65","number":65,"state":"closed","locked":false,"title":"Move validation in contract","user":{"login":"graup","id":898549,"avatar_url":"https://avatars.githubusercontent.com/u/898549?v=3","gravatar_id":"","url":"https://api.github.com/users/graup","html_url":"https://github.com/graup","followers_url":"https://api.github.com/users/graup/followers","following_url":"https://api.github.com/users/graup/following{/other_user}","gists_url":"https://api.github.com/users/graup/gists{/gist_id}","starred_url":"https://api.github.com/users/graup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graup/subscriptions","organizations_url":"https://api.github.com/users/graup/orgs","repos_url":"https://api.github.com/users/graup/repos","events_url":"https://api.github.com/users/graup/events{/privacy}","received_events_url":"https://api.github.com/users/graup/received_events","type":"User","site_admin":false},"body":"Adds a proper `move` function to the contract that validates the move according to Chess rules and throws an error if it is not a valid move.\r\n\r\nConcerted effort by @Pepperrs @lisasi @HeavyPanda @graup\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\n\r\n## Related Issue\r\n#4\r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\n\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist contributor:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [x] I have added tests to cover my changes.\r\n- [x] All new and existing tests passed.\r\n\r\n## Checklist reviewer:\r\n- [ ] The code has been peer-reviewed by @YourNameHere\r\n\r\n\r\n<!--- source: https://www.talater.com/open-source-templates/# -->\r\n","created_at":"2016-06-05T20:57:58Z","updated_at":"2016-06-08T12:02:09Z","closed_at":"2016-06-08T12:02:09Z","merged_at":"2016-06-08T12:02:09Z","merge_commit_sha":"840eb54a4f9017abc4809c3a00b4ac637e894702","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls/65/commits","review_comments_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls/65/comments","review_comment_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues/65/comments","statuses_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/statuses/9485133549b5561bf259bfaf1c5cb4b42582dc07","head":{"label":"ise-ethereum:feature/validation","ref":"feature/validation","sha":"9485133549b5561bf259bfaf1c5cb4b42582dc07","user":{"login":"ise-ethereum","id":18703597,"avatar_url":"https://avatars.githubusercontent.com/u/18703597?v=3","gravatar_id":"","url":"https://api.github.com/users/ise-ethereum","html_url":"https://github.com/ise-ethereum","followers_url":"https://api.github.com/users/ise-ethereum/followers","following_url":"https://api.github.com/users/ise-ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ise-ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ise-ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ise-ethereum/subscriptions","organizations_url":"https://api.github.com/users/ise-ethereum/orgs","repos_url":"https://api.github.com/users/ise-ethereum/repos","events_url":"https://api.github.com/users/ise-ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ise-ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":57226171,"name":"on-chain-chess","full_name":"ise-ethereum/on-chain-chess","owner":{"login":"ise-ethereum","id":18703597,"avatar_url":"https://avatars.githubusercontent.com/u/18703597?v=3","gravatar_id":"","url":"https://api.github.com/users/ise-ethereum","html_url":"https://github.com/ise-ethereum","followers_url":"https://api.github.com/users/ise-ethereum/followers","following_url":"https://api.github.com/users/ise-ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ise-ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ise-ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ise-ethereum/subscriptions","organizations_url":"https://api.github.com/users/ise-ethereum/orgs","repos_url":"https://api.github.com/users/ise-ethereum/repos","events_url":"https://api.github.com/users/ise-ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ise-ethereum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ise-ethereum/on-chain-chess","description":"Play decentralised chess on the Ethereum blockchain! Work in progress, nothing to see yet.","fork":false,"url":"https://api.github.com/repos/ise-ethereum/on-chain-chess","forks_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/forks","keys_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/teams","hooks_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/hooks","issue_events_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues/events{/number}","events_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/events","assignees_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/assignees{/user}","branches_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/branches{/branch}","tags_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/tags","blobs_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/refs{/sha}","trees_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/statuses/{sha}","languages_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/languages","stargazers_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/stargazers","contributors_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/contributors","subscribers_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/subscribers","subscription_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/subscription","commits_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/commits{/sha}","git_commits_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/commits{/sha}","comments_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/comments{/number}","issue_comment_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues/comments{/number}","contents_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/contents/{+path}","compare_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/merges","archive_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/downloads","issues_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues{/number}","pulls_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls{/number}","milestones_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/milestones{/number}","notifications_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/labels{/name}","releases_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/releases{/id}","deployments_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/deployments","created_at":"2016-04-27T15:52:35Z","updated_at":"2016-06-05T20:51:21Z","pushed_at":"2016-06-08T12:02:09Z","git_url":"git://github.com/ise-ethereum/on-chain-chess.git","ssh_url":"git@github.com:ise-ethereum/on-chain-chess.git","clone_url":"https://github.com/ise-ethereum/on-chain-chess.git","svn_url":"https://github.com/ise-ethereum/on-chain-chess","homepage":"","size":2465,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":0,"default_branch":"develop"}},"base":{"label":"ise-ethereum:develop","ref":"develop","sha":"d241275f26e3b6adb1301b43926d44b1b80facb9","user":{"login":"ise-ethereum","id":18703597,"avatar_url":"https://avatars.githubusercontent.com/u/18703597?v=3","gravatar_id":"","url":"https://api.github.com/users/ise-ethereum","html_url":"https://github.com/ise-ethereum","followers_url":"https://api.github.com/users/ise-ethereum/followers","following_url":"https://api.github.com/users/ise-ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ise-ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ise-ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ise-ethereum/subscriptions","organizations_url":"https://api.github.com/users/ise-ethereum/orgs","repos_url":"https://api.github.com/users/ise-ethereum/repos","events_url":"https://api.github.com/users/ise-ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ise-ethereum/received_events","type":"Organization","site_admin":false},"repo":{"id":57226171,"name":"on-chain-chess","full_name":"ise-ethereum/on-chain-chess","owner":{"login":"ise-ethereum","id":18703597,"avatar_url":"https://avatars.githubusercontent.com/u/18703597?v=3","gravatar_id":"","url":"https://api.github.com/users/ise-ethereum","html_url":"https://github.com/ise-ethereum","followers_url":"https://api.github.com/users/ise-ethereum/followers","following_url":"https://api.github.com/users/ise-ethereum/following{/other_user}","gists_url":"https://api.github.com/users/ise-ethereum/gists{/gist_id}","starred_url":"https://api.github.com/users/ise-ethereum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ise-ethereum/subscriptions","organizations_url":"https://api.github.com/users/ise-ethereum/orgs","repos_url":"https://api.github.com/users/ise-ethereum/repos","events_url":"https://api.github.com/users/ise-ethereum/events{/privacy}","received_events_url":"https://api.github.com/users/ise-ethereum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ise-ethereum/on-chain-chess","description":"Play decentralised chess on the Ethereum blockchain! Work in progress, nothing to see yet.","fork":false,"url":"https://api.github.com/repos/ise-ethereum/on-chain-chess","forks_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/forks","keys_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/teams","hooks_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/hooks","issue_events_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues/events{/number}","events_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/events","assignees_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/assignees{/user}","branches_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/branches{/branch}","tags_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/tags","blobs_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/refs{/sha}","trees_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/statuses/{sha}","languages_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/languages","stargazers_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/stargazers","contributors_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/contributors","subscribers_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/subscribers","subscription_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/subscription","commits_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/commits{/sha}","git_commits_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/git/commits{/sha}","comments_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/comments{/number}","issue_comment_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues/comments{/number}","contents_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/contents/{+path}","compare_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/merges","archive_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/downloads","issues_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues{/number}","pulls_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls{/number}","milestones_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/milestones{/number}","notifications_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/labels{/name}","releases_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/releases{/id}","deployments_url":"https://api.github.com/repos/ise-ethereum/on-chain-chess/deployments","created_at":"2016-04-27T15:52:35Z","updated_at":"2016-06-05T20:51:21Z","pushed_at":"2016-06-08T12:02:09Z","git_url":"git://github.com/ise-ethereum/on-chain-chess.git","ssh_url":"git@github.com:ise-ethereum/on-chain-chess.git","clone_url":"https://github.com/ise-ethereum/on-chain-chess.git","svn_url":"https://github.com/ise-ethereum/on-chain-chess","homepage":"","size":2465,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":28,"forks":0,"open_issues":28,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls/65"},"html":{"href":"https://github.com/ise-ethereum/on-chain-chess/pull/65"},"issue":{"href":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues/65"},"comments":{"href":"https://api.github.com/repos/ise-ethereum/on-chain-chess/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ise-ethereum/on-chain-chess/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/ise-ethereum/on-chain-chess/statuses/9485133549b5561bf259bfaf1c5cb4b42582dc07"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"graup","id":898549,"avatar_url":"https://avatars.githubusercontent.com/u/898549?v=3","gravatar_id":"","url":"https://api.github.com/users/graup","html_url":"https://github.com/graup","followers_url":"https://api.github.com/users/graup/followers","following_url":"https://api.github.com/users/graup/following{/other_user}","gists_url":"https://api.github.com/users/graup/gists{/gist_id}","starred_url":"https://api.github.com/users/graup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graup/subscriptions","organizations_url":"https://api.github.com/users/graup/orgs","repos_url":"https://api.github.com/users/graup/repos","events_url":"https://api.github.com/users/graup/events{/privacy}","received_events_url":"https://api.github.com/users/graup/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":50,"additions":651,"deletions":83,"changed_files":3}}
{"actor":{"display_login":"graup"}}