Conversation
|
Visit the preview URL for this PR (updated for commit 9a33966): https://web-deploy-9d41a--pr69-refactor-waiting-roo-9zwzgih1.web.app (expires Tue, 25 Nov 2025 04:44:45 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 4a5d43964536093bf8932015bdd49b24c5b660ce |
sernan96
reviewed
Nov 17, 2025
Contributor
There was a problem hiding this comment.
대기방 테스팅
우선 대기방에 대한 테스팅으로 발견한 고칠 부분 및 개선점 입니다.
- 방장 위임시 자동 준비완료 전환 (방 생성 후 최초 1회만 발생함)
사진에서처럼 방장 위임 시에 방장은 준비하지 않았어도 준비완료 상태로 변경됩니다.
준비를 풀었다가 다시 시도했을때는 해당 문제가 발생하지 않고 방장 위임 후 최초 1회만 발생합니다.
또한 저 준비완료 상태가 되고 나면 ready를 풀고 다시 ready를 해도
막상 시작하기를 누르면 아래 사진처럼 뜨게 됩니다.

- 플레이어 슬롯에 플레이어 순서
사소한 거긴 한데 기존에 들어온 순서대로 플레이어 슬롯에 뜨기로 했었는데
지금 정렬 기준이 뭔지는 모르겠는데 될때가 있고 안될때가 있습니다.
그래서 나중에 들어오는 사람이 더 앞에 위치하게 됩니다.
- 인원 수 다른 선택지가 굳이 필요한가 여부
이제 인원 수는 해당 게임에서 2명으로 고정해두었는데
나머지 선택지는 필요가 없어 보입니다.
게임 종료 후
- 게임 종료 후에 대기방으로 돌아왔을 때 준비완료 유지
현재 게임을 끝내고 대기방으로 돌아왔을 때에 최초 상태가
준비완료입니다.
그렇게 된다면 방장이 먼저 나와서 상대방 의사와 상관없이
그냥 바로 스타트해서 게임으로 납치가 되고
아래와 같이 방장은 게임 중인데 상대방은 끝나고 결과확인 하다가
납치된 후 게임화면도 정상적으로 뜨지않는 문제가 발생하게 됩니다.
그리고 5분 정도 기다려본 결과 둘다 저 상황에서 나아가지 않습니다.
게임이 시작되면 준비완료를 초기화 해주면 될 것 같습니다.
Contributor
Contributor
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



대기방
게임 1