Añadidos juegos
This commit is contained in:
19
serpiente/index.html
Normal file
19
serpiente/index.html
Normal 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>
|
Reference in New Issue
Block a user