Skip to content

Unwanted behaviour when keys are pressed too quickly #1

@BOAScripts

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)

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