-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
250 lines (247 loc) · 10.9 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
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no"
/>
<title>Игра СЛОВЛО – Отгадай слово дня и поделись с друзьями!</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="Wordle на русском языке. Одно слово на всех каждый день! Отгадай быстрее своих друзей и поделись результатом с ними!">
<link rel="canonical" href="https://karkarbi4.github.io/wordle_ru/">
<meta property="og:url" content="https://karkarbi4.github.io/wordle_ru/">
<meta property="og:type" content="website">
<meta property="og:title" content="Игра СЛОВЛО – Отгадай слово дня и поделись с друзьями!">
<meta property="og:description" content="Wordle на русском языке. Одно слово на всех каждый день! Отгадай быстрее своих друзей и поделись результатом с ними!">
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="karkarbi4.github.io/wordle_ru/">
<link href="/src/style.css" rel="stylesheet" />
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (m, e, t, r, i, k, a) {
m[i] =
m[i] ||
function () {
(m[i].a = m[i].a || []).push(arguments);
};
m[i].l = 1 * new Date();
(k = e.createElement(t)),
(a = e.getElementsByTagName(t)[0]),
(k.async = 1),
(k.src = r),
a.parentNode.insertBefore(k, a);
})(
window,
document,
"script",
"https://mc.yandex.ru/metrika/tag.js",
"ym"
);
ym(88053813, "init", {
clickmap: true,
trackLinks: true,
accurateTrackBounce: true,
});
</script>
<!-- /Yandex.Metrika counter -->
</head>
<body>
<noscript
><div>
<img
src="https://mc.yandex.ru/watch/88053813"
style="position: absolute; left: -9999px"
alt=""
/></div
></noscript>
<div class="container">
<div class="wordle-header">
<div class="wordle-header__left">
<button class="wordle-header__rules">❓</button>
</div>
<h1 class="wordle-header-text">СЛОВЛО</h1>
<div class="wordle-header__right">
<button class="wordle-header__stats">📊</button>
</div>
</div>
<div class="wordle">
<div class="attempt">
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
</div>
<div class="attempt">
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
</div>
<div class="attempt">
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
</div>
<div class="attempt">
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
</div>
<div class="attempt">
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
</div>
<div class="attempt">
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
<div class="letter"><div class="letter-inner"></div></div>
</div>
</div>
<div id="keyboard" class="keyboard">
<div class="keyboard-row">
<button class="keyboard-key" data-key="й">й</button>
<button class="keyboard-key" data-key="ц">ц</button>
<button class="keyboard-key" data-key="у">у</button>
<button class="keyboard-key" data-key="к">к</button>
<button class="keyboard-key" data-key="е">е</button>
<button class="keyboard-key" data-key="н">н</button>
<button class="keyboard-key" data-key="г">г</button>
<button class="keyboard-key" data-key="ш">ш</button>
<button class="keyboard-key" data-key="щ">щ</button>
<button class="keyboard-key" data-key="з">з</button>
<button class="keyboard-key" data-key="х">х</button>
<button class="keyboard-key" data-key="ъ">ъ</button>
</div>
<div class="keyboard-row">
<button class="keyboard-key" data-key="ф">ф</button>
<button class="keyboard-key" data-key="ы">ы</button>
<button class="keyboard-key" data-key="в">в</button>
<button class="keyboard-key" data-key="а">а</button>
<button class="keyboard-key" data-key="п">п</button>
<button class="keyboard-key" data-key="р">р</button>
<button class="keyboard-key" data-key="о">о</button>
<button class="keyboard-key" data-key="л">л</button>
<button class="keyboard-key" data-key="д">д</button>
<button class="keyboard-key" data-key="ж">ж</button>
<button class="keyboard-key" data-key="э">э</button>
</div>
<div class="keyboard-row">
<button class="keyboard-key" data-key="Enter">✅</button>
<button class="keyboard-key" data-key="ё">ё</button>
<button class="keyboard-key" data-key="я">я</button>
<button class="keyboard-key" data-key="ч">ч</button>
<button class="keyboard-key" data-key="с">с</button>
<button class="keyboard-key" data-key="м">м</button>
<button class="keyboard-key" data-key="и">и</button>
<button class="keyboard-key" data-key="т">т</button>
<button class="keyboard-key" data-key="ь">ь</button>
<button class="keyboard-key" data-key="б">б</button>
<button class="keyboard-key" data-key="ю">ю</button>
<button class="keyboard-key" data-key="Backspace">⬅️</button>
</div>
</div>
</div>
<div id="modals-container"></div>
<template id="game-modal">
<div class="modal-backdrop modal-hidden">
<div class="modal">
<div class="modal-content">
<div class="modal-close">❌</div>
</div>
</div>
</div>
</template>
<template id="rules-modal-content">
<div>
<div class="rules-header">Как играть</div>
<div class="rules-content">
<p>Отгадай <b>СЛОВЛО</b> за 6 попыток.</p>
<p>Каждая догадка должна быть допустимым словом из пяти букв.</p>
<p>Нажми «Enter», чтобы проверить догадку.</p>
<p>
После каждой догадки цвет квадрата будет меняться, чтобы отобразить,
насколько догадка близка к загаданному слову.
</p>
<hr />
<p><b>Пример</b></p>
<div class="attempt rules-attempt">
<div class="letter letter-reveal letter-green">
<div class="letter-inner">А</div>
</div>
<div class="letter">
<div class="letter-inner">Р</div>
</div>
<div class="letter">
<div class="letter-inner">Б</div>
</div>
<div class="letter">
<div class="letter-inner">У</div>
</div>
<div class="letter">
<div class="letter-inner">З</div>
</div>
</div>
<p>Буква <b>А</b> есть в слове и находится на верном месте.</p>
<div class="attempt rules-attempt">
<div class="letter">
<div class="letter-inner">В</div>
</div>
<div class="letter letter-reveal letter-yellow">
<div class="letter-inner">О</div>
</div>
<div class="letter">
<div class="letter-inner">Р</div>
</div>
<div class="letter">
<div class="letter-inner">О</div>
</div>
<div class="letter">
<div class="letter-inner">Х</div>
</div>
</div>
<p>Буква <b>О</b> есть в слове, но на другом месте.</p>
<div class="attempt rules-attempt">
<div class="letter">
<div class="letter-inner">Ё</div>
</div>
<div class="letter">
<div class="letter-inner">Р</div>
</div>
<div class="letter">
<div class="letter-inner">Ш</div>
</div>
<div class="letter letter-reveal letter-gray">
<div class="letter-inner">И</div>
</div>
<div class="letter">
<div class="letter-inner">К</div>
</div>
</div>
<p>Буквы <b>И</b> нет в загаданном слове.</p>
<hr />
<b>Новое СЛОВЛО доступно каждый день!</b>
<br />
<div class="rules-footer">
<a href="https://github.com/KarKarbI4/wordle_ru" target="_blank"
>Github</a
>
</div>
</div>
</div>
</template>
<script type="module" src="/src/main.ts"></script>
</body>
</html>