{"action":"created","comment":{"url":"https://api.github.com/repos/yuukpro/tetris/pulls/comments/67624891","id":67624891,"diff_hunk":"@@ -0,0 +1,51 @@\n+package jp.tetris.core;\n+\n+import java.io.IOException;\n+import java.net.URL;\n+import javafx.application.Application;\n+import javafx.fxml.FXMLLoader;\n+import javafx.scene.Parent;\n+import javafx.scene.Scene;\n+import javafx.stage.Stage;\n+import jp.tetris.controller.TetrisPlayFieldController;\n+\n+/**\n+ * テトリスフィールド \n+ * ゲームフィールド上に表示する項目を管理 ゲームフィールド画面表示、テトリスをするフィールド設置、スコア設置（未実装）\n+ * \n+ */\n+\n+public class TetrisField extends Application {\n+\n+\tprivate TetrisPlayFieldController tetrisPlayFieldController;\n+\n+\tpublic static void main(final String[] args) {\n+\t\tlaunch(args);\n+\t}\n+\n+\t@Override\n+\tpublic void start(final Stage primaryStage) throws Exception {\n+\n+\t\t/**\n+\t\t * 画面の初期設定\n+\t\t */\n+\t\tinitTetris(primaryStage);\n+\t\t// テトリミノをフィールドに描画\n+\t\tthis.tetrisPlayFieldController.drawTetorimino();\n+\t}\n+\n+\t/**\n+\t * テトリスの初期作成\n+\t */\n+\tpublic void initTetris(final Stage primaryStage) throws IOException {","path":"src/main/java/jp/tetris/core/TetrisField.java","position":40,"original_position":40,"commit_id":"8f3b617935de11ae622938e7a6c98dc78875727f","original_commit_id":"8f3b617935de11ae622938e7a6c98dc78875727f","user":{"login":"eiichiro-takahashi","id":3786436,"avatar_url":"https://avatars.githubusercontent.com/u/3786436?v=3","gravatar_id":"","url":"https://api.github.com/users/eiichiro-takahashi","html_url":"https://github.com/eiichiro-takahashi","followers_url":"https://api.github.com/users/eiichiro-takahashi/followers","following_url":"https://api.github.com/users/eiichiro-takahashi/following{/other_user}","gists_url":"https://api.github.com/users/eiichiro-takahashi/gists{/gist_id}","starred_url":"https://api.github.com/users/eiichiro-takahashi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiichiro-takahashi/subscriptions","organizations_url":"https://api.github.com/users/eiichiro-takahashi/orgs","repos_url":"https://api.github.com/users/eiichiro-takahashi/repos","events_url":"https://api.github.com/users/eiichiro-takahashi/events{/privacy}","received_events_url":"https://api.github.com/users/eiichiro-takahashi/received_events","type":"User","site_admin":false},"body":"https://github.com/yuukpro/tetris/pull/8#discussion_r67611437\r\n\r\n↑について、「コメントを消せ」という指摘ではありません。\r\n例えばですが、「FXML による TetrisPlayFieldController の初期化」「Scene の初期化」「TetrisPlayFieldController の開始」といった複数ステップから成るコード群の様に見えます。それぞれのステップでブロックに分割し(空行で分割)、それぞれのブロック毎にコメントを入れるとレビューし易く(可読性が高く)なります。","created_at":"2016-06-19T22:17:44Z","updated_at":"2016-06-19T22:17:44Z","html_url":"https://github.com/yuukpro/tetris/pull/8#discussion_r67624891","pull_request_url":"https://api.github.com/repos/yuukpro/tetris/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/yuukpro/tetris/pulls/comments/67624891"},"html":{"href":"https://github.com/yuukpro/tetris/pull/8#discussion_r67624891"},"pull_request":{"href":"https://api.github.com/repos/yuukpro/tetris/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/yuukpro/tetris/pulls/8","id":72160259,"html_url":"https://github.com/yuukpro/tetris/pull/8","diff_url":"https://github.com/yuukpro/tetris/pull/8.diff","patch_url":"https://github.com/yuukpro/tetris/pull/8.patch","issue_url":"https://api.github.com/repos/yuukpro/tetris/issues/8","number":8,"state":"open","locked":false,"title":"I型テトリミノ描画","user":{"login":"yuukpro","id":19484994,"avatar_url":"https://avatars.githubusercontent.com/u/19484994?v=3","gravatar_id":"","url":"https://api.github.com/users/yuukpro","html_url":"https://github.com/yuukpro","followers_url":"https://api.github.com/users/yuukpro/followers","following_url":"https://api.github.com/users/yuukpro/following{/other_user}","gists_url":"https://api.github.com/users/yuukpro/gists{/gist_id}","starred_url":"https://api.github.com/users/yuukpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuukpro/subscriptions","organizations_url":"https://api.github.com/users/yuukpro/orgs","repos_url":"https://api.github.com/users/yuukpro/repos","events_url":"https://api.github.com/users/yuukpro/events{/privacy}","received_events_url":"https://api.github.com/users/yuukpro/received_events","type":"User","site_admin":false},"body":"ゲームフィールド作成\r\nフィールド生成\r\nI型テトリミノをフィールド上に描画","created_at":"2016-06-01T10:54:59Z","updated_at":"2016-06-19T22:17:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74762435979c179b80f35fc0f37b6b43051994d8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yuukpro/tetris/pulls/8/commits","review_comments_url":"https://api.github.com/repos/yuukpro/tetris/pulls/8/comments","review_comment_url":"https://api.github.com/repos/yuukpro/tetris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuukpro/tetris/issues/8/comments","statuses_url":"https://api.github.com/repos/yuukpro/tetris/statuses/8f3b617935de11ae622938e7a6c98dc78875727f","head":{"label":"yuukpro:feature/drawingItetorimino","ref":"feature/drawingItetorimino","sha":"8f3b617935de11ae622938e7a6c98dc78875727f","user":{"login":"yuukpro","id":19484994,"avatar_url":"https://avatars.githubusercontent.com/u/19484994?v=3","gravatar_id":"","url":"https://api.github.com/users/yuukpro","html_url":"https://github.com/yuukpro","followers_url":"https://api.github.com/users/yuukpro/followers","following_url":"https://api.github.com/users/yuukpro/following{/other_user}","gists_url":"https://api.github.com/users/yuukpro/gists{/gist_id}","starred_url":"https://api.github.com/users/yuukpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuukpro/subscriptions","organizations_url":"https://api.github.com/users/yuukpro/orgs","repos_url":"https://api.github.com/users/yuukpro/repos","events_url":"https://api.github.com/users/yuukpro/events{/privacy}","received_events_url":"https://api.github.com/users/yuukpro/received_events","type":"User","site_admin":false},"repo":{"id":59269317,"name":"tetris","full_name":"yuukpro/tetris","owner":{"login":"yuukpro","id":19484994,"avatar_url":"https://avatars.githubusercontent.com/u/19484994?v=3","gravatar_id":"","url":"https://api.github.com/users/yuukpro","html_url":"https://github.com/yuukpro","followers_url":"https://api.github.com/users/yuukpro/followers","following_url":"https://api.github.com/users/yuukpro/following{/other_user}","gists_url":"https://api.github.com/users/yuukpro/gists{/gist_id}","starred_url":"https://api.github.com/users/yuukpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuukpro/subscriptions","organizations_url":"https://api.github.com/users/yuukpro/orgs","repos_url":"https://api.github.com/users/yuukpro/repos","events_url":"https://api.github.com/users/yuukpro/events{/privacy}","received_events_url":"https://api.github.com/users/yuukpro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuukpro/tetris","description":"","fork":false,"url":"https://api.github.com/repos/yuukpro/tetris","forks_url":"https://api.github.com/repos/yuukpro/tetris/forks","keys_url":"https://api.github.com/repos/yuukpro/tetris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuukpro/tetris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuukpro/tetris/teams","hooks_url":"https://api.github.com/repos/yuukpro/tetris/hooks","issue_events_url":"https://api.github.com/repos/yuukpro/tetris/issues/events{/number}","events_url":"https://api.github.com/repos/yuukpro/tetris/events","assignees_url":"https://api.github.com/repos/yuukpro/tetris/assignees{/user}","branches_url":"https://api.github.com/repos/yuukpro/tetris/branches{/branch}","tags_url":"https://api.github.com/repos/yuukpro/tetris/tags","blobs_url":"https://api.github.com/repos/yuukpro/tetris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuukpro/tetris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuukpro/tetris/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuukpro/tetris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuukpro/tetris/statuses/{sha}","languages_url":"https://api.github.com/repos/yuukpro/tetris/languages","stargazers_url":"https://api.github.com/repos/yuukpro/tetris/stargazers","contributors_url":"https://api.github.com/repos/yuukpro/tetris/contributors","subscribers_url":"https://api.github.com/repos/yuukpro/tetris/subscribers","subscription_url":"https://api.github.com/repos/yuukpro/tetris/subscription","commits_url":"https://api.github.com/repos/yuukpro/tetris/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuukpro/tetris/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuukpro/tetris/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuukpro/tetris/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuukpro/tetris/contents/{+path}","compare_url":"https://api.github.com/repos/yuukpro/tetris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuukpro/tetris/merges","archive_url":"https://api.github.com/repos/yuukpro/tetris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuukpro/tetris/downloads","issues_url":"https://api.github.com/repos/yuukpro/tetris/issues{/number}","pulls_url":"https://api.github.com/repos/yuukpro/tetris/pulls{/number}","milestones_url":"https://api.github.com/repos/yuukpro/tetris/milestones{/number}","notifications_url":"https://api.github.com/repos/yuukpro/tetris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuukpro/tetris/labels{/name}","releases_url":"https://api.github.com/repos/yuukpro/tetris/releases{/id}","deployments_url":"https://api.github.com/repos/yuukpro/tetris/deployments","created_at":"2016-05-20T06:06:31Z","updated_at":"2016-05-24T07:48:31Z","pushed_at":"2016-06-19T15:10:09Z","git_url":"git://github.com/yuukpro/tetris.git","ssh_url":"git@github.com:yuukpro/tetris.git","clone_url":"https://github.com/yuukpro/tetris.git","svn_url":"https://github.com/yuukpro/tetris","homepage":null,"size":33,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"develop"}},"base":{"label":"yuukpro:develop","ref":"develop","sha":"524224baca1fa0be3419e77813304b88c4017908","user":{"login":"yuukpro","id":19484994,"avatar_url":"https://avatars.githubusercontent.com/u/19484994?v=3","gravatar_id":"","url":"https://api.github.com/users/yuukpro","html_url":"https://github.com/yuukpro","followers_url":"https://api.github.com/users/yuukpro/followers","following_url":"https://api.github.com/users/yuukpro/following{/other_user}","gists_url":"https://api.github.com/users/yuukpro/gists{/gist_id}","starred_url":"https://api.github.com/users/yuukpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuukpro/subscriptions","organizations_url":"https://api.github.com/users/yuukpro/orgs","repos_url":"https://api.github.com/users/yuukpro/repos","events_url":"https://api.github.com/users/yuukpro/events{/privacy}","received_events_url":"https://api.github.com/users/yuukpro/received_events","type":"User","site_admin":false},"repo":{"id":59269317,"name":"tetris","full_name":"yuukpro/tetris","owner":{"login":"yuukpro","id":19484994,"avatar_url":"https://avatars.githubusercontent.com/u/19484994?v=3","gravatar_id":"","url":"https://api.github.com/users/yuukpro","html_url":"https://github.com/yuukpro","followers_url":"https://api.github.com/users/yuukpro/followers","following_url":"https://api.github.com/users/yuukpro/following{/other_user}","gists_url":"https://api.github.com/users/yuukpro/gists{/gist_id}","starred_url":"https://api.github.com/users/yuukpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuukpro/subscriptions","organizations_url":"https://api.github.com/users/yuukpro/orgs","repos_url":"https://api.github.com/users/yuukpro/repos","events_url":"https://api.github.com/users/yuukpro/events{/privacy}","received_events_url":"https://api.github.com/users/yuukpro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuukpro/tetris","description":"","fork":false,"url":"https://api.github.com/repos/yuukpro/tetris","forks_url":"https://api.github.com/repos/yuukpro/tetris/forks","keys_url":"https://api.github.com/repos/yuukpro/tetris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuukpro/tetris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuukpro/tetris/teams","hooks_url":"https://api.github.com/repos/yuukpro/tetris/hooks","issue_events_url":"https://api.github.com/repos/yuukpro/tetris/issues/events{/number}","events_url":"https://api.github.com/repos/yuukpro/tetris/events","assignees_url":"https://api.github.com/repos/yuukpro/tetris/assignees{/user}","branches_url":"https://api.github.com/repos/yuukpro/tetris/branches{/branch}","tags_url":"https://api.github.com/repos/yuukpro/tetris/tags","blobs_url":"https://api.github.com/repos/yuukpro/tetris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuukpro/tetris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuukpro/tetris/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuukpro/tetris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuukpro/tetris/statuses/{sha}","languages_url":"https://api.github.com/repos/yuukpro/tetris/languages","stargazers_url":"https://api.github.com/repos/yuukpro/tetris/stargazers","contributors_url":"https://api.github.com/repos/yuukpro/tetris/contributors","subscribers_url":"https://api.github.com/repos/yuukpro/tetris/subscribers","subscription_url":"https://api.github.com/repos/yuukpro/tetris/subscription","commits_url":"https://api.github.com/repos/yuukpro/tetris/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuukpro/tetris/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuukpro/tetris/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuukpro/tetris/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuukpro/tetris/contents/{+path}","compare_url":"https://api.github.com/repos/yuukpro/tetris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuukpro/tetris/merges","archive_url":"https://api.github.com/repos/yuukpro/tetris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuukpro/tetris/downloads","issues_url":"https://api.github.com/repos/yuukpro/tetris/issues{/number}","pulls_url":"https://api.github.com/repos/yuukpro/tetris/pulls{/number}","milestones_url":"https://api.github.com/repos/yuukpro/tetris/milestones{/number}","notifications_url":"https://api.github.com/repos/yuukpro/tetris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuukpro/tetris/labels{/name}","releases_url":"https://api.github.com/repos/yuukpro/tetris/releases{/id}","deployments_url":"https://api.github.com/repos/yuukpro/tetris/deployments","created_at":"2016-05-20T06:06:31Z","updated_at":"2016-05-24T07:48:31Z","pushed_at":"2016-06-19T15:10:09Z","git_url":"git://github.com/yuukpro/tetris.git","ssh_url":"git@github.com:yuukpro/tetris.git","clone_url":"https://github.com/yuukpro/tetris.git","svn_url":"https://github.com/yuukpro/tetris","homepage":null,"size":33,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/yuukpro/tetris/pulls/8"},"html":{"href":"https://github.com/yuukpro/tetris/pull/8"},"issue":{"href":"https://api.github.com/repos/yuukpro/tetris/issues/8"},"comments":{"href":"https://api.github.com/repos/yuukpro/tetris/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/yuukpro/tetris/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/yuukpro/tetris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuukpro/tetris/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/yuukpro/tetris/statuses/8f3b617935de11ae622938e7a6c98dc78875727f"}}}}
{"actor":{"display_login":"eiichiro-takahashi"}}