Skip to content

G-code7/Snake-Game-with-JS-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Snake Game

JavaScript License


Español


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:

  1. Clona el repositorio o descarga los archivos
  2. Abre index.html en tu navegador
  3. ¡A jugar!

English


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:

  1. Clone the repository or download the files
  2. Open index.html in your browser
  3. Play!

Screenshot

Game Screenshot

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

El clásico Snake hecho con JS Vanilla

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors