4 Commits

Author SHA1 Message Date
s3rius 55b4089e43 Updated dictionary according to 10_000 most fequent words form НКРЯ.
/ docker_build (push) Successful in 1m33s
/ helm_deploy (push) Successful in 35s
Testing zangramru / lint (push) Successful in 32s
Testing zangramru / pytest (push) Failing after 51s
Signed-off-by: Pavel Kirilin <s3riussan@gmail.com>
2026-07-02 11:15:04 +02:00
s3rius 5355159e49 Updated dictionary.
Testing zangramru / lint (push) Successful in 30s
Testing zangramru / pytest (push) Failing after 51s
Signed-off-by: Pavel Kirilin <s3riussan@gmail.com>
2026-07-02 04:05:25 +02:00
s3rius a34d63aebe Fixed finding words.
/ docker_build (push) Successful in 1m31s
/ helm_deploy (push) Successful in 26s
Testing zangramru / lint (push) Successful in 32s
Testing zangramru / pytest (push) Failing after 22s
Signed-off-by: Pavel Kirilin <s3riussan@gmail.com>
2026-07-02 03:42:44 +02:00
s3rius 039d206ba0 Added og meta tags.
/ docker_build (push) Successful in 1m24s
/ helm_deploy (push) Successful in 35s
Testing zangramru / lint (push) Successful in 32s
Testing zangramru / pytest (push) Failing after 46s
Signed-off-by: Pavel Kirilin <s3riussan@gmail.com>
2026-07-02 03:18:53 +02:00
5 changed files with 4536 additions and 17243 deletions
+1
View File
@@ -1 +1,2 @@
**/*.csv filter=lfs diff=lfs merge=lfs -text **/*.csv filter=lfs diff=lfs merge=lfs -text
**/*.png filter=lfs diff=lfs merge=lfs -text
+4523 -17242
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -239,6 +239,7 @@ class PuzzleGenerator:
prev = path[0] prev = path[0]
for tile in path[1:]: for tile in path[1:]:
neigbours[prev].add(tile) neigbours[prev].add(tile)
neigbours[tile].add(prev)
prev = tile prev = tile
extras = {w: p for w, p in solutions.items() if w not in cover} extras = {w: p for w, p in solutions.items() if w not in cover}
+11 -1
View File
@@ -4,6 +4,14 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Занграммы</title> <title>Занграммы</title>
<meta property="og:title" content="Занграммы">
<meta property="og:description" content="Игра со словами — находи слова на сетке">
<meta property="og:image" content="/preview.png">
<meta property="og:type" content="website">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Занграммы">
<meta name="twitter:description" content="Игра со словами — находи слова на сетке">
<meta name="twitter:image" content="/preview.png">
<style> <style>
* { margin: 0; padding: 0; box-sizing: border-box; } * { margin: 0; padding: 0; box-sizing: border-box; }
body { body {
@@ -40,13 +48,15 @@
font-size: 2rem; font-size: 2rem;
font-weight: bold; font-weight: bold;
color: #fff; color: #fff;
min-height: 3rem; height: 3rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
letter-spacing: 0.3em; letter-spacing: 0.3em;
cursor: pointer; cursor: pointer;
padding: 0.5rem; padding: 0.5rem;
border-radius: 8px; border-radius: 8px;
transition: background 0.2s; transition: background 0.2s;
display: inline-block;
text-align: center;
} }
#wordDisplay:hover { background: rgba(255,255,255,0.05); } #wordDisplay:hover { background: rgba(255,255,255,0.05); }
#message { #message {
Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB