akai-org / akai-org/mafiakai

Integration: Lobby page

オープン
#30 コメント 0 件 リアクション 0 件 担当者 1 名 @mit3r が担当を希望しています GitHub で見る
backend frontend
主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Refactor lobby to handle
### Setting seats
- [ ] Backend: Seats mechanism
- [ ] Frontend: Seats mechanism

First player which joins the room has seat = 0. Then rest of the players must choose their seat. Free seat has assigned id of player from seats array for example:
```typescript

const playerSeats = ["Adam", "Bartek", "Celina", "Damian", "Ewa"]
// Adam has seat number 0, Bartek 1 and so on
// When we choose seat between Adam & Bartek we recive Bartek's seat number.
// We send it to backend and at backend we increase every seat higher or equal than reviced seat number
// When players disconnects seats must be decreased
```

### Naming players

### Players list updates

### Persona updates

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。