Skip to content

LenRapp/SnakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Snake Game

A modern and elegant Snake game made with JavaScript.

🎮 How to Play

  1. Use the arrow keys or ZQSD to control the snake
  2. Eat apples to grow and score points
  3. Avoid running into yourself
  4. Press Space to pause the game

🎯 Objective

  • Eat as many apples as possible
  • Make the snake grow
  • Get the highest score

🎨 Features

  • Modern interface with smooth animations
  • Blue snake with shine effect
  • Stylized red apples
  • Green grid background
  • Score system
  • Animated Game Over screen
  • Restart button

🛠️ Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6+)
  • Canvas API

🚀 Installation

  1. Clone the repository
  2. Open index.html in your browser
    • Or use the Live Server extension in VS Code
    • Or launch a local server

🎯 Controls

  • ⬆️ or Z: Up
  • ⬇️ or S: Down
  • ⬅️ or Q: Left
  • ➡️ or D: Right
  • Space: Pause

🎨 Style

  • Modern and clean design
  • Smooth animations
  • Responsive interface
  • Elegant dark theme

🎯 Scoring

  • 1 point per apple eaten
  • Real-time score display

🐛 Known Bugs

  • No known bugs at the moment

🔜 Future Improvements

  • Add difficulty levels
  • High score system
  • Sound effects
  • Multiplayer mode

📝 License

This project is licensed under the MIT License.

📸 Preview

Game Start

Game Start

Game Over

Game Over

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors