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

View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Piedra, Papel o Tijera</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Piedra, Papel o Tijera</h1>
<div id="scoreboard">
Tú: <span id="user-score">0</span> |
Máquina: <span id="computer-score">0</span>
</div>
<div id="choices">
<button data-choice="piedra">🪨 Piedra</button>
<button data-choice="papel">📄 Papel</button>
<button data-choice="tijera">✂️ Tijera</button>
</div>
<div id="result"></div>
<button id="reset-btn">Reiniciar</button>
<script src="script.js"></script>
</body>
</html>