From 22925940cca91804b9dcd20b08f0f5bf42d99b3d Mon Sep 17 00:00:00 2001 From: Hauke Neitzel Date: Sat, 11 Dec 2021 18:06:36 +0100 Subject: [PATCH 1/2] Add alternative display mode for Slitherlink * adds a base grid of lines which can be removed in place of placing peke marks * added an option in slitherlink to turn this alternative display style on or off --- docs/Config.md | 1 + src-ui/p.html | 6 ++++++ src/puzzle/Config.js | 5 +++++ src/variety-common/Graphic.js | 2 +- src/variety/slither.js | 10 ++++++++++ 5 files changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/Config.md b/docs/Config.md index 637a4c536..1cf46cbe8 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -15,6 +15,7 @@ |`dispqnumbg`|`boolean`|`false`|Set background color of question circles silver for `'Yin Yang'`| |`undefcell`|`boolean`|`true`|Set background color of undetermined cell for `'School Trip'`| |`squarecell`|`boolean`|`true`|Set cell on the board always square| +|`altline`|`boolean`|`false`|Alternative display mode for `'Slitherlink'`| ## List of config for input method diff --git a/src-ui/p.html b/src-ui/p.html index 47ac8c874..2666162ee 100644 --- a/src-ui/p.html +++ b/src-ui/p.html @@ -292,6 +292,12 @@

読み込み中です...

__数字・記号をパネルで入力する__Input numbers by panel__ +
+ +