Skip to content

Unwanted behaviour when keys are pressed too quickly #1

Description

@BOAScripts

example:

direction=LEFT
if 'UP(or DOWN) & RIGHT' pressed too quickly

  • trigger gameover() (when snake.length > 2)
  • reverse snake direction. (when snake.length <= 2)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions