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