CrustaShrimp / Snake

The old game snake
MIT License
1 stars 3 forks source link

[BUG] Game seems less responsive in lower difficulty #66

Open CrustaShrimp opened 3 years ago

CrustaShrimp commented 3 years ago

Describe the bug It seems as if the game itself is less responsive when playing at lower difficulty.

To Reproduce Steps to reproduce the behavior:

  1. Play on low difficulty
  2. Notice arrow=key presses are sometimes not registered
  3. Increase difficulty
  4. Notice how much more keypresses are detected

Expected behavior Keystrokes should always be registered and dealt with in the same way

Screenshots

Desktop (please complete the following information):

Additional context Maybe the timer of the process is changed? It should always be at the same frequency, use some sort of divider to handle slowing down the game?