Skip to content

Commit b760b8b

Browse files
author
simon
committed
New puzzle! Or rather, new-ish, because this one has been lying around
in the 'unfinished' directory for a while, and has now been finished up thanks to James Harvey putting in some effort and galvanising me to put in the rest. This is 'Pearl', an implementation of Nikoli's 'Masyu'. The code in Loopy that generates a random loop along grid edges to use as the puzzle solution has been abstracted out into loopgen.[ch] so that Pearl can use it for its puzzle solutions too. I've also introduced a new utility module called 'tdq' (for 'to-do queue'). git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9379 cda61777-01e9-0310-a592-d414129be87e
1 parent 370cbba commit b760b8b

12 files changed

+3364
-1907
lines changed

icons/Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
PUZZLES = blackbox bridges cube dominosa fifteen filling flip galaxies guess \
44
inertia keen lightup loopy magnets map mines net netslide pattern \
5-
pegs range rect samegame signpost singles sixteen slant solo tents \
6-
towers twiddle unequal untangle
5+
pearl pegs range rect samegame signpost singles sixteen slant solo \
6+
tents towers twiddle unequal untangle
77

88
BASE = $(patsubst %,%-base.png,$(PUZZLES))
99
WEB = $(patsubst %,%-web.png,$(PUZZLES))
@@ -69,6 +69,7 @@ mines-ibase.png : override CROP=240x240 110x110+130+130
6969
net-ibase.png : override CROP=193x193 113x113+0+80
7070
netslide-ibase.png : override CROP=289x289 144x144+0+0
7171
pattern-ibase.png : override CROP=384x384 223x223+0+0
72+
pearl-ibase.png : override CROP=216x216 94x94+108+15
7273
pegs-ibase.png : override CROP=263x263 147x147+116+0
7374
range-ibase.png : override CROP=256x256 98x98+111+15
7475
rect-ibase.png : override CROP=205x205 115x115+90+0

icons/pearl.sav

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
SAVEFILE:41:Simon Tatham's Portable Puzzle Collection
2+
VERSION :1:1
3+
GAME :5:Pearl
4+
PARAMS :5:6x6dt
5+
CPARAMS :5:6x6dt
6+
SEED :15:901944054393278
7+
DESC :17:BbBfWcWbWBaBeWgWa
8+
AUXINFO :72:f8bbe71b9be753d5fa143df207d7797ba62a9b3996eb8b8889487e1a2bd659d91a5e73e1
9+
NSTATES :2:14
10+
STATEPOS:1:7
11+
MOVE :55:F4,2,0;F1,1,0;F4,1,0;F1,0,0;F8,0,0;F2,0,1;F8,0,1;F2,0,2
12+
MOVE :27:F1,0,3;F4,1,3;F1,1,3;F4,2,3
13+
MOVE :27:F8,3,0;F2,3,1;F8,3,1;F2,3,2
14+
MOVE :97:F2,4,2;F8,4,1;F2,4,1;F8,4,0;F1,4,0;F4,5,0;F8,5,0;F2,5,1;F8,5,1;F2,5,2;F8,5,2;F2,5,3;F4,5,3;F1,4,3
15+
MOVE :13:F4,4,2;F1,3,2
16+
MOVE :13:F4,3,0;F1,2,0
17+
MOVE :69:F2,2,3;F8,2,2;F2,2,2;F8,2,1;F4,2,1;F1,1,1;F8,1,1;F2,1,2;F4,1,2;F1,0,2
18+
MOVE :41:F8,0,3;F2,0,4;F8,0,4;F2,0,5;F1,0,5;F4,1,5
19+
MOVE :27:F1,1,4;F4,2,4;F1,2,4;F4,3,4
20+
MOVE :13:F8,1,4;F2,1,5
21+
MOVE :55:F1,3,5;F4,4,5;F1,4,5;F4,5,5;F2,5,5;F8,5,4;F4,5,4;F1,4,4
22+
MOVE :13:F2,3,5;F8,3,4
23+
MOVE :13:F2,4,4;F8,4,3

0 commit comments

Comments
 (0)