Un clásico juego de la serpiente implementado con JavaScript moderno.
Cómo jugar:
- Usa las teclas de flecha (↑ ↓ → ←) para controlar la dirección de la serpiente
- Come la comida roja para crecer y sumar puntos
- Evita chocar contra las paredes o contra tu propio cuerpo
- Presiona R para reiniciar cuando pierdas
Características:
- Sistema de puntuación y récord persistente
- Movimiento fluido y controles responsivos
- Diseño minimalista y elegante
- Código limpio y bien estructurado
Instalación:
- Clona el repositorio o descarga los archivos
- Abre
index.htmlen tu navegador - ¡A jugar!
A classic Snake game implemented with modern JavaScript.
How to play:
- Use arrow keys (↑ ↓ → ←) to control the snake's direction
- Eat the red food to grow and score points
- Avoid crashing into walls or your own body
- Press R to restart when you lose
Features:
- Scoring system with persistent high score
- Smooth movement and responsive controls
- Minimalist and elegant design
- Clean and well-structured code
Installation:
- Clone the repository or download the files
- Open
index.htmlin your browser - Play!
Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
