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

Snake moves diagonally when eating itself and respawning #92

Closed
Rom1-J opened this issue Jul 30, 2020 · 0 comments · Fixed by #144
Closed

Snake moves diagonally when eating itself and respawning #92

Rom1-J opened this issue Jul 30, 2020 · 0 comments · Fixed by #144
Labels
bug Issue/PR related to an error, fault, or flaw. help wanted Applied when a feature request/bug needs help to be implemented/fixed. low priority Issue/PR is low priority.

Comments

@Rom1-J
Copy link
Contributor

Rom1-J commented Jul 30, 2020

Describe the Bug

When you eat yourself in snake game, sometime the snake respawn and moves diagonally

Steps to Reproduce

  1. go to she snake game page
  2. press all arrow keys (not at the same time but almost (press left and up and after down and right))
  3. repeat the process while your snake is not dead

Expected Behavior

Normal respawn in horizontally position

Screenshots

image
image

Environment

  • OS: Windows 10
  • Browser: Chrome
  • Version: 93.0.4103.116

Additional context

When your snake moves diagonally, arrow keypress event has no effect

@Rom1-J Rom1-J added the bug Issue/PR related to an error, fault, or flaw. label Jul 30, 2020
@carolinaisslaying carolinaisslaying added help wanted Applied when a feature request/bug needs help to be implemented/fixed. low priority Issue/PR is low priority. labels Aug 2, 2020
BannerBomb added a commit to BannerBomb/website that referenced this issue Sep 23, 2020
@carolinaisslaying carolinaisslaying linked a pull request Sep 23, 2020 that will close this issue
advaith1 pushed a commit that referenced this issue Sep 26, 2020
advaith1 pushed a commit to discordextremelist/lgbt-website that referenced this issue Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue/PR related to an error, fault, or flaw. help wanted Applied when a feature request/bug needs help to be implemented/fixed. low priority Issue/PR is low priority.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants