@altnovatrail/widgets 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/cores/vector.schema.json +82 -3
- package/kinds/cells/cells.handles.json +145 -0
- package/kinds/cells/cells.schema.json +652 -4
- package/kinds/cells/vectors/bishop-grid-56-d1-1.json +105 -4
- package/kinds/cells/vectors/counter-cases.json +123 -0
- package/kinds/cells/vectors/counter-div-56-d1-3.json +57 -0
- package/kinds/cells/vectors/counter-div-56-d2-1.json +773 -0
- package/kinds/cells/vectors/counter-div-56-d2-3.json +65 -0
- package/kinds/cells/vectors/counter-div-56-d4-1.json +57 -0
- package/kinds/cells/vectors/counter-div-56-d4-2.json +106 -0
- package/kinds/cells/vectors/cut-cases.json +163 -0
- package/kinds/cells/vectors/cut-gaps-56-d2-1.json +142 -0
- package/kinds/cells/vectors/cut-grid-56-d2-4.json +45 -0
- package/kinds/cells/vectors/cut-grid-56-d4-1.json +154 -0
- package/kinds/cells/vectors/cut-grid-56-d4-2.json +136 -0
- package/kinds/cells/vectors/cut-invalid.json +48 -0
- package/kinds/cells/vectors/domino-grid-56-d3-2.json +238 -0
- package/kinds/cells/vectors/domino-limit.json +60 -0
- package/kinds/cells/vectors/domino-par-56-d3-2.json +194 -0
- package/kinds/cells/vectors/domino-par-56-d4-3.json +127 -0
- package/kinds/cells/vectors/figure-apart.json +47 -0
- package/kinds/cells/vectors/fold-12x12.json +79 -0
- package/kinds/cells/vectors/fold-14x14.json +79 -0
- package/kinds/cells/vectors/fold-26x26.json +79 -0
- package/kinds/cells/vectors/garden-enum-56-d3-4.json +96 -6
- package/kinds/cells/vectors/goat-grid-56-d4-4.json +325 -5
- package/kinds/cells/vectors/mosaic-grid-56-d2-2.json +84 -0
- package/kinds/cells/vectors/nodes-gaps-56-d2-2.json +44 -0
- package/kinds/cells/vectors/nodes-gaps-56-d4-2.json +70 -0
- package/kinds/cells/vectors/number-div-56-d2-2.json +49 -0
- package/kinds/cells/vectors/numbers-div-56-d3-1.json +24 -0
- package/kinds/cells/vectors/numbers-invalid.json +56 -0
- package/kinds/cells/vectors/paper-26x26.json +743 -0
- package/kinds/cells/vectors/paper-cube-12-d2-1.json +43 -19
- package/kinds/cells/vectors/paper-cube-12-d5-1.json +47 -4
- package/kinds/cells/vectors/paper-cube-56-d4-1.json +56 -5
- package/kinds/cells/vectors/paper-drawn-lines.json +149 -0
- package/kinds/cells/vectors/paper-grid-56-d1-2.json +46 -5
- package/kinds/cells/vectors/paper-turn-invalid.json +4 -4
- package/kinds/cells/vectors/path-6x6.json +119 -0
- package/kinds/cells/vectors/path-beside.json +108 -0
- package/kinds/cells/vectors/path-enum-12-d3-5.json +187 -0
- package/kinds/cells/vectors/path-enum-34-d4-3.json +412 -0
- package/kinds/cells/vectors/path-enum-56-d3-3.json +411 -0
- package/kinds/cells/vectors/path-enum-56-d3-5.json +351 -0
- package/kinds/cells/vectors/path-invalid.json +37 -0
- package/kinds/cells/vectors/path-limit.json +58 -0
- package/kinds/cells/vectors/path-maze.json +297 -0
- package/kinds/cells/vectors/path-unreachable.json +76 -0
- package/kinds/cells/vectors/perimeter-grid-56-d2-1.json +86 -0
- package/kinds/cells/vectors/perimeter-grid-56-d3-1.json +102 -0
- package/kinds/cells/vectors/perimeter-grid-56-d3-3.json +112 -0
- package/kinds/cells/vectors/perimeter-grid-56-d4-3.json +289 -0
- package/kinds/cells/vectors/polyomino-cases.json +191 -0
- package/kinds/cells/vectors/polyomino-grid-56-d3-4.json +205 -0
- package/kinds/cells/vectors/polyomino-grid-56-d4-1.json +137 -0
- package/kinds/cells/vectors/polyomino-grid-56-d5-3.json +157 -0
- package/kinds/cells/vectors/polyomino-invalid.json +45 -0
- package/kinds/cells/vectors/route-par-56-d3-3.json +245 -0
- package/kinds/cells/vectors/sides-gaps-56-d3-2.json +44 -0
- package/kinds/cells/vectors/sieve-div-56-d3-2.json +140 -0
- package/kinds/cells/vectors/tear-gaps-56-d3-1.json +84 -0
- package/kinds/cells/vectors/tear-limit.json +56 -0
- package/lib/cores/enumerate.d.ts +33 -0
- package/lib/cores/enumerate.js +77 -0
- package/lib/cores/kind.d.ts +55 -5
- package/lib/cores/search.d.ts +27 -8
- package/lib/cores/search.js +85 -28
- package/lib/kinds/cells/bishop.d.ts +1 -1
- package/lib/kinds/cells/bishop.js +1 -1
- package/lib/kinds/cells/counter.d.ts +26 -0
- package/lib/kinds/cells/counter.js +249 -0
- package/lib/kinds/cells/cut.d.ts +46 -0
- package/lib/kinds/cells/cut.js +400 -0
- package/lib/kinds/cells/figure.d.ts +13 -0
- package/lib/kinds/cells/figure.js +114 -0
- package/lib/kinds/cells/holes.d.ts +6 -0
- package/lib/kinds/cells/holes.js +57 -0
- package/lib/kinds/cells/kind.js +4 -2
- package/lib/kinds/cells/number.d.ts +6 -0
- package/lib/kinds/cells/number.js +32 -0
- package/lib/kinds/cells/operation.d.ts +12 -6
- package/lib/kinds/cells/paper.d.ts +10 -2
- package/lib/kinds/cells/paper.js +90 -8
- package/lib/kinds/cells/path.d.ts +38 -0
- package/lib/kinds/cells/path.js +288 -0
- package/lib/kinds/cells/piece.d.ts +10 -1
- package/lib/kinds/cells/piece.js +87 -3
- package/lib/kinds/cells/polyomino.d.ts +45 -0
- package/lib/kinds/cells/polyomino.js +450 -0
- package/lib/kinds/cells/registry.js +35 -4
- package/lib/kinds/cells/schema.js +41 -3
- package/lib/kinds/cells/sheet.d.ts +20 -1
- package/lib/kinds/cells/sheet.js +84 -6
- package/lib/kinds/cells/side.d.ts +33 -0
- package/lib/kinds/cells/side.js +86 -0
- package/lib/kinds/cells/sieve.d.ts +26 -0
- package/lib/kinds/cells/sieve.js +208 -0
- package/lib/kinds/cells/step.d.ts +1 -1
- package/lib/kinds/cells/step.js +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The course's task grid-56-d4-3: four tiles joined by whole sides, painted blue on a sheet of 3 by 3. The goal asks the greatest perimeter of a blue figure of 4 cells, 10, the task's key, which every figure of four but the square has. A square of four meets the goal with its perimeter of 8; four cells not joined do not meet it, nor do three, nor five.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"sheet": {
|
|
5
|
+
"rows": 3,
|
|
6
|
+
"cols": 3
|
|
7
|
+
},
|
|
8
|
+
"operations": {
|
|
9
|
+
"paint": {
|
|
10
|
+
"color": "blue"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"goal": {
|
|
14
|
+
"perimeter": {
|
|
15
|
+
"color": "blue",
|
|
16
|
+
"cells": 4
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"seed": "0",
|
|
21
|
+
"start": {
|
|
22
|
+
"state": {
|
|
23
|
+
"marks": {}
|
|
24
|
+
},
|
|
25
|
+
"goal": false
|
|
26
|
+
},
|
|
27
|
+
"sequences": [
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"move": {
|
|
31
|
+
"paint": {
|
|
32
|
+
"cell": "A1"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"state": {
|
|
36
|
+
"marks": {
|
|
37
|
+
"A1": {
|
|
38
|
+
"color": "blue"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"goal": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"move": {
|
|
46
|
+
"paint": {
|
|
47
|
+
"cell": "A2"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"state": {
|
|
51
|
+
"marks": {
|
|
52
|
+
"A1": {
|
|
53
|
+
"color": "blue"
|
|
54
|
+
},
|
|
55
|
+
"A2": {
|
|
56
|
+
"color": "blue"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"goal": false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"move": {
|
|
64
|
+
"paint": {
|
|
65
|
+
"cell": "B1"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"state": {
|
|
69
|
+
"marks": {
|
|
70
|
+
"A1": {
|
|
71
|
+
"color": "blue"
|
|
72
|
+
},
|
|
73
|
+
"A2": {
|
|
74
|
+
"color": "blue"
|
|
75
|
+
},
|
|
76
|
+
"B1": {
|
|
77
|
+
"color": "blue"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"goal": false
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"move": {
|
|
85
|
+
"paint": {
|
|
86
|
+
"cell": "B2"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"state": {
|
|
90
|
+
"marks": {
|
|
91
|
+
"A1": {
|
|
92
|
+
"color": "blue"
|
|
93
|
+
},
|
|
94
|
+
"A2": {
|
|
95
|
+
"color": "blue"
|
|
96
|
+
},
|
|
97
|
+
"B1": {
|
|
98
|
+
"color": "blue"
|
|
99
|
+
},
|
|
100
|
+
"B2": {
|
|
101
|
+
"color": "blue"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"goal": true
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"move": {
|
|
109
|
+
"paint": {
|
|
110
|
+
"cell": "C3"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"state": {
|
|
114
|
+
"marks": {
|
|
115
|
+
"A1": {
|
|
116
|
+
"color": "blue"
|
|
117
|
+
},
|
|
118
|
+
"A2": {
|
|
119
|
+
"color": "blue"
|
|
120
|
+
},
|
|
121
|
+
"B1": {
|
|
122
|
+
"color": "blue"
|
|
123
|
+
},
|
|
124
|
+
"B2": {
|
|
125
|
+
"color": "blue"
|
|
126
|
+
},
|
|
127
|
+
"C3": {
|
|
128
|
+
"color": "blue"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"goal": false
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
[
|
|
136
|
+
{
|
|
137
|
+
"move": {
|
|
138
|
+
"paint": {
|
|
139
|
+
"cell": "A1"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"state": {
|
|
143
|
+
"marks": {
|
|
144
|
+
"A1": {
|
|
145
|
+
"color": "blue"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"goal": false
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"move": {
|
|
153
|
+
"paint": {
|
|
154
|
+
"cell": "A2"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"state": {
|
|
158
|
+
"marks": {
|
|
159
|
+
"A1": {
|
|
160
|
+
"color": "blue"
|
|
161
|
+
},
|
|
162
|
+
"A2": {
|
|
163
|
+
"color": "blue"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"goal": false
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"move": {
|
|
171
|
+
"paint": {
|
|
172
|
+
"cell": "C1"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"state": {
|
|
176
|
+
"marks": {
|
|
177
|
+
"A1": {
|
|
178
|
+
"color": "blue"
|
|
179
|
+
},
|
|
180
|
+
"A2": {
|
|
181
|
+
"color": "blue"
|
|
182
|
+
},
|
|
183
|
+
"C1": {
|
|
184
|
+
"color": "blue"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"goal": false
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"move": {
|
|
192
|
+
"paint": {
|
|
193
|
+
"cell": "C2"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"state": {
|
|
197
|
+
"marks": {
|
|
198
|
+
"A1": {
|
|
199
|
+
"color": "blue"
|
|
200
|
+
},
|
|
201
|
+
"A2": {
|
|
202
|
+
"color": "blue"
|
|
203
|
+
},
|
|
204
|
+
"C1": {
|
|
205
|
+
"color": "blue"
|
|
206
|
+
},
|
|
207
|
+
"C2": {
|
|
208
|
+
"color": "blue"
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"goal": false
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"move": {
|
|
216
|
+
"paint": {
|
|
217
|
+
"cell": "B2"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"state": {
|
|
221
|
+
"marks": {
|
|
222
|
+
"A1": {
|
|
223
|
+
"color": "blue"
|
|
224
|
+
},
|
|
225
|
+
"A2": {
|
|
226
|
+
"color": "blue"
|
|
227
|
+
},
|
|
228
|
+
"B2": {
|
|
229
|
+
"color": "blue"
|
|
230
|
+
},
|
|
231
|
+
"C1": {
|
|
232
|
+
"color": "blue"
|
|
233
|
+
},
|
|
234
|
+
"C2": {
|
|
235
|
+
"color": "blue"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"goal": false
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
],
|
|
243
|
+
"proof": {
|
|
244
|
+
"key": 10,
|
|
245
|
+
"asks": "max",
|
|
246
|
+
"witness": {
|
|
247
|
+
"path": [
|
|
248
|
+
{
|
|
249
|
+
"paint": {
|
|
250
|
+
"cell": "A1"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"paint": {
|
|
255
|
+
"cell": "A2"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"paint": {
|
|
260
|
+
"cell": "A3"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"paint": {
|
|
265
|
+
"cell": "B1"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"ends": [
|
|
271
|
+
{
|
|
272
|
+
"marks": {
|
|
273
|
+
"A1": {
|
|
274
|
+
"color": "blue"
|
|
275
|
+
},
|
|
276
|
+
"A2": {
|
|
277
|
+
"color": "blue"
|
|
278
|
+
},
|
|
279
|
+
"A3": {
|
|
280
|
+
"color": "blue"
|
|
281
|
+
},
|
|
282
|
+
"B1": {
|
|
283
|
+
"color": "blue"
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The polyomino's cases on a sheet of 3 by 4, A4 a hole, a wall between B1 and B2 and A1 painted red: an S of four cells, as given or turned, never turned over, at most two figures. A cell off the sheet, a figure on the hole, the S turned over, cells not of the shape, a cell no figure covers to lift, an overlap and a third figure are refused; a figure lies over the wall and over the paint. The goal is every cell covered, which two figures cannot do: unreachable.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"sheet": {
|
|
5
|
+
"rows": 3,
|
|
6
|
+
"cols": 4,
|
|
7
|
+
"holes": ["A4"],
|
|
8
|
+
"walls": [["B1", "B2"]],
|
|
9
|
+
"marks": {
|
|
10
|
+
"A1": {
|
|
11
|
+
"color": "red"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"operations": {
|
|
16
|
+
"polyomino": {
|
|
17
|
+
"shapes": [["A1", "B1", "B2", "C2"]],
|
|
18
|
+
"flip": false,
|
|
19
|
+
"pieces": 2
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"goal": {
|
|
23
|
+
"polyomino_cover": {}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"seed": "0",
|
|
27
|
+
"start": {
|
|
28
|
+
"state": {
|
|
29
|
+
"marks": {
|
|
30
|
+
"A1": {
|
|
31
|
+
"color": "red"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"polyomino": []
|
|
35
|
+
},
|
|
36
|
+
"goal": false
|
|
37
|
+
},
|
|
38
|
+
"sequences": [
|
|
39
|
+
[
|
|
40
|
+
{
|
|
41
|
+
"move": {
|
|
42
|
+
"polyomino": {
|
|
43
|
+
"lay": {
|
|
44
|
+
"cells": ["A1", "A2", "A5", "B2"]
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"refused": "no-cell"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"move": {
|
|
52
|
+
"polyomino": {
|
|
53
|
+
"lay": {
|
|
54
|
+
"cells": ["A3", "A4", "B2", "B3"]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"refused": "hole"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"move": {
|
|
62
|
+
"polyomino": {
|
|
63
|
+
"lay": {
|
|
64
|
+
"cells": ["A2", "B1", "B2", "C1"]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"refused": "not-a-shape"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"move": {
|
|
72
|
+
"polyomino": {
|
|
73
|
+
"lay": {
|
|
74
|
+
"cells": ["A1", "A2", "B1", "B2"]
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"refused": "not-a-shape"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"move": {
|
|
82
|
+
"polyomino": {
|
|
83
|
+
"lay": {
|
|
84
|
+
"cells": ["C2", "B2", "B1", "A1"]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"state": {
|
|
89
|
+
"marks": {
|
|
90
|
+
"A1": {
|
|
91
|
+
"color": "red"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"polyomino": [["A1", "B1", "B2", "C2"]]
|
|
95
|
+
},
|
|
96
|
+
"goal": false
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"move": {
|
|
100
|
+
"polyomino": {
|
|
101
|
+
"lift": {
|
|
102
|
+
"cell": "C1"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"refused": "not-laid"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"move": {
|
|
110
|
+
"polyomino": {
|
|
111
|
+
"lay": {
|
|
112
|
+
"cells": ["A2", "A3", "B1", "B2"]
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"refused": "overlap"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"move": {
|
|
120
|
+
"polyomino": {
|
|
121
|
+
"lay": {
|
|
122
|
+
"cells": ["A3", "B3", "B4", "C4"]
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"state": {
|
|
127
|
+
"marks": {
|
|
128
|
+
"A1": {
|
|
129
|
+
"color": "red"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"polyomino": [["A1", "B1", "B2", "C2"], ["A3", "B3", "B4", "C4"]]
|
|
133
|
+
},
|
|
134
|
+
"goal": false
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"move": {
|
|
138
|
+
"polyomino": {
|
|
139
|
+
"lay": {
|
|
140
|
+
"cells": ["A2", "A3", "B2", "B3"]
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"refused": "all-laid"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"move": {
|
|
148
|
+
"polyomino": {
|
|
149
|
+
"lift": {
|
|
150
|
+
"cell": "B4"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"state": {
|
|
155
|
+
"marks": {
|
|
156
|
+
"A1": {
|
|
157
|
+
"color": "red"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"polyomino": [["A1", "B1", "B2", "C2"]]
|
|
161
|
+
},
|
|
162
|
+
"goal": false
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"move": {
|
|
166
|
+
"polyomino": {
|
|
167
|
+
"lay": {
|
|
168
|
+
"cells": ["C4", "B4", "B3", "A3"]
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"state": {
|
|
173
|
+
"marks": {
|
|
174
|
+
"A1": {
|
|
175
|
+
"color": "red"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"polyomino": [["A1", "B1", "B2", "C2"], ["A3", "B3", "B4", "C4"]]
|
|
179
|
+
},
|
|
180
|
+
"goal": false
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
],
|
|
184
|
+
"proof": {
|
|
185
|
+
"key": "unreachable",
|
|
186
|
+
"witness": {
|
|
187
|
+
"layers": [1, 6, 2]
|
|
188
|
+
},
|
|
189
|
+
"ends": []
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "The course's task grid-56-d3-4: a shape of 3 rows of 4 cells covered by pieces like piece 1, an L of three cells, turned as needed but never turned over, with no gaps and no overlaps. The goal is every cell covered; the fewest figures laid is 4, the task's key. The sequence lays two L's into the left half, lifts one and lays it again, and two into the right half; a line of three, no shape of the scene's, an overlap, a cell off the sheet and a cell no figure covers are refused.",
|
|
3
|
+
"scene": {
|
|
4
|
+
"sheet": {
|
|
5
|
+
"rows": 3,
|
|
6
|
+
"cols": 4
|
|
7
|
+
},
|
|
8
|
+
"operations": {
|
|
9
|
+
"polyomino": {
|
|
10
|
+
"shapes": [["A1", "B1", "B2"]],
|
|
11
|
+
"flip": false
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"goal": {
|
|
15
|
+
"polyomino_cover": {}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"seed": "0",
|
|
19
|
+
"start": {
|
|
20
|
+
"state": {
|
|
21
|
+
"marks": {},
|
|
22
|
+
"polyomino": []
|
|
23
|
+
},
|
|
24
|
+
"goal": false
|
|
25
|
+
},
|
|
26
|
+
"sequences": [
|
|
27
|
+
[
|
|
28
|
+
{
|
|
29
|
+
"move": {
|
|
30
|
+
"polyomino": {
|
|
31
|
+
"lay": {
|
|
32
|
+
"cells": ["A1", "A2", "B1"]
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"state": {
|
|
37
|
+
"marks": {},
|
|
38
|
+
"polyomino": [["A1", "A2", "B1"]]
|
|
39
|
+
},
|
|
40
|
+
"goal": false
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"move": {
|
|
44
|
+
"polyomino": {
|
|
45
|
+
"lay": {
|
|
46
|
+
"cells": ["A1", "B1", "C1"]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"refused": "not-a-shape"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"move": {
|
|
54
|
+
"polyomino": {
|
|
55
|
+
"lay": {
|
|
56
|
+
"cells": ["B1", "B2", "C2"]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"refused": "overlap"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"move": {
|
|
64
|
+
"polyomino": {
|
|
65
|
+
"lay": {
|
|
66
|
+
"cells": ["C1", "C2", "B2"]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"state": {
|
|
71
|
+
"marks": {},
|
|
72
|
+
"polyomino": [["A1", "A2", "B1"], ["B2", "C1", "C2"]]
|
|
73
|
+
},
|
|
74
|
+
"goal": false
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"move": {
|
|
78
|
+
"polyomino": {
|
|
79
|
+
"lift": {
|
|
80
|
+
"cell": "A2"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"state": {
|
|
85
|
+
"marks": {},
|
|
86
|
+
"polyomino": [["B2", "C1", "C2"]]
|
|
87
|
+
},
|
|
88
|
+
"goal": false
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"move": {
|
|
92
|
+
"polyomino": {
|
|
93
|
+
"lay": {
|
|
94
|
+
"cells": ["B1", "A1", "A2"]
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"state": {
|
|
99
|
+
"marks": {},
|
|
100
|
+
"polyomino": [["A1", "A2", "B1"], ["B2", "C1", "C2"]]
|
|
101
|
+
},
|
|
102
|
+
"goal": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"move": {
|
|
106
|
+
"polyomino": {
|
|
107
|
+
"lift": {
|
|
108
|
+
"cell": "D1"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"refused": "no-cell"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"move": {
|
|
116
|
+
"polyomino": {
|
|
117
|
+
"lay": {
|
|
118
|
+
"cells": ["A3", "A4", "B3"]
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"state": {
|
|
123
|
+
"marks": {},
|
|
124
|
+
"polyomino": [["A1", "A2", "B1"], ["A3", "A4", "B3"], ["B2", "C1", "C2"]]
|
|
125
|
+
},
|
|
126
|
+
"goal": false
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"move": {
|
|
130
|
+
"polyomino": {
|
|
131
|
+
"lift": {
|
|
132
|
+
"cell": "C3"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"refused": "not-laid"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"move": {
|
|
140
|
+
"polyomino": {
|
|
141
|
+
"lay": {
|
|
142
|
+
"cells": ["B4", "C4", "C3"]
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"state": {
|
|
147
|
+
"marks": {},
|
|
148
|
+
"polyomino": [
|
|
149
|
+
["A1", "A2", "B1"],
|
|
150
|
+
["A3", "A4", "B3"],
|
|
151
|
+
["B2", "C1", "C2"],
|
|
152
|
+
["B4", "C3", "C4"]
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"goal": true
|
|
156
|
+
}
|
|
157
|
+
]
|
|
158
|
+
],
|
|
159
|
+
"proof": {
|
|
160
|
+
"key": 4,
|
|
161
|
+
"witness": {
|
|
162
|
+
"path": [
|
|
163
|
+
{
|
|
164
|
+
"polyomino": {
|
|
165
|
+
"lay": {
|
|
166
|
+
"cells": ["A1", "A2", "B1"]
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"polyomino": {
|
|
172
|
+
"lay": {
|
|
173
|
+
"cells": ["A3", "A4", "B3"]
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"polyomino": {
|
|
179
|
+
"lay": {
|
|
180
|
+
"cells": ["B2", "C1", "C2"]
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"polyomino": {
|
|
186
|
+
"lay": {
|
|
187
|
+
"cells": ["B4", "C3", "C4"]
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"ends": [
|
|
194
|
+
{
|
|
195
|
+
"marks": {},
|
|
196
|
+
"polyomino": [
|
|
197
|
+
["A1", "A2", "B1"],
|
|
198
|
+
["A3", "A4", "B3"],
|
|
199
|
+
["B2", "C1", "C2"],
|
|
200
|
+
["B4", "C3", "C4"]
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
}
|