Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src-ui/js/ui/KeyPopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ ui.keypopup = {
aqre: [10, 0],
doppelblock: [10, 115],
japanesesums: [10, 115],
endsum: [10, 10],
interbd: [116, 0],
toichika2: [10, 10],
crossstitch: [10, 0],
Expand Down
1 change: 1 addition & 0 deletions src-ui/js/ui/UI.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ window.ui = {
case "skyscrapers":
case "easyasabc":
case "japanesesums":
case "endsum":
case "box":
padding = 0.05;
break;
Expand Down
1 change: 1 addition & 0 deletions src-ui/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ <h2 id="title"><span lang="ja">パズルの種類のリスト</span><span lang="
<li data-pid="numrope"></li>
<li data-pid="simplegako"></li>
<li data-pid="japanesesums"></li>
<li data-pid="endsum"></li>
</ul>
</div>
<div class="lists numbers">
Expand Down
1 change: 1 addition & 0 deletions src-ui/res/rules.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,4 @@ dotchi2: "Draw lines through orthogonally adjacent cells to form a loop.\n1. The
arrowflow: "Place an arrow in every empty cell.\n1. Identical arrows cannot be adjacent.\n2. Following the arrows must lead to one of the numbers.\n3. Each number indicates how many arrows lead to that goal."
japanesesums: "Place some numbers from the given range into the grid, and shade the rest of the cells.\n1. Numbers cannot repeat in a row or column.\n2. Clues outside the grid indicate the sums of the numbers in groups of consecutive numbered cells in the corresponding row or column, in order from left to right or top to bottom. Sums must be separated by at least one shaded cell.\n3. A question mark represents an unknown sum.\n4. Rows or columns without clues can have any amount of sums."
retsurin: "Shade some cells on the board, and draw a single loop that goes through all remaining cells.\n1. The loop cannot branch off or cross itself.\n2. Shaded cells cannot be orthogonally adjacent.\n3. Cells with numbers or question marks cannot be shaded, and are not part of the loop.\n4. A number indicates the amount of shaded cells in the same row as the clue or in the same column, but it must not indicate both."
endsum: "1. Fill some of the empty cells with numbers from the given set so that each number appears exactly once in every row and column.\n2. Clues outside the grid indicate the sum of numbers in the first connected (not separated by an empty cell) group in that direction."
1 change: 1 addition & 0 deletions src-ui/res/rules.ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -283,3 +283,4 @@ yajirushi: "1. すべての白マスに「←→↑↓」のいずれかの矢
dotchi2: "1. 盤面のいくつかのマスに線を引き、1つの輪っかを作りましょう。\n2. 線はマスの中央を通るようにタテヨコに引きます。線を交差させたり枝分かれさせてはいけません。\n3. それぞれの部屋において、線は黒丸か白丸のいずれか一方の丸をすべて通り、もう一方の丸はどれも通らないようにします。一種類の丸しかない部屋では線はすべての丸を通ります。\n4. 線は黒丸を通るときそのマスで曲がり、白丸を通るときそのマスで直進するようにします。"
arrowflow: "1. 同じ向きの矢印が隣接しないように全ての空きマスに上下左右いずれかの矢印を配置する。\n2. 矢印をその方向にたどると必ずどこかの数字マスに行きつくようにする。\n3. 数字は、そのマスにたどり着く矢印の個数を表す。"
japanesesums: "1. いくつかのマスに、指定された数のどれかを書き込みます。数が入らないマスは黒マスになります。\n2. 1つのマスに2つ以上の数は入りません。タテヨコの各列で同じ数が2回以上現れることはありません。\n3. 盤面の外の数は、その列で黒マスをはさまずに連続して入る数の和を上/左から順に表します。?は、1以上の数を表します。"
endsum: "1. いくつかの空いているマスに数字を1つずつ書き込み、タテヨコ全ての列で指定された数字が1つずつ現れるようにします。\n2. 盤面の外の数字は、その場所から盤面内を見た時に、一番手前にある数字のカタマリ(間に空きマスを挟まない、連続して数字の入るマス)の合計を表します。"
1 change: 1 addition & 0 deletions src/pzpr/variety.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
dotchi2: [0, 0, "ドッチドッチループ", "Dotchi Dotchi Loop", "country"],
doubleback: [0, 0, "Double Back", "Double Back", "country"],
easyasabc: [0, 0, "ABCプレース", "Easy as ABC"],
endsum: [0, 0, "エンドサム", "Easy as Japanese Sums"],
evolmino: [0, 0, "シンカミノ", "Evolmino"],
factors: [0, 0, "因子の部屋", "Rooms of Factors"],
fakearrow: [0, 0, "フェイクアロー", "Fake Arrow", "nagare"],
Expand Down
2 changes: 2 additions & 0 deletions src/res/failcode.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@
"nmMissing.lohkous": "There is no segment of the given length in the room.",
"nmMissRow.alter": "A row or column has less than two symbols.",
"nmMissRow.easyasabc": "There are missing letters in a row or column.",
"nmMissRow.endsum": "There are missing numbers in a row or column.",
"nmMixed.aquapelago": "A group contains different numbers.",
"nmMoveNe.tren": "A block cannot move in the correct number of spaces.",
"nmNoLine.amibo": "No bar connects to a white circle.",
Expand Down Expand Up @@ -797,6 +798,7 @@
"nmSightNe.easyasabc": "The letter is not the closest.",
"nmSightNe.roundtrip": "The length of the closest line segment is wrong.",
"nmSightNe.skyscrapers": "The number of visible buildings is wrong.",
"nmSightSumNe.endsum": "The total of the foremost group of numbers is incorrect.",
"nmSizeGt.pencils": "A number is larger than the length of the pencil.",
"nmSizeLt.pencils": "A number is smaller than the length of the pencil.",
"nmSizeNe.tontonbeya": "The clusters inside a room are of different sizes.",
Expand Down
2 changes: 2 additions & 0 deletions src/res/failcode.ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@
"nmMinesNe.mines": "タテヨコナナメに接する爆弾の数が数字と異なります。",
"nmMissing.lohkous": "領域内に数字と同じ長さのセグメントがありません。",
"nmMissRow.easyasabc": "列に入っていないアルファベットがあります。",
"nmMissRow.endsum": "列に入っていない数字があります。",
"nmMoveNe.tren": "数字がクルマの動けるマス数と異なります。",
"nmNoLine.amibo": "白丸に線がつながっていません。",
"nmNoLine.firefly": "ホタルから線が出ていません。",
Expand Down Expand Up @@ -562,6 +563,7 @@
"nmShootShadeNe1.kurochute": "数字の数だけ離れたマスのうち、1マスだけ黒マスになっていません。",
"nmSightNe.easyasabc": "アルファベットが最も手前にありません。",
"nmSightNe.skyscrapers": "見えるビルの数が正しくありません。",
"nmSightSumNe.endsum": "最も手前にある数字のカタマリの合計が正しくありません。",
"nmSizeGt.pencils": "中の数字よりも短い軸があります。",
"nmSizeLt.pencils": "中の数字よりも長い軸があります。",
"nmSmallGap.ripple": "数字よりもその間隔が短いところがあります。",
Expand Down
Loading