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

玩家的状态问题 #4

Open
Lwxiang opened this issue Feb 11, 2016 · 3 comments
Open

玩家的状态问题 #4

Lwxiang opened this issue Feb 11, 2016 · 3 comments
Labels

Comments

@Lwxiang
Copy link
Owner

Lwxiang commented Feb 11, 2016

状态表示Idle时为空闲,只有空闲才能进入或创建房间

而leave_room中一旦玩家退出或刷新了页面(离开房间),状态值没有正确地改变

导致无法开始新的游戏等错误

@Lwxiang Lwxiang added the bug label Feb 11, 2016
@Lwxiang
Copy link
Owner Author

Lwxiang commented Feb 13, 2016

规定后台一旦玩家进入Gaming状态则不可逆

接下来打算在后端添加主动判断,若一段时间内玩家没有请求query和room,则判定他关闭了浏览器

@Lwxiang
Copy link
Owner Author

Lwxiang commented Feb 25, 2016

暂时让游戏中的人不能退出

但是对于关闭浏览器丢失会话的情况有点麻烦,加入todo list

@ccloli
Copy link
Collaborator

ccloli commented Mar 2, 2016

此外游戏结束后不能立即重新开始游戏,请求开始游戏会返回 5: no authority to do

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

No branches or pull requests

2 participants