Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

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