This repository was archived by the owner on Jun 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (76 loc) · 3.68 KB
/
Copy pathindex.html
File metadata and controls
95 lines (76 loc) · 3.68 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/all.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<div class="game" id="gamescreen" style="display: flex">
<!--Here is the Gameboard-->
<div class="wrapper" id="board"></div>
<!--Here the Game Dashboard starts-->
<div class="gamedashboard" id="dashboard">
<!-- Here the player1 dashboard start -->
<div class="player_scoreboard" id="player1_scoreboard">
<div >
<img width="100" height="100" class="img-fluid" id="BatmanPicture" src="images/player1.png" alt="Batman">
</div>
<div class="player1_health">
<div><h1>Player 1 - <span id="player1_name">Batman</span></h1></div>
<div><h3>Player1_Health: <span id="player1_health">100</span></h3></div>
<!-- <div class="hpBorder">
<div style="border: 3px solid maroon" id="batmanHpBar" class="hpBar"></div>
</div> -->
<progress id="player1_bar" class="hp_hopbar" value="100" max="100"></progress>
</div>
<div class="player1_weapon">
<div><h3>Weapon : <span id="player1_weapon">Knife</span></h3></div>
</div>
<div class="player1_damage">
<div><h3>Damage Points: <span id="player1_damage">5</span></h3></div>
</div>
<div class="player1_defence">
<div><h3>Defence: <span id="player1_defence">off</span></h3></div>
</div>
<div style="display: none" id="player1_fightbuttons">
<button id="attack1" class="btnAttack" onclick="attack()">Attack</button>
<button id="defence1" class="btnDefence" onclick="defend()">Defend</button>
</div>
</div>
<!-- Here the player1 dashboard ends -->
<!-- Here the player2 dashboard start -->
<div class="player_scoreboard" width="50" height="50" id="player2_scoreboard">
<div >
<img width="100" height="100" class="img-fluid" id="MarioPicture" src="images/2223.png" alt="Mario">
</div>
<div class="player2_health">
<div><h1>Player 2 - <span id="player2_name">Mario</span></h1></div>
<div><h3>Player2_Health: <span id="player2_health">100</span></h3></div>
<!-- <div class="hpBorder">
<div style="border: 3px solid maroon" id="marioHpBar" class="hpBar"></div>
</div> -->
<progress id="player2_bar" class="hp_hopbar" value="100" max="100"></progress>
</div>
<div class="player2_weapon">
<div><h3>Weapon : <span id="player2_weapon">Knife</span></h3></div>
</div>
<div class="player2_damage">
<div><h3>Damage Points: <span id="player2_damage">5</span></h3></div>
</div>
<div class="player2_defence">
<div><h3>Defence: <span id="player2_defence">off</span></h3></div>
</div>
<div style="display: none" id="player2_fightbuttons">
<button id="attack2" class="btnAttack" onclick="attack()">Attack</button>
<button id="defence2" class="btnDefence" onclick="defend()">Defend</button>
</div>
</div>
<!-- Here the player2 dashboard ends -->
</div>
</div>
<script src="./js/app.js"></script>
</body>
</html>