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

[backend] 流程開發 - 玩家抽牌 #18

Open
1 task
ShadowSunCat opened this issue Jul 11, 2023 · 1 comment
Open
1 task

[backend] 流程開發 - 玩家抽牌 #18

ShadowSunCat opened this issue Jul 11, 2023 · 1 comment

Comments

@ShadowSunCat
Copy link
Collaborator

ShadowSunCat commented Jul 11, 2023

驗收測試需求

given: 遊戲內有玩家 A 和玩家 B,現在輪到玩家 A 出牌,但玩家 A 沒有可以出的牌
when: 玩家 A 抽牌
then: 玩家 A 抽牌成功,換玩家 B 出牌。

A.C.

注意事項

  • 已經有 [backend] 流程開發 - 進入遊戲 #11 拓荒 class 分類,可以參照這樣的模式開新的路。
  • 先不儲存到 DB,使用三層式架構 (Controller + Service + Memory Cache Repo)。
  • 以 ATDD 的方式開發,所以 Controller 要有驗收測試的測項。
  • 各個 class 要有自己的單元測試保護
@ShadowSunCat
Copy link
Collaborator Author

blocked by #16

@ShadowSunCat ShadowSunCat changed the title ---- block by #16 ---- [backend] 流程開發 - 玩家抽牌 [backend] 流程開發 - 玩家抽牌 Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant