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

[frontend] 喊抓 #29

Open
7 tasks
ShadowSunCat opened this issue Jul 25, 2023 · 0 comments
Open
7 tasks

[frontend] 喊抓 #29

ShadowSunCat opened this issue Jul 25, 2023 · 0 comments

Comments

@ShadowSunCat
Copy link
Collaborator

ShadowSunCat commented Jul 25, 2023

A.C.

  • 有玩家喊 UNO 後,Catch 按鈕需變成可按的狀態。
  • 玩家點選 Catch 按鈕後,需介接 api - /action/catch
  • 接收到 /action/catch 的成功的 response 後,Catch 按鈕需變成不可按的狀態,且顯示 Catch 字樣在玩家手牌的右上方。
  • 需有單元測試保護以下項目:
    • 有玩家喊 UNO 後,Catch 按鈕有變成可按的狀態。
    • 點選 Catch 按鈕後,有呼叫 /action/catch。
    • 呼叫 /action/catch api 的邏輯
    • 收到 /action/catch 的成功的 response 後,按鈕有變成不可按的狀態,且顯示 Catch 字樣在玩家手牌的右上方

線框圖 (參考)

image

image

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