René's URL Explorer Experiment


Title: Fix snake movement by Thomassteers · Pull Request #128 · patorjk/JavaScript-Snake · GitHub

Open Graph Title: Fix snake movement by Thomassteers · Pull Request #128 · patorjk/JavaScript-Snake

X Title: Fix snake movement by Thomassteers · Pull Request #128 · patorjk/JavaScript-Snake

Description: The game of Snake written in JavaScript. Contribute to patorjk/JavaScript-Snake development by creating an account on GitHub.

Open Graph Description: 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 moveme...

X Description: 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 moveme...

Opengraph URL: https://github.com/patorjk/JavaScript-Snake/pull/128

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a05a90df-b8f1-66f5-e8a1-305af2af8355
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9E4:320EB:5935279:7D741BC:6A4FB004
html-safe-nonce1ce53777d6053cab29b559a2475dd90a9386889612d43cb28be48dccdbe03eb6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUU0OjMyMEVCOjU5MzUyNzk6N0Q3NDFCQzo2QTRGQjAwNCIsInZpc2l0b3JfaWQiOiI3MDU5NDIxMzA1NjM2ODkyNjc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb8d6237e8093bc3759764d4152da43e02b75e293b30f068f6f4dd1016dd2d117
hovercard-subject-tagpull_request:3178185555
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/patorjk/JavaScript-Snake/128/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/019255c85a48fee4355e4f14a858f399ae3a8af13f9f4dbd53931f84ff94b349/patorjk/JavaScript-Snake/pull/128
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/019255c85a48fee4355e4f14a858f399ae3a8af13f9f4dbd53931f84ff94b349/patorjk/JavaScript-Snake/pull/128
og:image:altWhat: 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 moveme...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameThomassteers
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
go-importgithub.com/patorjk/JavaScript-Snake git https://github.com/patorjk/JavaScript-Snake.git
octolytics-dimension-user_id521224
octolytics-dimension-user_loginpatorjk
octolytics-dimension-repository_id5733912
octolytics-dimension-repository_nwopatorjk/JavaScript-Snake
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id5733912
octolytics-dimension-repository_network_root_nwopatorjk/JavaScript-Snake
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/patorjk/JavaScript-Snake/pull/128#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatorjk%2FJavaScript-Snake%2Fpull%2F128
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatorjk%2FJavaScript-Snake%2Fpull%2F128
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=patorjk%2FJavaScript-Snake
Reloadhttps://github.com/patorjk/JavaScript-Snake/pull/128
Reloadhttps://github.com/patorjk/JavaScript-Snake/pull/128
Reloadhttps://github.com/patorjk/JavaScript-Snake/pull/128
patorjk https://github.com/patorjk
JavaScript-Snakehttps://github.com/patorjk/JavaScript-Snake
Notifications https://github.com/login?return_to=%2Fpatorjk%2FJavaScript-Snake
Fork 673 https://github.com/login?return_to=%2Fpatorjk%2FJavaScript-Snake
Star 593 https://github.com/login?return_to=%2Fpatorjk%2FJavaScript-Snake
Code https://github.com/patorjk/JavaScript-Snake
Issues 15 https://github.com/patorjk/JavaScript-Snake/issues
Pull requests 18 https://github.com/patorjk/JavaScript-Snake/pulls
Actions https://github.com/patorjk/JavaScript-Snake/actions
Projects https://github.com/patorjk/JavaScript-Snake/projects
Wiki https://github.com/patorjk/JavaScript-Snake/wiki
Security and quality 0 https://github.com/patorjk/JavaScript-Snake/security
Insights https://github.com/patorjk/JavaScript-Snake/pulse
Code https://github.com/patorjk/JavaScript-Snake
Issues https://github.com/patorjk/JavaScript-Snake/issues
Pull requests https://github.com/patorjk/JavaScript-Snake/pulls
Actions https://github.com/patorjk/JavaScript-Snake/actions
Projects https://github.com/patorjk/JavaScript-Snake/projects
Wiki https://github.com/patorjk/JavaScript-Snake/wiki
Security and quality https://github.com/patorjk/JavaScript-Snake/security
Insights https://github.com/patorjk/JavaScript-Snake/pulse
Thomassteershttps://github.com/Thomassteers
patorjk:mainhttps://github.com/patorjk/JavaScript-Snake/tree/main
Thomassteers:bug-fix-small-feature-UI-improvement-docs-testhttps://github.com/Thomassteers/JavaScript-Snake/tree/bug-fix-small-feature-UI-improvement-docs-test
Conversationhttps://github.com/patorjk/JavaScript-Snake/pull/128
Commits2 (2)https://github.com/patorjk/JavaScript-Snake/pull/128/commits
Checkshttps://github.com/patorjk/JavaScript-Snake/pull/128/checks
Files changedhttps://github.com/patorjk/JavaScript-Snake/pull/128/files
Fix snake movementhttps://github.com/patorjk/JavaScript-Snake/pull/128#top
Thomassteershttps://github.com/Thomassteers
patorjk:mainhttps://github.com/patorjk/JavaScript-Snake/tree/main
Thomassteers:bug-fix-small-feature-UI-improvement-docs-testhttps://github.com/Thomassteers/JavaScript-Snake/tree/bug-fix-small-feature-UI-improvement-docs-test
https://github.com/Thomassteers
Thomassteershttps://github.com/Thomassteers
Jan 15, 2026https://github.com/patorjk/JavaScript-Snake/pull/128#issue-3818509852
Please reload this pagehttps://github.com/patorjk/JavaScript-Snake/pull/128
https://private-user-images.githubusercontent.com/228763331/539289191-77007ccc-2527-43f7-8ce6-49e0338d160b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM2MDc2MDAsIm5iZiI6MTc4MzYwNzMwMCwicGF0aCI6Ii8yMjg3NjMzMzEvNTM5Mjg5MTkxLTc3MDA3Y2NjLTI1MjctNDNmNy04Y2U2LTQ5ZTAzMzhkMTYwYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcwOVQxNDI4MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNmI4ZDlmMWY0NDA1NGVkMzU0NWZmMDhhNjFlYTU3OWUyMDIwYjFhOTY4MTMyNTZjNDBmZTE3ZTZjYTViZDU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.fh2uSZoSaATYY_xjTpAKZSKSbbhsGP9w3c-xa620sFM
Please reload this pagehttps://github.com/patorjk/JavaScript-Snake/pull/128
https://github.com/Thomassteers
add gitignorehttps://github.com/patorjk/JavaScript-Snake/pull/128/commits/85d7bbe18c0c99291c0e54de46ad65821f8b22cd
85d7bbehttps://github.com/patorjk/JavaScript-Snake/pull/128/commits/85d7bbe18c0c99291c0e54de46ad65821f8b22cd
https://github.com/Thomassteers
Thomassteershttps://github.com/Thomassteers
January 15, 2026 17:43https://github.com/patorjk/JavaScript-Snake/pull/128#event-22075838075
https://github.com/patorjk
patorjkhttps://github.com/patorjk
Jan 16, 2026https://github.com/patorjk/JavaScript-Snake/pull/128#issuecomment-3757693155
Please reload this pagehttps://github.com/patorjk/JavaScript-Snake/pull/128
https://github.com/Thomassteers
Thomassteershttps://github.com/Thomassteers
Jan 20, 2026https://github.com/patorjk/JavaScript-Snake/pull/128#issuecomment-3773861425
https://github.com/patorjk/JavaScript-Snake/pull/128
patorjk/JavaScript-Snake#128https://github.com/patorjk/JavaScript-Snake/pull/128
patorjk/JavaScript-Snake#128https://github.com/patorjk/JavaScript-Snake/pull/128
https://urldefense.com/v3/__https://github.com/patorjk/JavaScript-Snake/pull/128*issuecomment-3757693155__;Iw!!BTqRWmVbhMX8Yfj58w!rsLQ_7UT-jpcioOGbSwCWU5zjd8M_zkscuykCKBep8vKIl6C5bTTXqTTVI20Kr9XN8kfnH0-Igquc85o3WTS5zU4JuP0oQcPgk-CpEDQ$https://urldefense.com/v3/__https://github.com/patorjk/JavaScript-Snake/pull/128*issuecomment-3757693155__;Iw!!BTqRWmVbhMX8Yfj58w!rsLQ_7UT-jpcioOGbSwCWU5zjd8M_zkscuykCKBep8vKIl6C5bTTXqTTVI20Kr9XN8kfnH0-Igquc85o3WTS5zU4JuP0oQcPgk-CpEDQ$
https://urldefense.com/v3/__https://github.com/patorjk/JavaScript-Snake/pull/128*issuecomment-3757693155__;Iw!!BTqRWmVbhMX8Yfj58w!rsLQ_7UT-jpcioOGbSwCWU5zjd8M_zkscuykCKBep8vKIl6C5bTTXqTTVI20Kr9XN8kfnH0-Igquc85o3WTS5zU4JuP0oQcPgk-CpEDQ$https://urldefense.com/v3/__https://github.com/patorjk/JavaScript-Snake/pull/128*issuecomment-3757693155__;Iw!!BTqRWmVbhMX8Yfj58w!rsLQ_7UT-jpcioOGbSwCWU5zjd8M_zkscuykCKBep8vKIl6C5bTTXqTTVI20Kr9XN8kfnH0-Igquc85o3WTS5zU4JuP0oQcPgk-CpEDQ$
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/BWRKNQYZL6EP3AJSO5HCR234HA6QHAVCNFSM6AAAAACR2IWQGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTONJXGY4TGMJVGU__;!!BTqRWmVbhMX8Yfj58w!rsLQ_7UT-jpcioOGbSwCWU5zjd8M_zkscuykCKBep8vKIl6C5bTTXqTTVI20Kr9XN8kfnH0-Igquc85o3WTS5zU4JuP0oQcPggggKea_$https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/BWRKNQYZL6EP3AJSO5HCR234HA6QHAVCNFSM6AAAAACR2IWQGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTONJXGY4TGMJVGU__;!!BTqRWmVbhMX8Yfj58w!rsLQ_7UT-jpcioOGbSwCWU5zjd8M_zkscuykCKBep8vKIl6C5bTTXqTTVI20Kr9XN8kfnH0-Igquc85o3WTS5zU4JuP0oQcPggggKea_$
Please reload this pagehttps://github.com/patorjk/JavaScript-Snake/pull/128
https://github.com/Thomassteers
Thomassteershttps://github.com/Thomassteers
January 22, 2026 17:22https://github.com/patorjk/JavaScript-Snake/pull/128#event-22222104794
https://github.com/Thomassteers
changed movement codehttps://github.com/patorjk/JavaScript-Snake/pull/128/commits/5c0b83929c4d6473476fcab22d3e248f9a5fe0b3
5c0b839https://github.com/patorjk/JavaScript-Snake/pull/128/commits/5c0b83929c4d6473476fcab22d3e248f9a5fe0b3
https://github.co/hiddenchars
https://github.com/patorjk/JavaScript-Snake/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatorjk%2FJavaScript-Snake%2Fpull%2F128
Please reload this pagehttps://github.com/patorjk/JavaScript-Snake/pull/128
https://github.com/Thomassteers
https://github.com/patorjk
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.