Skip to content

Fix direction-related bug#3

Open
acagastya wants to merge 1 commit intoCodingrainbow:masterfrom
acagastya:patch-2
Open

Fix direction-related bug#3
acagastya wants to merge 1 commit intoCodingrainbow:masterfrom
acagastya:patch-2

Conversation

@acagastya
Copy link

Currently, if snake is moving left, right arrow will instantly kill and end the game, while it should not. Added check to prevent it.

Currently, if snake is moving left, right arrow will instantly kill and end the game, while it should not.  Added check to prevent it.
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

Successfully merging this pull request may close these issues.

1 participant