Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

會議記錄 #56

Open
keytsai opened this issue Dec 18, 2022 · 2 comments
Open

會議記錄 #56

keytsai opened this issue Dec 18, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@keytsai
Copy link
Collaborator

keytsai commented Dec 18, 2022

12/18

  • 付錢邏輯封裝到 Player,並且 return 實際付的錢
  • early return: 有 isTurnPlayer() 的 method 可以改成下圖,增加可讀性:
    image
  • 可加入 JaCoCo,產生 Test Coverage Report
  • 卡牌發動效果順序邏輯 -> 直接在 ownedEstablishmentTakeEffect() 處理
@keytsai keytsai added the documentation Improvements or additions to documentation label Dec 18, 2022
@keytsai
Copy link
Collaborator Author

keytsai commented Jan 15, 2023

1/15

Todo

  • 初始配置
  • 紫色建築卡牌
  • 地標建築
  • 付錢實作
  • 玩家回合

image

@huangken8511429
Copy link
Contributor

huangken8511429 commented May 6, 2023

5/6開會

玩家流程相關:
已回合來看:玩家決定建設或Pass 是同個State(即該回合的最終階段)
已實作API來說:要分別實作兩個API,因為這兩個是不同行為。

Todo:
先把Layer層弄好,有完整的架構後,把原本遊戲發動效果的ForEach改掉,
目前一個玩家該回合需要做的事流程如下圖:
image
各個API都會知道這個玩家處於什麼狀態,並進行相對應的動作。

OOA討論決定不開Effect Interface,然後我自己會先出一版跟程式碼Match的OOA圖,如果有什麼遺漏的再麻煩大家補充,謝謝。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants