Skip to content

abhishek-singh2007/snake-game

Repository files navigation

🐍 glowing Snake Game (HTML5)

A glowing-style Snake Game built using pure JavaScript, HTML5 Canvas, and CSS3. This project focuses on smooth movement logic, collision detection, and score management.

🎮 Features

  • Grid-Based Movement: Precise movement logic using coordinate mapping.
  • Score Tracking: Real-time score updates and High Score persistence (optional).
  • Responsive Canvas: Adapts to different screen sizes.
  • Game Loop Optimization: Smooth 60 FPS experience without lag.

🛠️ Tech Stack

  • HTML5: For the game board (Canvas API).
  • CSS3: For styling the UI and layout.
  • JavaScript (ES6): For game logic, snake physics, and input handling.

📋 Project Structure

├── index.html       # Entry point & Canvas structure
├── style.css        # UI styling & Layout
└── script.js       # Core Game Logic (Movement, Collision, Food Spawning)

wning)



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published