Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 598 Bytes

File metadata and controls

27 lines (22 loc) · 598 Bytes

Snake Game 🐍

The classic Snake game rendered on an HTML5 canvas, playable with arrow keys.

Features

  • Canvas-based rendering (500x500 board)
  • Score and high score tracking
  • Restart button to reset the game
  • Keyboard controls (arrow keys) for movement

Tech Stack

  • HTML5 (Canvas API)
  • CSS3
  • JavaScript (Vanilla)

How to Run

  1. Clone or download this folder.
  2. Open index.html in your browser.
  3. Use the arrow keys to control the snake. Click Restart Game to play again.

File Structure

Snake_Game/
├── index.html
├── style.css
└── script.js