Skip to content

WastedVoid/wastedsnake.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Snake Game

This is a customizable Snake game built using HTML, CSS, and JavaScript. It features:

  • Customizable Settings: Change snake and food colors, game speed, grid size, and canvas dimensions.
  • Audio Effects: Enjoy sound effects for eating food and game over, plus background music.
  • Touch Controls: Swipe on mobile devices to control the snake.
  • Offline Support: Play the game offline via a service worker.
  • Persistent High Score: High score is saved using localStorage.

How to Run

  1. Clone or download this repository.
  2. Open index.html in your browser. For offline support and service worker functionality, run a local server (e.g., using Live Server).

Customization

  • Click the Settings button to open the settings panel.
  • Change snake color, food color, game speed, grid size, and canvas dimensions.
  • Click Apply Settings to restart the game with your new options.

License

This project is open source and available under the MIT License.

BY THE WAY, THIS PROJECT IS IN PROGRESS! IT WILL BE BUGGY AT FIRST BUT IT'S GETTING FIXED!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published