Skip to content

enocben/snack-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published