-
Notifications
You must be signed in to change notification settings - Fork 0
/
mokepon.html
84 lines (71 loc) · 2.58 KB
/
mokepon.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mokepon!</title>
<link rel="stylesheet" href="./styles.css">
<link rel="stylesheet" href="./responsive.css">
</head>
<body>
<section id="Elige_mascota">
<h1 id="titulo">Mokepon </h1>
<h2 id="mascota">Elige tu mokepon: </h2>
<div id="divTarjetas" class="tarjetas">
</div>
<button id="boton-mascota" class="botoncito">Seleccionar</button>
</section>
<section id="verMapa">
<h2 id="subtitulo">Recorre el mapa</h2>
<p> <canvas id="mapa"></p>
<div class="botones2">
<div>
<button onmouseup="detener()" onmousedown="moverCharmanderUp()" class="botoncito2">⬆</button>
</div>
<div class="botones3">
<button onmouseup="detener()" onmousedown="moverCharmanderLeft()" class="botoncito2">⬅</button>
<button onmouseup="detener()" onmousedown="moverCharmanderDown()" class="botoncito2">⬇</button>
<button onmouseup="detener()" onmousedown="moverCharmanderRight()" class="botoncito2">➡</button>
</div>
</canvas>
</div>
</section>
<section id="Elige_Ataque">
<h2 id="mascota">Elige tu ataque: </h2>
<h3 id="restante"> </h3>
<div class="fixear">
<div class="health">
<div id="one" class="one" align="center">
<p id="mascota-jugador"> </p>
<p id="vidaJ">0 Victorias</p>
<p id="movJ"></p>
</div>
<div class="three">
<img src="../Mokepon/imagenes/vs.png" alt="" width="50px" height="50px" class="vs">
</div>
<div id="two" class="two" align="center">
<p id="mascota-enemigo"> </p>
<p id="vidaE">0 Victorias</p>
<p id="movE"></p>
</div>
</div>
</div>
<div id="divAtaques" class="botonesAtaque">
</div>
</section>
<div align="center">
<section class="win" id="test">
</section>
<section id="reiniciar">
<button class="botoncito">Reiniciar</button>
</div>
<div align="center">
<section id="pelea">
<p id="WOL">
</p>
</section>
</div>
<script src="./JavaScript/mokepon.js"></script>
</body>
</html>