@logic-pad/core 0.1.4 → 0.2.0
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/assets/logic-core.global.d.ts +383 -305
- package/dist/data/dataHelper.d.ts +8 -0
- package/dist/data/dataHelper.js +31 -0
- package/dist/data/events/onSymbolDisplay.d.ts +15 -0
- package/dist/data/events/onSymbolDisplay.js +4 -0
- package/dist/data/grid.d.ts +7 -0
- package/dist/data/grid.js +23 -2
- package/dist/data/instruction.d.ts +1 -0
- package/dist/data/instruction.js +3 -0
- package/dist/data/primitives.d.ts +8 -0
- package/dist/data/primitives.js +9 -0
- package/dist/data/rules/completePatternRule.js +2 -2
- package/dist/data/rules/foresightRule.d.ts +1 -0
- package/dist/data/rules/foresightRule.js +3 -0
- package/dist/data/rules/musicGridRule.js +2 -2
- package/dist/data/rules/offByXRule.d.ts +1 -0
- package/dist/data/rules/offByXRule.js +3 -0
- package/dist/data/rules/rule.d.ts +0 -1
- package/dist/data/rules/rule.js +0 -3
- package/dist/data/rules/symbolsPerRegionRule.js +3 -1
- package/dist/data/rules/undercluedRule.js +2 -2
- package/dist/data/solver/backtrack/backtrackWorker.js +6 -7
- package/dist/data/solver/backtrack/rules/banPattern.d.ts +1 -1
- package/dist/data/solver/backtrack/rules/banPattern.js +18 -2
- package/dist/data/solver/backtrack/symbols/dart.d.ts +0 -1
- package/dist/data/solver/backtrack/symbols/dart.js +1 -9
- package/dist/data/solver/underclued/undercluedSolver.js +2 -2
- package/dist/data/solver/underclued/undercluedWorker.js +28 -24
- package/dist/data/symbols/hiddenSymbol.d.ts +36 -0
- package/dist/data/symbols/hiddenSymbol.js +119 -0
- package/dist/data/symbols/symbol.d.ts +7 -0
- package/dist/data/symbols/symbol.js +9 -0
- package/dist/data/symbols/symbols.gen.d.ts +1 -0
- package/dist/data/symbols/symbols.gen.js +1 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +5 -3
- package/package.json +1 -1
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { ConfigType } from '../config.js';
|
|
2
|
+
import GridData from '../grid.js';
|
|
3
|
+
import { Color, State } from '../primitives.js';
|
|
4
|
+
import CustomIconSymbol from './customIconSymbol.js';
|
|
5
|
+
import Symbol from './symbol.js';
|
|
6
|
+
class HiddenSymbol extends Symbol {
|
|
7
|
+
/**
|
|
8
|
+
* **Hidden Symbols: color cells correctly to reveal more clues**
|
|
9
|
+
*
|
|
10
|
+
* @param x - The x-coordinate of the symbol.
|
|
11
|
+
* @param y - The y-coordinate of the symbol.
|
|
12
|
+
* @param color - The target color of the cell.
|
|
13
|
+
*/
|
|
14
|
+
constructor(x, y, color) {
|
|
15
|
+
super(x, y);
|
|
16
|
+
Object.defineProperty(this, "x", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
configurable: true,
|
|
19
|
+
writable: true,
|
|
20
|
+
value: x
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(this, "y", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
configurable: true,
|
|
25
|
+
writable: true,
|
|
26
|
+
value: y
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(this, "color", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
configurable: true,
|
|
31
|
+
writable: true,
|
|
32
|
+
value: color
|
|
33
|
+
});
|
|
34
|
+
this.color = color;
|
|
35
|
+
}
|
|
36
|
+
get id() {
|
|
37
|
+
return `hidden`;
|
|
38
|
+
}
|
|
39
|
+
get explanation() {
|
|
40
|
+
return '*Hidden Symbols*: color cells correctly to reveal more clues';
|
|
41
|
+
}
|
|
42
|
+
get configs() {
|
|
43
|
+
return HiddenSymbol.CONFIGS;
|
|
44
|
+
}
|
|
45
|
+
createExampleGrid() {
|
|
46
|
+
return HiddenSymbol.EXAMPLE_GRID;
|
|
47
|
+
}
|
|
48
|
+
get necessaryForCompletion() {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
get visibleWhenSolving() {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
get sortOrder() {
|
|
55
|
+
return 0;
|
|
56
|
+
}
|
|
57
|
+
validateSymbol(grid) {
|
|
58
|
+
const thisX = Math.floor(this.x);
|
|
59
|
+
const thisY = Math.floor(this.y);
|
|
60
|
+
return grid.getTile(thisX, thisY).color === this.color
|
|
61
|
+
? State.Satisfied
|
|
62
|
+
: State.Incomplete;
|
|
63
|
+
}
|
|
64
|
+
onSymbolDisplay(grid, symbol, editing) {
|
|
65
|
+
if (symbol.id === this.id || editing)
|
|
66
|
+
return true;
|
|
67
|
+
const thisX = Math.floor(this.x);
|
|
68
|
+
const thisY = Math.floor(this.y);
|
|
69
|
+
const symX = Math.floor(symbol.x);
|
|
70
|
+
const symY = Math.floor(symbol.y);
|
|
71
|
+
if (thisX !== symX || thisY !== symY)
|
|
72
|
+
return true;
|
|
73
|
+
return grid.getTile(thisX, thisY).color === this.color;
|
|
74
|
+
}
|
|
75
|
+
copyWith({ x, y, color, }) {
|
|
76
|
+
return new HiddenSymbol(x ?? this.x, y ?? this.y, color ?? this.color);
|
|
77
|
+
}
|
|
78
|
+
withColor(color) {
|
|
79
|
+
return this.copyWith({ color });
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
Object.defineProperty(HiddenSymbol, "CONFIGS", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
configurable: true,
|
|
85
|
+
writable: true,
|
|
86
|
+
value: Object.freeze([
|
|
87
|
+
{
|
|
88
|
+
type: ConfigType.Number,
|
|
89
|
+
default: 0,
|
|
90
|
+
field: 'x',
|
|
91
|
+
description: 'X',
|
|
92
|
+
configurable: false,
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
type: ConfigType.Number,
|
|
96
|
+
default: 0,
|
|
97
|
+
field: 'y',
|
|
98
|
+
description: 'Y',
|
|
99
|
+
configurable: false,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
type: ConfigType.Color,
|
|
103
|
+
default: Color.Light,
|
|
104
|
+
field: 'color',
|
|
105
|
+
allowGray: true,
|
|
106
|
+
description: 'Show on color',
|
|
107
|
+
configurable: true,
|
|
108
|
+
},
|
|
109
|
+
])
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(HiddenSymbol, "EXAMPLE_GRID", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
configurable: true,
|
|
114
|
+
writable: true,
|
|
115
|
+
value: Object.freeze(GridData.create(['w']).addSymbol(new CustomIconSymbol('', GridData.create(['.']), 0, 0, 'MdHideSource') // Not using HiddenSymbol here because it is meant to be hidden in non-edit mode
|
|
116
|
+
))
|
|
117
|
+
});
|
|
118
|
+
export default HiddenSymbol;
|
|
119
|
+
export const instance = new HiddenSymbol(0, 0, Color.Light);
|
|
@@ -8,7 +8,14 @@ export default abstract class Symbol extends Instruction implements GridResizeHa
|
|
|
8
8
|
constructor(x: number, y: number);
|
|
9
9
|
abstract validateSymbol(grid: GridData): State;
|
|
10
10
|
onGridResize(_grid: GridData, mode: 'insert' | 'remove', direction: 'row' | 'column', index: number): this | null;
|
|
11
|
+
/**
|
|
12
|
+
* The step size for the x and y coordinates of the symbol.
|
|
13
|
+
*/
|
|
11
14
|
get placementStep(): number;
|
|
15
|
+
/**
|
|
16
|
+
* The order in which symbols are displayed on the instruction list. Lower values are displayed first.
|
|
17
|
+
*/
|
|
18
|
+
get sortOrder(): number;
|
|
12
19
|
withX(x: number): this;
|
|
13
20
|
withY(y: number): this;
|
|
14
21
|
withPosition(x: number, y: number): this;
|
|
@@ -35,9 +35,18 @@ export default class Symbol extends Instruction {
|
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* The step size for the x and y coordinates of the symbol.
|
|
40
|
+
*/
|
|
38
41
|
get placementStep() {
|
|
39
42
|
return 0.5;
|
|
40
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* The order in which symbols are displayed on the instruction list. Lower values are displayed first.
|
|
46
|
+
*/
|
|
47
|
+
get sortOrder() {
|
|
48
|
+
return this.id.charCodeAt(0);
|
|
49
|
+
}
|
|
41
50
|
withX(x) {
|
|
42
51
|
return this.copyWith({ x });
|
|
43
52
|
}
|
|
@@ -3,6 +3,7 @@ export { instance as CustomIconSymbol } from './customIconSymbol.js';
|
|
|
3
3
|
export { instance as CustomTextSymbol } from './customTextSymbol.js';
|
|
4
4
|
export { instance as DartSymbol } from './dartSymbol.js';
|
|
5
5
|
export { instance as GalaxySymbol } from './galaxySymbol.js';
|
|
6
|
+
export { instance as HiddenSymbol } from './hiddenSymbol.js';
|
|
6
7
|
export { instance as LetterSymbol } from './letterSymbol.js';
|
|
7
8
|
export { instance as LotusSymbol } from './lotusSymbol.js';
|
|
8
9
|
export { instance as MinesweeperSymbol } from './minesweeperSymbol.js';
|
|
@@ -7,6 +7,7 @@ export { instance as CustomIconSymbol } from './customIconSymbol.js';
|
|
|
7
7
|
export { instance as CustomTextSymbol } from './customTextSymbol.js';
|
|
8
8
|
export { instance as DartSymbol } from './dartSymbol.js';
|
|
9
9
|
export { instance as GalaxySymbol } from './galaxySymbol.js';
|
|
10
|
+
export { instance as HiddenSymbol } from './hiddenSymbol.js';
|
|
10
11
|
export { instance as LetterSymbol } from './letterSymbol.js';
|
|
11
12
|
export { instance as LotusSymbol } from './lotusSymbol.js';
|
|
12
13
|
export { instance as MinesweeperSymbol } from './minesweeperSymbol.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { ConfigType, configEquals } from './data/config.js';
|
|
2
2
|
import Configurable from './data/configurable.js';
|
|
3
|
-
import { allEqual, array, directionToRotation, escape, maxBy, minBy, move, orientationToRotation, resize, unescape } from './data/dataHelper.js';
|
|
3
|
+
import { CachedAccess, allEqual, array, directionToRotation, escape, maxBy, minBy, move, orientationToRotation, resize, unescape } from './data/dataHelper.js';
|
|
4
4
|
import { isEventHandler } from './data/events/eventHelper.js';
|
|
5
5
|
import { handlesFinalValidation } from './data/events/onFinalValidation.js';
|
|
6
6
|
import { handlesGridChange } from './data/events/onGridChange.js';
|
|
7
7
|
import { handlesGridResize } from './data/events/onGridResize.js';
|
|
8
8
|
import { handlesSetGrid } from './data/events/onSetGrid.js';
|
|
9
|
+
import { handlesSymbolDisplay } from './data/events/onSymbolDisplay.js';
|
|
9
10
|
import { handlesSymbolValidation } from './data/events/onSymbolValidation.js';
|
|
10
11
|
import GridData from './data/grid.js';
|
|
11
12
|
import GridConnections from './data/gridConnections.js';
|
|
12
13
|
import Instruction from './data/instruction.js';
|
|
13
|
-
import { COMPARISONS, Color, Comparison, DIRECTIONS, Direction, Mode, ORIENTATIONS, Orientation, State, directionToggle, orientationToggle } from './data/primitives.js';
|
|
14
|
+
import { COMPARISONS, Color, Comparison, DIRECTIONS, Direction, MajorRule, Mode, ORIENTATIONS, Orientation, State, directionToggle, orientationToggle } from './data/primitives.js';
|
|
14
15
|
import { MetadataSchema, PuzzleSchema } from './data/puzzle.js';
|
|
15
16
|
import BanPatternRule from './data/rules/banPatternRule.js';
|
|
16
17
|
import CellCountRule from './data/rules/cellCountRule.js';
|
|
@@ -81,6 +82,7 @@ import CustomTextSymbol from './data/symbols/customTextSymbol.js';
|
|
|
81
82
|
import DartSymbol from './data/symbols/dartSymbol.js';
|
|
82
83
|
import DirectionLinkerSymbol from './data/symbols/directionLinkerSymbol.js';
|
|
83
84
|
import GalaxySymbol from './data/symbols/galaxySymbol.js';
|
|
85
|
+
import HiddenSymbol from './data/symbols/hiddenSymbol.js';
|
|
84
86
|
import { allSymbols } from './data/symbols/index.js';
|
|
85
87
|
import LetterSymbol from './data/symbols/letterSymbol.js';
|
|
86
88
|
import LotusSymbol from './data/symbols/lotusSymbol.js';
|
|
@@ -93,4 +95,4 @@ import ViewpointSymbol from './data/symbols/viewpointSymbol.js';
|
|
|
93
95
|
import TileData from './data/tile.js';
|
|
94
96
|
import TileConnections from './data/tileConnections.js';
|
|
95
97
|
import validateGrid, { aggregateState, applyFinalOverrides } from './data/validate.js';
|
|
96
|
-
export { ConfigType, configEquals, Configurable, allEqual, array, directionToRotation, escape, maxBy, minBy, move, orientationToRotation, resize, unescape, isEventHandler, handlesFinalValidation, handlesGridChange, handlesGridResize, handlesSetGrid, handlesSymbolValidation, GridData, GridConnections, Instruction, COMPARISONS, Color, Comparison, DIRECTIONS, Direction, Mode, ORIENTATIONS, Orientation, State, directionToggle, orientationToggle, MetadataSchema, PuzzleSchema, BanPatternRule, CellCountRule, CompletePatternRule, ConnectAllRule, CustomRule, ForesightRule, allRules, ControlLine, Row, MusicGridRule, MysteryRule, OffByXRule, RegionAreaRule, RegionShapeRule, Rule, SameShapeRule, SymbolsPerRegionRule, UndercluedRule, UniqueShapeRule, Serializer, Compressor, CompressorBase, DeflateCompressor, GzipCompressor, StreamCompressor, SerializerBase, SerializerV0, getShapeVariants, normalizeShape, positionsToShape, shapeEquals, tilesToShape, allSolvers, BacktrackSolver, BTModule, BTGridData, BTTile, IntArray2D, colorToBTTile, createOneTileResult, getOppositeColor, BanPatternBTModule, CellCountBTModule, ConnectAllBTModule, RegionAreaBTModule, RegionShapeBTModule, SameShapeBTModule, SymbolsPerRegionBTModule, UniqueShapeBTModule, AreaNumberBTModule, DartBTModule, DirectionLinkerBTModule, GalaxyBTModule, LetterBTModule, LotusBTModule, MinesweeperBTModule, MyopiaBTModule, ViewpointBTModule, Solver, UndercluedSolver, AreaNumberModule, CellCountModule, ConnectAllModule, DartModule, allZ3Modules, LetterModule, MyopiaModule, RegionAreaModule, ViewpointModule, Z3Module, convertDirection, Z3Solver, Z3SolverContext, AreaNumberSymbol, CustomIconSymbol, CustomSymbol, CustomTextSymbol, DartSymbol, DirectionLinkerSymbol, GalaxySymbol, allSymbols, LetterSymbol, LotusSymbol, MinesweeperSymbol, MultiEntrySymbol, MyopiaSymbol, NumberSymbol, Symbol, ViewpointSymbol, TileData, TileConnections, validateGrid, aggregateState, applyFinalOverrides, };
|
|
98
|
+
export { ConfigType, configEquals, Configurable, CachedAccess, allEqual, array, directionToRotation, escape, maxBy, minBy, move, orientationToRotation, resize, unescape, isEventHandler, handlesFinalValidation, handlesGridChange, handlesGridResize, handlesSetGrid, handlesSymbolDisplay, handlesSymbolValidation, GridData, GridConnections, Instruction, COMPARISONS, Color, Comparison, DIRECTIONS, Direction, MajorRule, Mode, ORIENTATIONS, Orientation, State, directionToggle, orientationToggle, MetadataSchema, PuzzleSchema, BanPatternRule, CellCountRule, CompletePatternRule, ConnectAllRule, CustomRule, ForesightRule, allRules, ControlLine, Row, MusicGridRule, MysteryRule, OffByXRule, RegionAreaRule, RegionShapeRule, Rule, SameShapeRule, SymbolsPerRegionRule, UndercluedRule, UniqueShapeRule, Serializer, Compressor, CompressorBase, DeflateCompressor, GzipCompressor, StreamCompressor, SerializerBase, SerializerV0, getShapeVariants, normalizeShape, positionsToShape, shapeEquals, tilesToShape, allSolvers, BacktrackSolver, BTModule, BTGridData, BTTile, IntArray2D, colorToBTTile, createOneTileResult, getOppositeColor, BanPatternBTModule, CellCountBTModule, ConnectAllBTModule, RegionAreaBTModule, RegionShapeBTModule, SameShapeBTModule, SymbolsPerRegionBTModule, UniqueShapeBTModule, AreaNumberBTModule, DartBTModule, DirectionLinkerBTModule, GalaxyBTModule, LetterBTModule, LotusBTModule, MinesweeperBTModule, MyopiaBTModule, ViewpointBTModule, Solver, UndercluedSolver, AreaNumberModule, CellCountModule, ConnectAllModule, DartModule, allZ3Modules, LetterModule, MyopiaModule, RegionAreaModule, ViewpointModule, Z3Module, convertDirection, Z3Solver, Z3SolverContext, AreaNumberSymbol, CustomIconSymbol, CustomSymbol, CustomTextSymbol, DartSymbol, DirectionLinkerSymbol, GalaxySymbol, HiddenSymbol, allSymbols, LetterSymbol, LotusSymbol, MinesweeperSymbol, MultiEntrySymbol, MyopiaSymbol, NumberSymbol, Symbol, ViewpointSymbol, TileData, TileConnections, validateGrid, aggregateState, applyFinalOverrides, };
|
package/dist/index.js
CHANGED
|
@@ -3,17 +3,18 @@
|
|
|
3
3
|
// noinspection JSUnusedGlobalSymbols
|
|
4
4
|
import { ConfigType, configEquals } from './data/config.js';
|
|
5
5
|
import Configurable from './data/configurable.js';
|
|
6
|
-
import { allEqual, array, directionToRotation, escape, maxBy, minBy, move, orientationToRotation, resize, unescape } from './data/dataHelper.js';
|
|
6
|
+
import { CachedAccess, allEqual, array, directionToRotation, escape, maxBy, minBy, move, orientationToRotation, resize, unescape } from './data/dataHelper.js';
|
|
7
7
|
import { isEventHandler } from './data/events/eventHelper.js';
|
|
8
8
|
import { handlesFinalValidation } from './data/events/onFinalValidation.js';
|
|
9
9
|
import { handlesGridChange } from './data/events/onGridChange.js';
|
|
10
10
|
import { handlesGridResize } from './data/events/onGridResize.js';
|
|
11
11
|
import { handlesSetGrid } from './data/events/onSetGrid.js';
|
|
12
|
+
import { handlesSymbolDisplay } from './data/events/onSymbolDisplay.js';
|
|
12
13
|
import { handlesSymbolValidation } from './data/events/onSymbolValidation.js';
|
|
13
14
|
import GridData from './data/grid.js';
|
|
14
15
|
import GridConnections from './data/gridConnections.js';
|
|
15
16
|
import Instruction from './data/instruction.js';
|
|
16
|
-
import { COMPARISONS, Color, Comparison, DIRECTIONS, Direction, Mode, ORIENTATIONS, Orientation, State, directionToggle, orientationToggle } from './data/primitives.js';
|
|
17
|
+
import { COMPARISONS, Color, Comparison, DIRECTIONS, Direction, MajorRule, Mode, ORIENTATIONS, Orientation, State, directionToggle, orientationToggle } from './data/primitives.js';
|
|
17
18
|
import { MetadataSchema, PuzzleSchema } from './data/puzzle.js';
|
|
18
19
|
import BanPatternRule from './data/rules/banPatternRule.js';
|
|
19
20
|
import CellCountRule from './data/rules/cellCountRule.js';
|
|
@@ -84,6 +85,7 @@ import CustomTextSymbol from './data/symbols/customTextSymbol.js';
|
|
|
84
85
|
import DartSymbol from './data/symbols/dartSymbol.js';
|
|
85
86
|
import DirectionLinkerSymbol from './data/symbols/directionLinkerSymbol.js';
|
|
86
87
|
import GalaxySymbol from './data/symbols/galaxySymbol.js';
|
|
88
|
+
import HiddenSymbol from './data/symbols/hiddenSymbol.js';
|
|
87
89
|
import { allSymbols } from './data/symbols/index.js';
|
|
88
90
|
import LetterSymbol from './data/symbols/letterSymbol.js';
|
|
89
91
|
import LotusSymbol from './data/symbols/lotusSymbol.js';
|
|
@@ -96,4 +98,4 @@ import ViewpointSymbol from './data/symbols/viewpointSymbol.js';
|
|
|
96
98
|
import TileData from './data/tile.js';
|
|
97
99
|
import TileConnections from './data/tileConnections.js';
|
|
98
100
|
import validateGrid, { aggregateState, applyFinalOverrides } from './data/validate.js';
|
|
99
|
-
export { ConfigType, configEquals, Configurable, allEqual, array, directionToRotation, escape, maxBy, minBy, move, orientationToRotation, resize, unescape, isEventHandler, handlesFinalValidation, handlesGridChange, handlesGridResize, handlesSetGrid, handlesSymbolValidation, GridData, GridConnections, Instruction, COMPARISONS, Color, Comparison, DIRECTIONS, Direction, Mode, ORIENTATIONS, Orientation, State, directionToggle, orientationToggle, MetadataSchema, PuzzleSchema, BanPatternRule, CellCountRule, CompletePatternRule, ConnectAllRule, CustomRule, ForesightRule, allRules, ControlLine, Row, MusicGridRule, MysteryRule, OffByXRule, RegionAreaRule, RegionShapeRule, Rule, SameShapeRule, SymbolsPerRegionRule, UndercluedRule, UniqueShapeRule, Serializer, Compressor, CompressorBase, DeflateCompressor, GzipCompressor, StreamCompressor, SerializerBase, SerializerV0, getShapeVariants, normalizeShape, positionsToShape, shapeEquals, tilesToShape, allSolvers, BacktrackSolver, BTModule, BTGridData, BTTile, IntArray2D, colorToBTTile, createOneTileResult, getOppositeColor, BanPatternBTModule, CellCountBTModule, ConnectAllBTModule, RegionAreaBTModule, RegionShapeBTModule, SameShapeBTModule, SymbolsPerRegionBTModule, UniqueShapeBTModule, AreaNumberBTModule, DartBTModule, DirectionLinkerBTModule, GalaxyBTModule, LetterBTModule, LotusBTModule, MinesweeperBTModule, MyopiaBTModule, ViewpointBTModule, Solver, UndercluedSolver, AreaNumberModule, CellCountModule, ConnectAllModule, DartModule, allZ3Modules, LetterModule, MyopiaModule, RegionAreaModule, ViewpointModule, Z3Module, convertDirection, Z3Solver, Z3SolverContext, AreaNumberSymbol, CustomIconSymbol, CustomSymbol, CustomTextSymbol, DartSymbol, DirectionLinkerSymbol, GalaxySymbol, allSymbols, LetterSymbol, LotusSymbol, MinesweeperSymbol, MultiEntrySymbol, MyopiaSymbol, NumberSymbol, Symbol, ViewpointSymbol, TileData, TileConnections, validateGrid, aggregateState, applyFinalOverrides, };
|
|
101
|
+
export { ConfigType, configEquals, Configurable, CachedAccess, allEqual, array, directionToRotation, escape, maxBy, minBy, move, orientationToRotation, resize, unescape, isEventHandler, handlesFinalValidation, handlesGridChange, handlesGridResize, handlesSetGrid, handlesSymbolDisplay, handlesSymbolValidation, GridData, GridConnections, Instruction, COMPARISONS, Color, Comparison, DIRECTIONS, Direction, MajorRule, Mode, ORIENTATIONS, Orientation, State, directionToggle, orientationToggle, MetadataSchema, PuzzleSchema, BanPatternRule, CellCountRule, CompletePatternRule, ConnectAllRule, CustomRule, ForesightRule, allRules, ControlLine, Row, MusicGridRule, MysteryRule, OffByXRule, RegionAreaRule, RegionShapeRule, Rule, SameShapeRule, SymbolsPerRegionRule, UndercluedRule, UniqueShapeRule, Serializer, Compressor, CompressorBase, DeflateCompressor, GzipCompressor, StreamCompressor, SerializerBase, SerializerV0, getShapeVariants, normalizeShape, positionsToShape, shapeEquals, tilesToShape, allSolvers, BacktrackSolver, BTModule, BTGridData, BTTile, IntArray2D, colorToBTTile, createOneTileResult, getOppositeColor, BanPatternBTModule, CellCountBTModule, ConnectAllBTModule, RegionAreaBTModule, RegionShapeBTModule, SameShapeBTModule, SymbolsPerRegionBTModule, UniqueShapeBTModule, AreaNumberBTModule, DartBTModule, DirectionLinkerBTModule, GalaxyBTModule, LetterBTModule, LotusBTModule, MinesweeperBTModule, MyopiaBTModule, ViewpointBTModule, Solver, UndercluedSolver, AreaNumberModule, CellCountModule, ConnectAllModule, DartModule, allZ3Modules, LetterModule, MyopiaModule, RegionAreaModule, ViewpointModule, Z3Module, convertDirection, Z3Solver, Z3SolverContext, AreaNumberSymbol, CustomIconSymbol, CustomSymbol, CustomTextSymbol, DartSymbol, DirectionLinkerSymbol, GalaxySymbol, HiddenSymbol, allSymbols, LetterSymbol, LotusSymbol, MinesweeperSymbol, MultiEntrySymbol, MyopiaSymbol, NumberSymbol, Symbol, ViewpointSymbol, TileData, TileConnections, validateGrid, aggregateState, applyFinalOverrides, };
|