Skip to content

dylan3796/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages