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

作者的代码似乎在这几点上可以改进一下? #3

Open
sduoooh opened this issue Feb 16, 2022 · 0 comments
Open

作者的代码似乎在这几点上可以改进一下? #3

sduoooh opened this issue Feb 16, 2022 · 0 comments

Comments

@sduoooh
Copy link

sduoooh commented Feb 16, 2022

  1. 您的代码排版似乎在一些地方出现了混乱,失去了整体的规范感;
  2. 也许您可以将Z与H进行调换,它们至少给我带来了一些阅读上的干扰;
  3. 贪吃蛇也许还应该加入限制触碰自身的规则,当然这是游戏规则问题,您可以不必理会;
  4. 或许贪吃蛇在增长自身时可以考虑在尾部增长,这样较为自然。

这些仅仅只是建议,希望对您有用并被采纳,有不同意见,若您有闲暇时间,希望可以提出。

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