files
Juegos/piedra-papel-tijera/index.html
2025-08-21 23:42:55 +02:00

23 lines
635 B
HTML

<!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>