Skip to content

Commit 8a8c457

Browse files
authored
Add Yokeimoji Cross
1 parent 18ae46e commit 8a8c457

10 files changed

Lines changed: 684 additions & 1 deletion

File tree

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?yokeimoji" target="_parent">Yokeimoji Cross 余計文字クロス</a></li>
3637
<li><a href="/p?golemgrad" target="_parent">Golem Grad</a></li>
3738
<li><a href="/p?bwloop" target="_parent">Kuroshiro Loop クロシロループ</a></li>
3839
<li><a href="/p?hamlepaths" target="_parent">Hamle Paths</a></li>
3940
<li><a href="/p?ruleofthree" target="_parent">Rule of Three</a></li>
4041
<li><a href="/p?disco" target="_parent">Disconnection ディスコネクション</a></li>
4142
<li><a href="/p?nuriloop" target="_parent">Nurikabe Loop 面積リンク</a></li>
42-
<li><a href="/p?roboticwalk" target="_parent">Robotic Walk</a></li>
4343
</ul>
4444
</main>
4545
</body>

src-ui/img/yokeimoji.png

126 Bytes
Loading

src-ui/js/ui/Misc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ function toBGimage(pid) {
259259
"waterwalk",
260260
"wittgen",
261261
"yinyang",
262+
"yokeimoji",
262263
"zabajaba"
263264
];
264265
if (imgs.indexOf(pid) >= 0) {

src-ui/list.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ <h2 id="title"><span lang="ja">パズルの種類のリスト</span><span lang="
129129
<li data-pid="outofsight"></li>
130130
<li data-pid="sumiwake"></li>
131131
<li data-pid="oasis"></li>
132+
<li data-pid="yokeimoji"></li>
132133
</ul>
133134
</div>
134135
<div class="lists loops">

src/puzzle/KeyInput.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ pzpr.classmgr.makeCommon({
136136
key = "left";
137137
} else if (keycode === 39) {
138138
key = "right";
139+
} else if (keycode === 13) {
140+
key = "enter";
139141
} else if (48 <= keycode && keycode <= 57) {
140142
key = (keycode - 48).toString(36);
141143
} else if (65 <= keycode && keycode <= 90) {

src/pzpr/variety.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,7 @@
520520
yajisoko: [0, 0, "やじさん倉庫番", "Yajisan-Sokoban", "yosenabe"],
521521
yajitatami: [0, 0, "ヤジタタミ", "Yajitatami"],
522522
yinyang: [0, 0, "しろまるくろまる", "Yin-Yang"],
523+
yokeimoji: [0, 0, "余計文字クロス", "Yokeimoji Cross"],
523524
yosenabe: [0, 0, "よせなべ", "Yosenabe"],
524525
zabajaba: [0, 0, "Zabajaba", "Zabajaba", "kaidan"]
525526
}

src/res/failcode.en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"baDir.lollipops": "A stick has the wrong orientation.",
4747
"bankGt.battleship": "A ship appears too many times on the board.",
4848
"bankGt.snakeegg": "A given size appears too many times on the board.",
49+
"bankGt.yokeimoji": "A word appears more than once.",
4950
"bankGt": "A piece appears too many times on the board.",
5051
"bankInvalid.battleship": "The board contains an invalid ship.",
5152
"bankInvalid.snakeegg": "The board contains an unshaded block of invalid size.",
@@ -487,6 +488,8 @@
487488
"csWidthGt1.cityspace": "There is a mass of shaded cells that is not a 1xN rectangle.",
488489
"cu2x2": "There is a 2x2 block of unshaded cells.",
489490
"cu3.aqre": "There are 4 or more unshaded cells in a row.",
491+
"cuBadSequence.yokeimoji": "A word contains the invalid sequence \"ンン\", \"ンー\" or \"ーー\".",
492+
"cuBadStart.yokeimoji": "A word starts with ー or ン.",
490493
"cuConnOut": "Some unshaded cells are not connected to the outside.",
491494
"cuDivide.kaidan": "The rectangles are divided.",
492495
"cuDivide.wittgen": "The cells not used by rectangles are divided.",

src/res/failcode.ja.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -911,6 +911,9 @@
911911
"lnCurveEq.bhaibahan": "隣り合う◯で線の通り方が同じになっています。",
912912
"nmOasisGt": "辿り着ける◯の個数が少なすぎます。",
913913
"nmOasisLt": "辿り着ける◯の個数が多すぎます。",
914+
"bankGt.yokeimoji": "同じ単語が複数あります。",
915+
"cuBadSequence.yokeimoji": "「ンン」「ンー」「ーー」を含む単語があります。",
916+
"cuBadStart.yokeimoji": "「ン」「ー」で始まる単語があります。",
914917
"nmShadeEq.smullyan": "",
915918
"arDistance.distopia": "",
916919
"bdCrossUnder.heavydots": "",

0 commit comments

Comments
 (0)