-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·89 lines (71 loc) · 1.83 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html>
<head>
<title>The game</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/g-2.css">
</head>
<body>
<div class="main">
<h1>El juego de los Fosforos!</h1>
<div class="contenedorFos" id="contenedorFosforos">
<h2 id="win"></h2>
<div class="fosforo" id="1">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="2">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="3">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="4">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="5">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="6">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="7">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="8">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="9">
<img src="imagenes/fosforo1.gif">
</div>
<div class="fosforo" id="10">
<img src="imagenes/fosforo1.gif">
</div>
</div>
<button id="btnReset" onclick="restart()">Reiniciar</button>
<div class="controles">
<div id="player1">
<h3>Player 1</h3>
<label for="movimiento">Fosforos a quitar</label>
<br>
<div class="botones">
<button id="p1_1" onclick="Quitar('p1', 1)">1</button>
<button id="p1_2" onclick="Quitar('p1', 2)">2</button>
</div>
</div>
<div id="player2">
<h3>Player 2</h3>
<label for="movimiento">Fosforos a quitar</label>
<br>
<div class="botones">
<button id="p2_1" onclick="Quitar('p2', 1)">1</button>
<button id="p2_2" onclick="Quitar('p2', 2)">2</button>
</div>
</div>
</div>
</div>
<footer>
Creado por Michael Enríquez
</footer>
<script type="text/javascript" src="js/g-2.js"></script>
</body>
</html>