Skip to content

feat: 快速進入 -2 #266

Closed
Closed
@ttpss930141011

Description

@ttpss930141011

image

Stories

玩家選擇一款遊戲,系統變幫他配發到此遊戲的公開房。如果此遊戲都沒有空房,就替玩家開一間新房,任命他為房主。(參考自 GTA online)

Example mapping

Example 1

image

Example 2

image

DoD

  1. 點擊快速加入按鈕
  2. POST / rooms:fastJoin
  3. 跳轉至新房間

Related APIs

POST /rooms:fastJoin
{
    "gameId": "{gameId}"
}

Response 200 加入遊戲成功
{
  "roomId": "{roomId}"
}

// Response 404 沒有這個遊戲類型的房間
// Response 409 無法加入因為房間已滿
=> 開新房 (200)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions