-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathversus.html
114 lines (104 loc) · 4.05 KB
/
versus.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!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">
<link rel="stylesheet" href="styleVersus.css">
<script type = module src="scriptVersus.js" defer></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=VT323">
<title>Incoming battle</title>
</head>
<body>
<header>
</header>
<article>
<!--Health-->
<div class="menu">
<div class="menu-player">
<div class="health-menu">
<p>Health points : </p>
<progress id="player-health" value = "50" max = "100"></progress>
<p><span id="hp">100</span> / <span id="hpMax">100</span></p>
</div>
<div class="strike-menu">
<div class="strike-text">
<p>Maximum strikes : </p>
</div>
<div id="strike-display-player"></div>
</div>
<div class="stat-menu">
<div class="stat-text">
<p>Attack points : </p>
</div>
<div class="stat-display">
<div class="rock">
<img src="img/Intent/intent_rock.png" alt="">
<span id="rock-dgt-player">0</span>
</div>
<div class="paper">
<img src="img/Intent/intent_paper.png" alt="">
<span id="paper-dgt-player">9999</span>
</div>
<div class="scissors">
<img src="img/Intent/intent_scissors.png" alt="">
<span id="scissors-dgt-player">0</span>
</div>
</div>
</div>
<div class="char-menu">
<div class="char-player">
<img class="char-image-player" src="img/mc/stand.gif" alt="">
</div>
</div>
<div class="versus-menu">
<p>Player</p>
</div>
</div>
<div class="menu-opponent">
<div class="health-menu">
<p>Health points : </p>
<progress id="opponent-health" value = "100" max = "100"></progress>
<p><span id="opponentHp">100</span> / <span id="opponentHpMax">100</span></p>
</div>
<div class="strike-menu">
<div class="strike-text">
<p>Maximum strikes : </p>
</div>
<div id="strike-display-opponent"></div>
</div>
<div class="stat-menu">
<div class="stat-text">
<p>Attack points : </p>
</div>
<div class="stat-display">
<div class="rock">
<img src="img/Intent/intent_rock.png" alt="">
<span id="rock-dgt-opponent">0</span>
</div>
<div class="paper">
<img src="img/Intent/intent_paper.png" alt="">
<span id="paper-dgt-opponent">9999</span>
</div>
<div class="scissors">
<img src="img/Intent/intent_scissors.png" alt="">
<span id="scissors-dgt-opponent">0</span>
</div>
</div>
</div>
<div class="char-menu">
<div class="char-opponent">
<img id="opponent-image" class="char-image-opponent" src="" alt="">
</div>
</div>
<div class="versus-menu">
<p>Opponent</p>
</div>
</div>
</div>
</article>
<footer>
<button id="further">Fight</button>
</footer>
</body>
</html>