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

Start Game Usecase #97

Open
shmily7829 opened this issue Sep 23, 2023 · 0 comments
Open

Start Game Usecase #97

shmily7829 opened this issue Sep 23, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@shmily7829
Copy link
Collaborator

Start Game Usecase

Description

房主開始骰子街,分配該局骰子街所有玩家的初始遊戲資源。

Example

  • 分配遊戲資源成功
    Given 
    玩家 A 創建一局骰子街,玩家 B、C、D 加入骰子街。
    When
    玩家 A 開始骰子街。
    Then
    分配資源給玩家A、B、C、D。
    
  • Test
    • 玩家 A、B、C、D 每位應有以下資源
       - 小麥田 x 1
       - 麵包店 x 1
       - 面朝下的起始地標建築各 1 張 (主題樂園、廣播電台、購物中心、火車站)
       - 金幣 x 3

  • 遊戲開始失敗
    Given 
    玩家 A 創建一局骰子街。
    When
    玩家 A 開始骰子街。
    Then
    開始骰子街失敗。
    
  • Test
    • 回傳錯誤訊息 "玩家人數不足"。

Additional Context

如果有任何特殊事項或需要注意的問題,請在此說明或附加圖片描述。

@shmily7829 shmily7829 added the enhancement New feature or request label Sep 23, 2023
@shmily7829 shmily7829 self-assigned this Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant