-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (54 loc) · 2.74 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
<!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="./main.css">
<script src="./scripts/index.js" type="module"></script>
<title>Wizard Game</title>
</head>
<body>
<div class="page-wrapper">
<header class="header">
<div class="header__logo-section">
<h4 class="header__logo">Wizzard Game</h4>
<h4 class="header__health-section">Health: <span class="header__health-value">100</span><div class="header__health-extra-info"></div></h4>
</div>
<div class="header__info-section">
<div class="header__shop-section"><button class="header__shop-btn">Shop</button></div>
<div class="header__score-section">Score:<span class="header__score-value">0</span></div>
</div>
</header>
<main class="game-screen">
<section class="start-section">
<h2 class="start-section__heading">Game Settings</h2>
<div class="keyboard-config">
<section class="keyboard-config__movement-section">
<h5 class="keyboard-config__movement-heading">Move</h5>
<div class="keyboard-config__movement-inputs">
<input type="text" class="key-w" value="w" maxlength="1" />
<input type="text" class="key-a" value="a" maxlength="1" />
<input type="text" class="key-d" value="d" maxlength="1" />
<input type="text" class="key-s" value="s" maxlength="1" />
</div>
</section>
<section class="keyboard-config__shoot-section">
<h5 class="keyboard-config__shoot-heading">Shoot</h5>
<div class="keyboard-config__shoot-inputs">
<input type="text" class="key-shoot" value="space" maxlength="1" />
</div>
</section>
</div>
<button class="start-section__btn">Start game</button>
</section>
<section class="game-over">
<h1 class="game-over__heading">Game Over :(</h1>
<div class="game-over__score-section">Score:<span class="game-over__score-value">0</span></div>
<div class="game-over__time-section">Time:<span class="game-over__time-value">0</span></div>
<button class="game-over__play-btn">Try Again</button>
</section>
</main>
</div>
</body>
</html>