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

调试过程中的两个问题 #2

Open
SoftCharacter opened this issue May 8, 2019 · 0 comments
Open

调试过程中的两个问题 #2

SoftCharacter opened this issue May 8, 2019 · 0 comments

Comments

@SoftCharacter
Copy link

1.当用户点击触摸的动作发生在棋盘格的边线或者分割线上时,会被判定为无效操作,游戏内不会做出相应动作,非常影响游戏操作的流畅性。
2.个人觉得添加数字的操作(setDataRandom())前应该添加一个判定——即数字移动/合并是否真实发生。当前情况下,例如用户一次向下滑动操作后,棋盘格内所有数字均未移动(用户操作发生前数字已全部靠下且无法合并),此时还会触发添加数字操作(setDataRandom()),与原版的游戏规则不符。

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

1 participant