Skip to content

Commit 1fbc5e9

Browse files
committed
uturns: Fix missing deadend check
1 parent f34c02b commit 1fbc5e9

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/variety/kusabi.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@
227227
"checkLineInWhiteCircle",
228228
"checkLineOverGrayCircle",
229229

230+
"checkLineShapeDeadend+",
230231
"checkDisconnectLine+",
231232
"checkNoLineObject"
232233
],

test/script/uturns.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ ui.debug.addDebugData("uturns", {
3535
"lcIsolate",
3636
"pzprv3/uturns/6/6/2 . 1 . 2 . /. . 3 . 3 . /. . . . . . /. . 3 . . . /. . . 2 . . /. 2 1 . . . /0 0 0 0 0 /0 1 1 0 0 /0 0 0 0 0 /0 1 1 0 0 /0 0 0 0 0 /0 0 0 0 0 /0 0 0 0 0 0 /0 1 0 1 0 0 /0 1 0 1 0 0 /0 0 0 0 0 0 /0 0 0 0 0 0 /"
3737
],
38+
[
39+
"lcDeadEnd",
40+
"pzprv3/uturns/6/6/2 . 1 . 2 . /. . 3 . 3 . /. . . . . . /. . 3 . . . /. . . 2 . . /. 2 1 . . . /0 0 0 0 1 /0 0 1 0 1 /1 1 0 0 0 /0 1 1 0 0 /0 0 0 0 0 /1 0 0 1 0 /1 0 0 0 0 1 /1 0 1 1 1 0 /0 0 0 1 1 0 /1 0 0 0 1 0 /1 0 0 1 1 0 /"
41+
],
3842
[
3943
null,
4044
"pzprv3/uturns/6/6/2 . 1 . 2 . /. . 3 . 3 . /. . . . . . /. . 3 . . . /. . . 2 . . /. 2 1 . . . /0 0 0 0 1 /0 0 1 0 1 /1 1 0 0 0 /1 1 1 0 0 /0 0 0 0 0 /1 0 0 1 0 /1 0 0 0 0 1 /1 0 1 1 1 0 /0 0 0 1 1 0 /1 0 0 0 1 0 /1 0 0 1 1 0 /"

0 commit comments

Comments
 (0)