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.
- Clone or download this repository.
- Open
index.html
in your browser. For offline support and service worker functionality, run a local server (e.g., using Live Server).
- 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.
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!