[+] Rules line

This commit is contained in:
2024-12-16 22:30:20 -05:00
parent 0efe20d389
commit 93fac66653
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -252,6 +252,9 @@
<span><a href="https://github.com/hykilpikonna/slither-link">GitHub</a> | <a href="https://aza.moe">Blog</a></span>
<img src={svelteLogo} alt="Logo"/>
</div>
<div class="rules">
Welcome to SlitherLink! 🧩 The rules are simple: Draw lines between the dots to create one big loop (no crossings, no branches). The numbers are your hints they tell you how many lines should surround them. Left-click to draw, right-click to mark with an X. Can you crack the perfect path?
</div>
<div class="puzzle-grid" style={`height: ${rows * cfg.totalW}px; width: ${cols * cfg.totalW}px;`}
on:click={clickDiv} on:contextmenu={clickDiv} on:keypress={console.log} role="grid" tabindex="0"
+4
View File
@@ -87,6 +87,10 @@ main
img
height: 1em
.rules
max-width: 600px
opacity: 0.9
.btn-div
display: flex
gap: 1em