{"action":"opened","issue":{"url":"https://api.github.com/repos/na2hiro/Shogi.js/issues/9","repository_url":"https://api.github.com/repos/na2hiro/Shogi.js","labels_url":"https://api.github.com/repos/na2hiro/Shogi.js/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/na2hiro/Shogi.js/issues/9/comments","events_url":"https://api.github.com/repos/na2hiro/Shogi.js/issues/9/events","html_url":"https://github.com/na2hiro/Shogi.js/issues/9","id":307292129,"number":9,"title":"ファイルサイズ削減：プリセット盤面の圧縮表現","user":{"login":"na2hiro","id":736244,"avatar_url":"https://avatars3.githubusercontent.com/u/736244?v=4","gravatar_id":"","url":"https://api.github.com/users/na2hiro","html_url":"https://github.com/na2hiro","followers_url":"https://api.github.com/users/na2hiro/followers","following_url":"https://api.github.com/users/na2hiro/following{/other_user}","gists_url":"https://api.github.com/users/na2hiro/gists{/gist_id}","starred_url":"https://api.github.com/users/na2hiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/na2hiro/subscriptions","organizations_url":"https://api.github.com/users/na2hiro/orgs","repos_url":"https://api.github.com/users/na2hiro/repos","events_url":"https://api.github.com/users/na2hiro/events{/privacy}","received_events_url":"https://api.github.com/users/na2hiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T15:23:29Z","updated_at":"2018-03-21T15:23:29Z","closed_at":null,"author_association":"OWNER","body":"現在minifyされたファイル(14.6kB)の1/3近くがpresetの盤面情報で埋まっている．現在の表現方法は次のようである．\r\n```\r\n        \"HIRATE\": {\r\n            board: [\r\n                \"-KY-KE-GI-KI-OU-KI-GI-KE-KY\",\r\n                \" * -HI *  *  *  *  * -KA * \",\r\n                \"-FU-FU-FU-FU-FU-FU-FU-FU-FU\",\r\n                \" *  *  *  *  *  *  *  *  * \",\r\n                \" *  *  *  *  *  *  *  *  * \",\r\n                \" *  *  *  *  *  *  *  *  * \",\r\n                \"+FU+FU+FU+FU+FU+FU+FU+FU+FU\",\r\n                \" * +KA *  *  *  *  * +HI * \",\r\n                \"+KY+KE+GI+KI+OU+KI+GI+KE+KY\",\r\n            ],\r\n            turn: Color.Black,\r\n        },\r\n```\r\nこれが香落ち，角落ちなどプリセットの数だけ増えることになる．\r\n\r\n差分を使うなどして，うまく圧縮できる表現方法を用いてファイルサイズの削減をしたい．"}}
{"actor":{"display_login":"na2hiro"}}