Añadidos juegos

This commit is contained in:
2025-08-21 23:42:55 +02:00
parent ec9c7d8d63
commit 90b2643d8d
46 changed files with 3936 additions and 0 deletions

19
serpiente/index.html Normal file
View File

@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Snake Game</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Juego de la Serpiente</h1>
<p>Usa las flechas del teclado para mover la serpiente. ¡Come y crece!</p>
<div id="game-container">
<canvas id="gameCanvas" width="400" height="400"></canvas>
</div>
<div id="score">Puntaje: <span id="score-value">0</span></div>
<button id="restart-btn">Reiniciar</button>
<div id="game-over-message"></div>
<script src="script.js"></script>
</body>
</html>