Skip to content

Conversation

@Thomassteers
Copy link

@Thomassteers Thomassteers commented Jan 15, 2026

What: This PR changes the snake movement by replace the switch statement with a keyToDirection object that maps key codes to movement directions..
Why: This matters because it make the snake movement more smooth and easier to use.
Verified: I verified this by changing the finding where the code is and then changing it and loading up the website to check if it worked and then it worked. I expected it to work because I . I observed ________.
Status: This PR is (ready for review / a draft). Next step is ________.
Examples that count:

  • I ran ________ and the tests passed.
  • I reproduced the bug before, then confirmed it’s fixed after, using these steps: ________.
  • I recorded / screenshot the behavior before and after.
  • I checked the browser console and confirmed there are no errors during ________.

@Thomassteers Thomassteers marked this pull request as draft January 15, 2026 17:43
@patorjk
Copy link
Owner

patorjk commented Jan 16, 2026

What's up with all these PRs? I'm not opposed to looking at them, but it's rather strange to see so many at once out of no where.

@Thomassteers
Copy link
Author

Thomassteers commented Jan 20, 2026 via email

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.

2 participants