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

被邀请显示游戏中,应该是个bug #103

Open
Specialleiliei opened this issue Sep 5, 2023 · 2 comments
Open

被邀请显示游戏中,应该是个bug #103

Specialleiliei opened this issue Sep 5, 2023 · 2 comments

Comments

@Specialleiliei
Copy link
Contributor

被邀请但还未进入游戏,应该不能显示“戏”吧。
被邀请显示戏1
被邀请显示戏2

@anlingyi
Copy link
Owner

anlingyi commented Sep 5, 2023

哈哈哈,这其实不算bug,当时就是这么设计的,只要你收到了游戏邀请,你的状态就会被设置为“游戏中”,这样设计确实不是很合理,应该再设置一个过渡状态的,只是我偷懒了😅

@anlingyi
Copy link
Owner

anlingyi commented Sep 5, 2023

为什么要这么设计呢?

还是为了省事🤭。主要是为了防止再被别的玩家邀请,或者是自己手动开启游戏(因为代码中对“游戏中”状态做了很多的限制,当处于“游戏中”状态时,将不可自己开启游戏和被邀请游戏)。

后续会考虑更合理的设计😄

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

No branches or pull requests

2 participants