Skip to content

Cyberpunk arcade snake game built with vanilla HTML, CSS, and JavaScript. No frameworks, no dependencies.

License

Notifications You must be signed in to change notification settings

elitepunith/Neon-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 23, 2026
33f57eb · · Feb 23, 2026

History

9 Commits
Feb 23, 2026
Feb 23, 2026
Feb 23, 2026
Feb 23, 2026
Feb 23, 2026
Feb 23, 2026

Repository files navigation

Neon Snake

Cyberpunk arcade snake. Vanilla HTML, CSS, JavaScript — no build step, no dependencies.


Controls

Input Action
W A S D / Arrows Move
P Pause / Resume
ESC Restart
Swipe / D-pad Move (mobile)

Scoring

Item Points
Food (pink) Level × 10
Bonus (yellow) Level × 50

10 levels of increasing speed. Bonus items expire if not collected in time.


Run locally

open index.html

# or
npx serve  .

Suggested upgrades

Gameplay

  • Wall mode — lethal borders instead of wrap-around
  • Ghost power-up — pass through body once
  • Daily challenge with seeded food layout
  • Two-player on the same keyboard

Feel

  • Screen shake on death via canvas transform
  • Rounded connected body segments instead of squares
  • Haptic feedback on mobile via navigator.vibrate()
  • Background hue shift per level

Persistence

  • Local top-10 leaderboard with initials
  • Share score as plain text

Accessibility

  • Reduce-motion mode (disables glitch + particles)
  • Color-blind friendly palette toggle

License

MIT — see LICENSE.

About

Cyberpunk arcade snake game built with vanilla HTML, CSS, and JavaScript. No frameworks, no dependencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published