-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
161 lines (147 loc) · 7.14 KB
/
game.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="ru">
<head>
<title>Игра</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="./assets/images/img/icon-html.png" />
<link rel="import" id="link" href="./app/components/loading/loading-screen.html">
</head>
<body>
<loading-screen id="loader"></loading-screen>
<div id="loader_wrapper" class="animate-bottom">
<section class="page-header-game">
<div class="page-header-game__wrapper"></div>
</section>
<section class="slogan">
<div class="slogan__wrapper">
<h1 class="slogan__text">Осторожно, игра задействует мозговой сектор</h1>
</div>
</section>
<form class="form" method="post">
<div class="form__wrapper">
<section class="form__fields fields-text">
<fieldset class="fields-text__items">
<label class="fields-text__item">
<span class="fields-text__title">Фамилия:</span>
<input class="fields-text__input" type="text" name="surname" placeholder="Укажите фамилию *" required>
</label>
<label class="fields-text__item">
<span class="fields-text__title">Имя:</span>
<input class="fields-text__input" type="text" name="name" placeholder="Введите ваше имя *" required>
</label>
<label class="fields-text__item">
<span class="fields-text__title">Почта:</span>
<input class="fields-text__input" type="email" name="email" placeholder="Введите почту *" required>
</label>
</fieldset>
</section>
<section class="form__fields fields-radio">
<fieldset class="fields-radio__items">
<legend class="fields-radio__legend">Выберите своего персонажа:</legend>
<label class="fields-radio__item">
<input class="fields-radio__input" type="radio" name="character" data-name="Картман" value="0" checked>
<span class="fields-radio__text">Эрик Картман</span>
</label>
<label class="fields-radio__item">
<input class="fields-radio__input" type="radio" name="character" data-name="Кайл" value="1">
<span class="fields-radio__text">Кайл Брофловски</span>
</label>
<label class="fields-radio__item">
<input class="fields-radio__input" type="radio" name="character" data-name="Стэн" value="2">
<span class="fields-radio__text">Стэн Марш</span>
</label>
</fieldset>
</section>
<section class="form__fields field-action">
<button class="field-action__btn" type="submit">НАЧАТЬ ИГРУ</button>
<p class="field-action__text"><span class="field-action__index">*</span> — обязательные <span class="field-action__hidden"> для заполнения</span> поля</p>
</section>
</div>
</form>
<section class="game">
<div class="game__wrapper">
<div class="game__header">
<div class="game__info-block game__info-block--user">
<p class="game__nickname game__nickname--character"></p>
<div class="game__life-block">
<div class="game__life-line-container">
<div class="game__life-line game__life-line--character" style="width: 100%;"></div>
</div>
<p class="game__life-num">
<span class="game__life-amount game__life-amount--character">100 </span>
/ 100
</p>
</div>
</div>
<div class="game__level">
<p class="game__level-text">Уровень
<span class="game__level-span">1</span>
</p>
</div>
<div class="game__info-block game__info-block--enemy">
<p class="game__nickname game__nickname--enemy"></p>
<div class="game__life-block game__life-block--enemy">
<div class="game__life-line-container game__life-line-container--enemy">
<div class="game__life-line game__life-line--enemy" style="width: 100%;"></div>
</div>
<p class="game__life-num game__life-num--enemy">
<span class="game__life-amount game__life-amount--enemy">100 </span>
/ 100
</p>
</div>
</div>
</div>
<div class="game__message-container">
<div class="game__btn-container">
<button class="game__btn game__btn--exit" type="submit">Выйти из игры</button>
<button class="game__btn game__btn--next-round" type="submit">Cледующий раунд</button>
</div>
<div class="game__level-message">
<p class="game__message-text">Уровень
<span class="game__message-span">1</span>
</p>
</div>
</div>
<div class="game__game-place">
<div class="game__character"></div>
<div class="game__enemy">
<div class="game__body-enemy"></div>
<div class="game__shorts-enemy"></div>
<div class="game__suits-enemy"></div>
<div class="game__hands-enemy"></div>
<div class="game__face-enemy"></div>
<div class="game__eyes-enemy"></div>
<div class="game__mouth-enemy"></div>
<div class="game__hat-enemy"></div>
</div>
<div class="game__boom-canvas">
<canvas class="boomAnimationActive" width="120" height="120" style="width: 200px; height: 200px;"></canvas>
</div>
</div>
</div>
</section>
<div class="popup popup--failure">
<div class="popup__wrapper">
<p class="popup__text popup__text--failure">Заполните все поля формы</p>
<button class="popup__btn popup__btn--failure" type="submit">OK</button>
</div>
</div>
<section class="popup popup--score"></section>
<div class="popup popup--incantations">
<div class="popup__wrapper popup__wrapper--incantations">
<h3 class="popup__text popup__text--incantations">Выберите тип заклинания:</h3>
<div class="popup__incantation-links">
<button class="popup__incantation-btn btn" data-value="restore" type="submit">Лечиться</button>
<button class="popup__incantation-btn btn" data-value="power1x" type="submit">Атака с блоком (урон х1)</button>
<button class="popup__incantation-btn btn" data-value="power2x" type="submit">Атака без блока (урон х2)</button>
</div>
</div>
</div>
<section class="modal-container modal-container--arithmetic"></section>
<section class="modal-container modal-container--translation"></section>
<section class="modal-container modal-container--drug-n-drop"></section>
<section class="modal-container modal-container--audition"></section>
<script type="text/javascript" src="bundle.7ffa7c1e72317418363e.js"></script>
</body>
</html>