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

[前端] 遊戲開始 & 玩家公開資訊的 api#17_frontend #28

Open
daydaychao opened this issue Oct 5, 2023 · 0 comments
Open

[前端] 遊戲開始 & 玩家公開資訊的 api#17_frontend #28

daydaychao opened this issue Oct 5, 2023 · 0 comments

Comments

@daydaychao
Copy link
Collaborator

內容:

開始遊戲

A: [開始遊戲] 按鈕 當玩家>=3人可以準備開始遊戲
[POST] /api/games/{gameId}:start

B: 遊戲開始會有跳彈通知, (需要下一局玩家姓名或是位子讓前端允與他出牌)
Web Socket Notice channel: 'GAME_STARTED'

玩家資訊

[GET] /api/games/{gameId}/players


驗收:

3人以上可以按 開始遊戲
進入遊戲可以即時看到左方玩家 : 使用者名稱,三張工具卡資料.

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

No branches or pull requests

1 participant