-
Notifications
You must be signed in to change notification settings - Fork 0
/
player.html
84 lines (58 loc) · 2.4 KB
/
player.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 name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./common/style.css">
<link rel="stylesheet" href="./player/player.css">
<title>Jhemm Fighters | Make your move!</title>
</head>
<body>
<div class="page-wrapper">
<header class="logo-header">
<h1 class="logo">Jhemm Fighters</h1>
</header>
<header class="bordered-box main-bg">
<h1>
<span id="player-1-name"></span>'s turn
</h1>
</header>
<div class="two-column-grid">
<section id="player-stats" class="bordered-box main-bg">
<img id="player-image" src="./assets/rogue.png" alt="Image of your character" />
<article id="stats">
<div id="player-1-info" class="accent-bg centered-text">
<h2>Your current stats</h2>
<p>
Health: <span id="player-1-health"></span>
</p>
<p>
Energy: <span id="player-1-energy"></span>
</p>
</div>
<div id="player-2-info" class="main-bg bordered-box centered-text">
<h2><span id="player-2-name"></span>'s stats</h2>
<p>
Health: <span id="player-2-health"></span>
</p>
<p>
Energy: <span id="player-2-energy"></span>
</p>
</div>
</article>
</section>
<section class="bordered-box main-bg flex-column centered-text">
<h2>Choose an action!</h2>
<article>
<form id="actions">
<!-- dynamic content generated by JS -->
</form>
</article>
<button id="submit-action">Submit</button>
</section>
</div>
</div>
<script type="module" src="./player/player.js"></script>
</body>
</html>