Skip to content

Commit b2eb5ff

Browse files
authored
Add Topo
1 parent c57f6f3 commit b2eb5ff

11 files changed

Lines changed: 320 additions & 29 deletions

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?topo" target="_parent">Topo</a></li>
3637
<li><a href="/p?hasunomura" target="_parent">Hasu no Mura はすのむら</a></li>
3738
<li><a href="/p?tetroctb" target="_parent">Tetro Chain-CTB テトロチェーンCTB</a></li>
3839
<li><a href="/p?edamame" target="_parent">Edamame</a></li>
3940
<li><a href="/p?marutaring" target="_parent">Marutaring マルタリング</a></li>
4041
<li><a href="/p?heavydots" target="_parent">Heavy Dots</a></li>
4142
<li><a href="/p?bhaibahan" target="_parent">Bhai Bahan</a></li>
42-
<li><a href="/p?oasis" target="_parent">Oasis</a></li>
4343
</ul>
4444
</main>
4545
</body>

src-ui/img/topo.png

134 Bytes
Loading

src-ui/js/ui/KeyPopup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ ui.keypopup = {
250250
heavydots: [10, 0],
251251
marutaring: [10, 0],
252252
tetroctb: [10, 0],
253-
hasunomura: [10, 0]
253+
hasunomura: [10, 0],
254+
topo: [10, 10]
254255
},
255256

256257
//---------------------------------------------------------------------------

src-ui/js/ui/Misc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ function toBGimage(pid) {
241241
"timebomb",
242242
"tjunction",
243243
"tontonbeya",
244+
"topo",
244245
"trainstations",
245246
"tslither",
246247
"turnaround",

src-ui/list.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ <h2 id="title"><span lang="ja">パズルの種類のリスト</span><span lang="
375375
<li data-pid="sananko"></li>
376376
<li data-pid="twinarea"></li>
377377
<li data-pid="numcity"></li>
378+
<li data-pid="topo"></li>
378379
</ul>
379380
</div>
380381
<div class="lists others">

src/puzzle/Config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,8 @@
461461
pid === "fillomino" ||
462462
pid === "symmarea" ||
463463
pid === "snakepit" ||
464-
pid === "keywest";
464+
pid === "keywest" ||
465+
pid === "topo";
465466
break;
466467
case "dontpassallcell":
467468
exec = pid === "arukone";

src/pzpr/variety.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@
468468
toichika2: [0, 0, "遠い誓い2", "Toichika 2", "toichika"],
469469
tontonbeya: [0, 0, "とんとんべや", "Tontonbeya", "hakoiri"],
470470
tontti: [0, 0, "Tonttiraja", "Tonttiraja"],
471+
topo: [0, 0, "Topo", "Topo", "fillomino"],
471472
trainstations: [0, 0, "Train Stations", "Train Stations"],
472473
tren: [0, 0, "パーキング", "Tren"],
473474
triplace: [0, 0, "トリプレイス", "Tri-place"],

src/res/failcode.en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@
259259
"bkSameShape.narrow": "Two regions with the same symbol have the same shape.",
260260
"bkSameTouch.zabajaba": "Two blocks of the same shape and orientation are adjacent.",
261261
"bkSameTouch": "Two areas of the same shape and orientation are adjacent.",
262+
"bkConsecutive.topo": "The numbers in adjacent regions don't have a difference of exactly 1.",
262263
"bkSCGe2.dosufuwa": "An area has two or more iron balls.",
263264
"bkSepColor.interbd": "One kind of color is included in different countries.",
264265
"bkSepNum.kaero": "Letters of one kind are placed in different areas.",
@@ -740,6 +741,7 @@
740741
"nmAround.ripple": "Equal numbers touch.",
741742
"nmArrowGt": "There are too many arrows adjacent to a number.",
742743
"nmArrowLt": "There are not enough arrows adjacent to a number.",
744+
"nmAverageNe.topo": "A clue doesn't indicate the average between two adjacent numbers.",
743745
"nmBorderNe.nawabari": "The number is not equal to the number of border lines around it.",
744746
"nmBranch.snakepit": "A snake branches off.",
745747
"nmCircleNe.brownies": "A number is not equal to the amount of circles in the surrounding cells.",

0 commit comments

Comments
 (0)