Skip to content

About

Classic Snake game built with vanilla HTML, CSS, and JavaScript

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Snake Game 🐍

A classic Snake game built with vanilla HTML, CSS, and JavaScript.

🎮 Play Now

Play the game →

🕹️ How to Play

  • Arrow Keys - Control snake direction
  • Eat Food - Grow longer and score points
  • Avoid Walls - Don't hit the edges
  • Avoid Yourself - Don't run into your own tail

🚀 Run Locally

# Clone the repo
git clone https://github.com/dylan3796/snake-game.git
cd snake-game

# Open in browser
open snake.html

Or just double-click snake.html to play!

🛠️ Built With

  • Pure HTML5 Canvas
  • Vanilla JavaScript
  • CSS3 Gradients

Simple, classic, fun. No dependencies. Just snake. 🐍

About

Classic Snake game built with vanilla HTML, CSS, and JavaScript

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages