Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 970 Bytes

File metadata and controls

30 lines (23 loc) · 970 Bytes

Snake Game

A modern, customizable Snake game built with HTML, CSS, and JavaScript.

Features

  • Playable with keyboard (arrows, Enter to start/restart, Space to pause/resume)
  • Three difficulty levels: Easy, Medium, Hard
  • Confetti effect when eating food
  • Gradient snake body
  • Pause mode (snake and food remain visible)

How to Play

  1. Open index.html in your web browser.
  2. Select your preferred level (Easy, Medium, Hard).
  3. Press Enter to start the game.
  4. Control the snake with the arrow keys.
  5. Press Space to pause/resume the game.
  6. When you lose, press Enter or click "Rejouer" to restart.

Screenshots

screenshot 1

screenshot 2

Credits

  • Made by Enoc Ben
  • Inspired by the classic Snake game

License

MIT