Skip to content

Commit d5df0d6

Browse files
committed
Merge branch 'main'
2 parents db785f9 + 569575e commit d5df0d6

File tree

15 files changed

+140
-16
lines changed

15 files changed

+140
-16
lines changed

src-ui/changes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
<main>
3434
<div style="margin-bottom: 5px;"><b>Latest types</b> (<em><a href="/list.html" target="_parent">all types</a></em>)</div>
3535
<ul>
36+
<li><a href="/p?circuitwalk" target="_parent">Circuit Walk</a></li>
3637
<li><a href="/p?cornerch" target="_parent">Corner Chain 隅角チェーン</a></li>
3738
<li><a href="/p?sendai" target="_parent">Sendai-Miyagi 宮城県仙台市</a></li>
3839
<li><a href="/p?keywest" target="_parent">Key West キーウエスト</a></li>
3940
<li><a href="/p?morningwalk" target="_parent">Morning Walk</a></li>
4041
<li><a href="/p?energywalk" target="_parent">Energy Walk</a></li>
4142
<li><a href="/p?sansaroad" target="_parent">Sansa Road サンサロード</a></li>
42-
<li><a href="/p?diamond" target="_parent">Diamond Chain</a></li>
4343
</ul>
4444
</main>
4545
</body>

src-ui/img/circuitwalk.png

118 Bytes
Loading

src-ui/js/ui/KeyPopup.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ ui.keypopup = {
239239
cityspace: [10, 0],
240240
diamond: [4, 0],
241241
sendai: [10, 0],
242+
circuitwalk: [10, 0],
242243
morningwalk: [10, 0],
243244
energywalk: [10, 0],
244245
cornerch: [10, 0],
@@ -510,6 +511,7 @@ ui.keypopup = {
510511
pid === "forestwalk" ||
511512
pid === "morningwalk" ||
512513
pid === "energywalk" ||
514+
pid === "circuitwalk" ||
513515
pid === "dbchoco" ||
514516
pid === "balloon"
515517
) {
@@ -528,6 +530,8 @@ ui.keypopup = {
528530
? "rgb(212,180,212)"
529531
: pid === "energywalk"
530532
? "rgb(255,255,163)"
533+
: pid === "circuitwalk"
534+
? "rgb(118,165,175)"
531535
: "rgb(192,224,255)"
532536
}
533537
]);

src-ui/js/ui/Misc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ function toBGimage(pid) {
124124
"cbanana",
125125
"chainedb",
126126
"circlesquare",
127+
"circuitwalk",
127128
"cityspace",
128129
"cocktail",
129130
"coffeemilk",

src-ui/list.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ <h2 id="title"><span lang="ja">パズルの種類のリスト</span><span lang="
210210
<li data-pid="icelom"></li>
211211
<li data-pid="icelom2"></li>
212212
<li data-pid="icewalk"></li>
213+
<li data-pid="circuitwalk"></li>
213214
</ul>
214215
</div>
215216
<div class="lists lines">

src-ui/res/p.en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
"enline.tool": "Enable to draw line only between the points",
184184
"lattice.tool": "Disable drawing segment passing over a lattice point",
185185
"uramashu": "Change to Ura-Mashu",
186-
"singlenum.tool": "Ensure that a region has a number",
186+
"singlenum.tool": "Ensure that each region has one number",
187187
"singleregion": "Ensure that only one tile is shaded in each region",
188188
"forceallcell.tool": "Force each cell to have a number",
189189
"snakebd": "Draw border around a snake",

src-ui/res/rules.en.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ energywalk: "Draw lines to form a single network that goes through every numbere
360360
morningwalk: "Draw a loop that goes through every numbered cell.\n1. The loop cannot branch off or cross itself.\n2. A number indicates how many cells make up the continuous white section of the loop that the number is on.\n3. The lengths of two successive differently coloured sections of the loop must not be equal."
361361
cornerch: |-
362362
Shade some cells on the board to form regions of unshaded cells.
363-
1. A number indicates the size of the region that contains it..
363+
1. A number indicates the size of the region that contains it.
364364
2. Clues represent the number of cells in the region they belong to. A region can contain one or more identical numbers, or none at all.
365365
3. If the number of cells in an unshaded group is even, the area must be rectangular. If the number of cells is odd, the area must not be rectangular.
366366
4. All unshaded areas must be connected diagonally.

src/pzpr/variety.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
cave: [1, 0, "バッグ", "Cave", "kurodoko", { alias: "bag" }],
117117
cbanana: [0, 0, "チョコバナナ", "Choco Banana"],
118118
circlesquare: [0, 0, "Circles and Squares", "Circles and Squares"],
119+
circuitwalk: [0, 0, "Circuit Walk", "Circuit Walk", "icewalk"],
119120
context: [0, 0, "Context", "Context"],
120121
crossstitch: [0, 0, "Crossstitch", "Crossstitch"],
121122
cts: [0, 0, "Cross the Streams", "Cross the Streams", "nonogram"],

src/res/failcode.en.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,14 +602,15 @@
602602
"lnBranch.forestwalk": "There is a branch line outside of a forest cell.",
603603
"lnBranch": "There is a branch line.",
604604
"lnConsecutive.kaidan": "Two adjacent rectangles don't have a size difference of 1.",
605-
"lnCross.crossstitch": "A loop crosses itself.",
606605
"lnCross": "There is a crossing line.",
607606
"lnCrossExCir.pipelink": "There is a crossing line out of circles.",
608607
"lnCrossExIce": "A line is crossed outside of ice.",
608+
"lnCrossExIce.circuitwalk": "A line is crossed outside of a shaded cell.",
609609
"lnCrossExIce.energywalk": "A line is crossed outside of an energy cell.",
610610
"lnCrossExMk": "There is a crossing outside given crosses.",
611611
"lnCrossOnNum.pipelink": "Lines are crossed on a number.",
612612
"lnCrossPencil.pencils": "A line crosses a pencil.",
613+
"lnCrossSelf": "A loop crosses itself.",
613614
"lnCurveOnCir.pipelink": "A line turns on a circle.",
614615
"lnCurveOnCir.portal": "A line turns on an unmarked portal.",
615616
"lnCurveOnIce": "A line turns on ice.",
@@ -637,6 +638,7 @@
637638
"lnLenLt.reflect": "The lines passing a triangle are too short.",
638639
"lnMultipleTips.pencils": "A line connects to more than one pencil tip.",
639640
"lnNoBorder.ladders": "A ladder doesn't touch two region borders.",
641+
"lnNoBranch.circuitwalk": "A visited shaded cell doesn't contain a cross.",
640642
"lnNoBranch.energywalk": "A visited energy cell doesn't branch off in all directions.",
641643
"lnNoBranch.forestwalk": "A visited forest cell doesn't contain a T-junction.",
642644
"lnNoBranch.tjunction": "A cell doesn't contain a T-junction.",
@@ -664,6 +666,7 @@
664666
"lnOverlap.tontti": "A line overlaps a number.",
665667
"lnPassOver.kouchoku": "A segment passes over a clue.",
666668
"lnPlLine": "There are multiple lines.",
669+
"lnPlLoop.circuitwalk": "The various loops don't form a single network.",
667670
"lnPlLoop.crossstitch": "There aren't exactly two loops.",
668671
"lnPlLoop.diamond": "Not all shaded cells and diamonds are connected.",
669672
"lnPlLoop.forestwalk": "There are multiple networks.",

src/res/failcode.ja.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,13 +411,13 @@
411411
"lcTripleNum": "3つ以上の数字がつながっています。",
412412
"lnAdjacent.tontti": "繋がっている線の形が同じです。",
413413
"lnBranch": "分岐している線があります。",
414-
"lnCross.crossstitch": "線が自己交差しています。",
415414
"lnCross": "線が交差しています。",
416415
"lnCrossExCir.pipelink": "○の部分以外で線が交差しています。",
417416
"lnCrossExIce": "氷の部分以外で線が交差しています。",
418417
"lnCrossExMk": "十字以外の場所で線が交差しています。",
419418
"lnCrossOnNum.pipelink": "○の部分で線が交差しています。",
420419
"lnCrossPencil.pencils": "線が鉛筆の軸と交差しています。",
420+
"lnCrossSelf": "線が自己交差しています。",
421421
"lnCurveOnCir.pipelink": "○の部分で線が曲がっています。",
422422
"lnCurveOnIce": "氷の部分で線が曲がっています。",
423423
"lnDeadEnd": "途中で途切れている線があります。",

0 commit comments

Comments
 (0)