{"action":"closed","issue":{"url":"https://api.github.com/repos/jimraynor0/dndtools/issues/18","labels_url":"https://api.github.com/repos/jimraynor0/dndtools/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/jimraynor0/dndtools/issues/18/comments","events_url":"https://api.github.com/repos/jimraynor0/dndtools/issues/18/events","html_url":"https://github.com/jimraynor0/dndtools/issues/18","id":69029785,"number":18,"title":"Draca card management","user":{"login":"jimraynor0","id":3946901,"avatar_url":"https://avatars.githubusercontent.com/u/3946901?v=3","gravatar_id":"","url":"https://api.github.com/users/jimraynor0","html_url":"https://github.com/jimraynor0","followers_url":"https://api.github.com/users/jimraynor0/followers","following_url":"https://api.github.com/users/jimraynor0/following{/other_user}","gists_url":"https://api.github.com/users/jimraynor0/gists{/gist_id}","starred_url":"https://api.github.com/users/jimraynor0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimraynor0/subscriptions","organizations_url":"https://api.github.com/users/jimraynor0/orgs","repos_url":"https://api.github.com/users/jimraynor0/repos","events_url":"https://api.github.com/users/jimraynor0/events{/privacy}","received_events_url":"https://api.github.com/users/jimraynor0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T23:30:33Z","updated_at":"2015-04-21T11:05:03Z","closed_at":"2015-04-21T11:05:03Z","body":"This is an epic. Need to break down a lot. Here's the initial requirement:\r\n\r\n公共区域：\r\n牌库、弃牌堆、额外区域\r\n\r\n玩家：\r\n手牌，展示区\r\n\r\n操作：\r\n展示手牌(手牌->展示区)\r\n收回展示牌(展示区->手牌)\r\n显示当前展示区状态(可以显示自己的，某个玩家的，或者所有人的)\r\n\r\n抓(n张)牌(牌库->手牌)\r\n退回牌库(手牌->牌库，并洗牌)\r\n\r\n打出手牌(手牌->弃牌堆)\r\n丢弃手牌(手牌->弃牌堆，跟打牌的描述文字不同而已)\r\n挖坟(弃牌堆->手牌);\r\n\r\n通用移动 (任意区域中的一张牌->任意另一区域，用于额外区域间的移动)\r\n\r\n洗牌库\r\n重置牌库(把所有其他区域的牌洗回到牌库并洗牌)\r\n显示弃牌堆\r\n显示额外区域\r\n\r\n牌库设置从xml文件中读取，格式如下：\r\n\r\n<setup>\r\n  <extraArea>\r\n    <area>特殊区域1</area>\r\n    <area>特殊区域2</area>\r\n    ...\r\n  </extraArea>\r\n  <cardList>\r\n    <card>\r\n      <name>卡牌名</name>\r\n      <desc>卡牌说明</desc>\r\n      <amount>数量(正整数)</amount>\r\n    </card>\r\n    <card>\r\n      <name>卡牌名</name>\r\n      <desc>卡牌说明</desc>\r\n      <amount>数量(正整数)</amount>\r\n    </card>\r\n    ...\r\n  </cardList>\r\n</setup>\r\n\r\n"}}