{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/tsoding/tictacrust/pulls/1","id":70744918,"html_url":"https://github.com/tsoding/tictacrust/pull/1","diff_url":"https://github.com/tsoding/tictacrust/pull/1.diff","patch_url":"https://github.com/tsoding/tictacrust/pull/1.patch","issue_url":"https://api.github.com/repos/tsoding/tictacrust/issues/1","number":1,"state":"closed","locked":false,"title":"better loops and array initialization","user":{"login":"voldyman","id":2378083,"avatar_url":"https://avatars.githubusercontent.com/u/2378083?v=3","gravatar_id":"","url":"https://api.github.com/users/voldyman","html_url":"https://github.com/voldyman","followers_url":"https://api.github.com/users/voldyman/followers","following_url":"https://api.github.com/users/voldyman/following{/other_user}","gists_url":"https://api.github.com/users/voldyman/gists{/gist_id}","starred_url":"https://api.github.com/users/voldyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voldyman/subscriptions","organizations_url":"https://api.github.com/users/voldyman/orgs","repos_url":"https://api.github.com/users/voldyman/repos","events_url":"https://api.github.com/users/voldyman/events{/privacy}","received_events_url":"https://api.github.com/users/voldyman/received_events","type":"User","site_admin":false},"body":"derive the enum from copy and clone to easily instantiate the array and loop with index too!","created_at":"2016-05-19T18:46:03Z","updated_at":"2016-05-19T18:53:11Z","closed_at":"2016-05-19T18:53:11Z","merged_at":"2016-05-19T18:53:11Z","merge_commit_sha":"deda8fdb0d932e5025b2b123bfd1ed0c01d68bb3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tsoding/tictacrust/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tsoding/tictacrust/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tsoding/tictacrust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tsoding/tictacrust/issues/1/comments","statuses_url":"https://api.github.com/repos/tsoding/tictacrust/statuses/9f24328cbb5c58c835c8439b487bcbed06930164","head":{"label":"voldyman:patch-1","ref":"patch-1","sha":"9f24328cbb5c58c835c8439b487bcbed06930164","user":{"login":"voldyman","id":2378083,"avatar_url":"https://avatars.githubusercontent.com/u/2378083?v=3","gravatar_id":"","url":"https://api.github.com/users/voldyman","html_url":"https://github.com/voldyman","followers_url":"https://api.github.com/users/voldyman/followers","following_url":"https://api.github.com/users/voldyman/following{/other_user}","gists_url":"https://api.github.com/users/voldyman/gists{/gist_id}","starred_url":"https://api.github.com/users/voldyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voldyman/subscriptions","organizations_url":"https://api.github.com/users/voldyman/orgs","repos_url":"https://api.github.com/users/voldyman/repos","events_url":"https://api.github.com/users/voldyman/events{/privacy}","received_events_url":"https://api.github.com/users/voldyman/received_events","type":"User","site_admin":false},"repo":{"id":59232316,"name":"tictacrust","full_name":"voldyman/tictacrust","owner":{"login":"voldyman","id":2378083,"avatar_url":"https://avatars.githubusercontent.com/u/2378083?v=3","gravatar_id":"","url":"https://api.github.com/users/voldyman","html_url":"https://github.com/voldyman","followers_url":"https://api.github.com/users/voldyman/followers","following_url":"https://api.github.com/users/voldyman/following{/other_user}","gists_url":"https://api.github.com/users/voldyman/gists{/gist_id}","starred_url":"https://api.github.com/users/voldyman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voldyman/subscriptions","organizations_url":"https://api.github.com/users/voldyman/orgs","repos_url":"https://api.github.com/users/voldyman/repos","events_url":"https://api.github.com/users/voldyman/events{/privacy}","received_events_url":"https://api.github.com/users/voldyman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/voldyman/tictacrust","description":"Tic-Tac-Toe in Rust","fork":true,"url":"https://api.github.com/repos/voldyman/tictacrust","forks_url":"https://api.github.com/repos/voldyman/tictacrust/forks","keys_url":"https://api.github.com/repos/voldyman/tictacrust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voldyman/tictacrust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voldyman/tictacrust/teams","hooks_url":"https://api.github.com/repos/voldyman/tictacrust/hooks","issue_events_url":"https://api.github.com/repos/voldyman/tictacrust/issues/events{/number}","events_url":"https://api.github.com/repos/voldyman/tictacrust/events","assignees_url":"https://api.github.com/repos/voldyman/tictacrust/assignees{/user}","branches_url":"https://api.github.com/repos/voldyman/tictacrust/branches{/branch}","tags_url":"https://api.github.com/repos/voldyman/tictacrust/tags","blobs_url":"https://api.github.com/repos/voldyman/tictacrust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voldyman/tictacrust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voldyman/tictacrust/git/refs{/sha}","trees_url":"https://api.github.com/repos/voldyman/tictacrust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voldyman/tictacrust/statuses/{sha}","languages_url":"https://api.github.com/repos/voldyman/tictacrust/languages","stargazers_url":"https://api.github.com/repos/voldyman/tictacrust/stargazers","contributors_url":"https://api.github.com/repos/voldyman/tictacrust/contributors","subscribers_url":"https://api.github.com/repos/voldyman/tictacrust/subscribers","subscription_url":"https://api.github.com/repos/voldyman/tictacrust/subscription","commits_url":"https://api.github.com/repos/voldyman/tictacrust/commits{/sha}","git_commits_url":"https://api.github.com/repos/voldyman/tictacrust/git/commits{/sha}","comments_url":"https://api.github.com/repos/voldyman/tictacrust/comments{/number}","issue_comment_url":"https://api.github.com/repos/voldyman/tictacrust/issues/comments{/number}","contents_url":"https://api.github.com/repos/voldyman/tictacrust/contents/{+path}","compare_url":"https://api.github.com/repos/voldyman/tictacrust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voldyman/tictacrust/merges","archive_url":"https://api.github.com/repos/voldyman/tictacrust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voldyman/tictacrust/downloads","issues_url":"https://api.github.com/repos/voldyman/tictacrust/issues{/number}","pulls_url":"https://api.github.com/repos/voldyman/tictacrust/pulls{/number}","milestones_url":"https://api.github.com/repos/voldyman/tictacrust/milestones{/number}","notifications_url":"https://api.github.com/repos/voldyman/tictacrust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voldyman/tictacrust/labels{/name}","releases_url":"https://api.github.com/repos/voldyman/tictacrust/releases{/id}","deployments_url":"https://api.github.com/repos/voldyman/tictacrust/deployments","created_at":"2016-05-19T18:37:01Z","updated_at":"2016-05-19T18:37:02Z","pushed_at":"2016-05-19T18:45:05Z","git_url":"git://github.com/voldyman/tictacrust.git","ssh_url":"git@github.com:voldyman/tictacrust.git","clone_url":"https://github.com/voldyman/tictacrust.git","svn_url":"https://github.com/voldyman/tictacrust","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"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":"tsoding:master","ref":"master","sha":"deb87ea1d2ce51aebfe340a0ea21e76013ff1191","user":{"login":"tsoding","id":18597647,"avatar_url":"https://avatars.githubusercontent.com/u/18597647?v=3","gravatar_id":"","url":"https://api.github.com/users/tsoding","html_url":"https://github.com/tsoding","followers_url":"https://api.github.com/users/tsoding/followers","following_url":"https://api.github.com/users/tsoding/following{/other_user}","gists_url":"https://api.github.com/users/tsoding/gists{/gist_id}","starred_url":"https://api.github.com/users/tsoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsoding/subscriptions","organizations_url":"https://api.github.com/users/tsoding/orgs","repos_url":"https://api.github.com/users/tsoding/repos","events_url":"https://api.github.com/users/tsoding/events{/privacy}","received_events_url":"https://api.github.com/users/tsoding/received_events","type":"Organization","site_admin":false},"repo":{"id":59231866,"name":"tictacrust","full_name":"tsoding/tictacrust","owner":{"login":"tsoding","id":18597647,"avatar_url":"https://avatars.githubusercontent.com/u/18597647?v=3","gravatar_id":"","url":"https://api.github.com/users/tsoding","html_url":"https://github.com/tsoding","followers_url":"https://api.github.com/users/tsoding/followers","following_url":"https://api.github.com/users/tsoding/following{/other_user}","gists_url":"https://api.github.com/users/tsoding/gists{/gist_id}","starred_url":"https://api.github.com/users/tsoding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsoding/subscriptions","organizations_url":"https://api.github.com/users/tsoding/orgs","repos_url":"https://api.github.com/users/tsoding/repos","events_url":"https://api.github.com/users/tsoding/events{/privacy}","received_events_url":"https://api.github.com/users/tsoding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tsoding/tictacrust","description":"Tic-Tac-Toe in Rust","fork":false,"url":"https://api.github.com/repos/tsoding/tictacrust","forks_url":"https://api.github.com/repos/tsoding/tictacrust/forks","keys_url":"https://api.github.com/repos/tsoding/tictacrust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsoding/tictacrust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsoding/tictacrust/teams","hooks_url":"https://api.github.com/repos/tsoding/tictacrust/hooks","issue_events_url":"https://api.github.com/repos/tsoding/tictacrust/issues/events{/number}","events_url":"https://api.github.com/repos/tsoding/tictacrust/events","assignees_url":"https://api.github.com/repos/tsoding/tictacrust/assignees{/user}","branches_url":"https://api.github.com/repos/tsoding/tictacrust/branches{/branch}","tags_url":"https://api.github.com/repos/tsoding/tictacrust/tags","blobs_url":"https://api.github.com/repos/tsoding/tictacrust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsoding/tictacrust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsoding/tictacrust/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsoding/tictacrust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsoding/tictacrust/statuses/{sha}","languages_url":"https://api.github.com/repos/tsoding/tictacrust/languages","stargazers_url":"https://api.github.com/repos/tsoding/tictacrust/stargazers","contributors_url":"https://api.github.com/repos/tsoding/tictacrust/contributors","subscribers_url":"https://api.github.com/repos/tsoding/tictacrust/subscribers","subscription_url":"https://api.github.com/repos/tsoding/tictacrust/subscription","commits_url":"https://api.github.com/repos/tsoding/tictacrust/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsoding/tictacrust/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsoding/tictacrust/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsoding/tictacrust/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsoding/tictacrust/contents/{+path}","compare_url":"https://api.github.com/repos/tsoding/tictacrust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsoding/tictacrust/merges","archive_url":"https://api.github.com/repos/tsoding/tictacrust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsoding/tictacrust/downloads","issues_url":"https://api.github.com/repos/tsoding/tictacrust/issues{/number}","pulls_url":"https://api.github.com/repos/tsoding/tictacrust/pulls{/number}","milestones_url":"https://api.github.com/repos/tsoding/tictacrust/milestones{/number}","notifications_url":"https://api.github.com/repos/tsoding/tictacrust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsoding/tictacrust/labels{/name}","releases_url":"https://api.github.com/repos/tsoding/tictacrust/releases{/id}","deployments_url":"https://api.github.com/repos/tsoding/tictacrust/deployments","created_at":"2016-05-19T18:30:31Z","updated_at":"2016-05-19T18:36:02Z","pushed_at":"2016-05-19T18:53:11Z","git_url":"git://github.com/tsoding/tictacrust.git","ssh_url":"git@github.com:tsoding/tictacrust.git","clone_url":"https://github.com/tsoding/tictacrust.git","svn_url":"https://github.com/tsoding/tictacrust","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tsoding/tictacrust/pulls/1"},"html":{"href":"https://github.com/tsoding/tictacrust/pull/1"},"issue":{"href":"https://api.github.com/repos/tsoding/tictacrust/issues/1"},"comments":{"href":"https://api.github.com/repos/tsoding/tictacrust/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tsoding/tictacrust/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tsoding/tictacrust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tsoding/tictacrust/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tsoding/tictacrust/statuses/9f24328cbb5c58c835c8439b487bcbed06930164"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":11,"changed_files":1}}