Skip to content

charisios10/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

A classic Snake game built with HTML5 Canvas and JavaScript. Navigate the snake to eat apples and grow longer while avoiding walls and colliding with yourself.

Features

  • 🎮 Smooth gameplay with arrow key controls
  • 🎨 Vibrant gradient UI with modern styling
  • 📊 Real-time score tracking
  • 🔄 Restart button to play again
  • ✨ Enhanced graphics with gradients and animations

How to Play

  1. Use Arrow Keys to control the snake's direction
  2. Eat the green apple to increase your score and grow
  3. Avoid hitting the walls or yourself
  4. Try to achieve the highest score!

Getting Started

  1. Open index.html in your web browser
  2. The game starts automatically
  3. Click "Restart Game" to reset and play again

Technologies Used

  • HTML5 Canvas for graphics
  • Vanilla JavaScript for game logic
  • CSS3 for styling and animations
  • jQuery for event handling

License

MIT License - See LICENSE file for details

About

A classic Snake game built with HTML5 Canvas and JavaScript. Navigate the snake to eat apples and grow longer while avoiding walls and colliding with yourself.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors