{"action":"opened","issue":{"url":"https://api.github.com/repos/nagisc007/storybuilder/issues/20","repository_url":"https://api.github.com/repos/nagisc007/storybuilder","labels_url":"https://api.github.com/repos/nagisc007/storybuilder/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/nagisc007/storybuilder/issues/20/comments","events_url":"https://api.github.com/repos/nagisc007/storybuilder/issues/20/events","html_url":"https://github.com/nagisc007/storybuilder/issues/20","id":419253376,"node_id":"MDU6SXNzdWU0MTkyNTMzNzY=","number":20,"title":"Implement: act and description structure","user":{"login":"nagisc007","id":13265247,"node_id":"MDQ6VXNlcjEzMjY1MjQ3","avatar_url":"https://avatars2.githubusercontent.com/u/13265247?v=4","gravatar_id":"","url":"https://api.github.com/users/nagisc007","html_url":"https://github.com/nagisc007","followers_url":"https://api.github.com/users/nagisc007/followers","following_url":"https://api.github.com/users/nagisc007/following{/other_user}","gists_url":"https://api.github.com/users/nagisc007/gists{/gist_id}","starred_url":"https://api.github.com/users/nagisc007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nagisc007/subscriptions","organizations_url":"https://api.github.com/users/nagisc007/orgs","repos_url":"https://api.github.com/users/nagisc007/repos","events_url":"https://api.github.com/users/nagisc007/events{/privacy}","received_events_url":"https://api.github.com/users/nagisc007/received_events","type":"User","site_admin":false},"labels":[{"id":1262027889,"node_id":"MDU6TGFiZWwxMjYyMDI3ODg5","url":"https://api.github.com/repos/nagisc007/storybuilder/labels/feature","name":"feature","color":"a2eeef","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-11T00:30:13Z","updated_at":"2019-03-11T00:30:13Z","closed_at":null,"author_association":"OWNER","body":"Actオブジェクトに「act」と「description」二つの要素を持った構造を与えて、それを用いて物語構築できるようにする\r\n===\r\n\r\n## Description\r\n\r\n基本的にsceneとして複数のActを持ったtupleを作りますが、現在はAct.actionをそのまま、あるいは多少加工して最終出力文章としています。\r\nこれを.actionの出力を「構造」として扱い、主にTestはこちら側を使って行い、最終的な文章としては.description側を用いることができるように調整する。\r\n\r\n## Expected behaviour\r\n\r\n```python\r\nepisode = (\r\n    Taro().act(\"talk to Hanako\").desc(\"Yo say\")\r\n    )\r\n```\r\nこんな感じに設定して、```.desc(\"he has a smile\")```みたいな風に追記できるようにする。\r\n\r\n## Current behaviour\r\n\r\n```python\r\nepisode = (\r\n    Taro().tell(\"Yo say\"),\r\n    )\r\n```\r\n\r\n## Note\r\n\r\n- Subjectクラスも作成し、それを使ってActの主語設定を行えるようにする。"}}
{"actor":{"display_login":"nagisc007"}}