Añadidos juegos
This commit is contained in:
25
reflejos/index.html
Normal file
25
reflejos/index.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="es">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Juego: ¡Haz click al Círculo!</title>
|
||||
<link rel="stylesheet" href="styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>¡Haz click al Círculo!</h1>
|
||||
<div id="game-info">
|
||||
<span>Puntuación: <span id="score">0</span></span> |
|
||||
<span>Tiempo: <span id="timer">20</span> s</span>
|
||||
</div>
|
||||
<div id="game-area"></div>
|
||||
<button id="start-btn">Empezar Juego</button>
|
||||
|
||||
<div id="game-over" class="hidden">
|
||||
<h2>¡Juego Terminado!</h2>
|
||||
<p>Tu puntuación fue: <span id="final-score"></span></p>
|
||||
<button onclick="startGame()">Jugar de nuevo</button>
|
||||
</div>
|
||||
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user