puzzle-lib 1.6.0 → 1.7.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.
Files changed (143) hide show
  1. package/build/src/Braille/BrailleCharacter.d.ts +15 -15
  2. package/build/src/Braille/BrailleCharacter.js +39 -38
  3. package/build/src/Braille/BrailleCharacter.js.map +1 -1
  4. package/build/src/Braille/BrailleData.d.ts +6 -6
  5. package/build/src/Braille/BrailleData.js +65 -65
  6. package/build/src/Braille/BrailleData.js.map +1 -1
  7. package/build/src/Braille/BrailleDot.d.ts +9 -9
  8. package/build/src/Braille/BrailleDot.js +13 -13
  9. package/build/src/Braille/BrailleDot.js.map +1 -1
  10. package/build/src/Braille/BrailleEncoding.d.ts +54 -54
  11. package/build/src/Braille/BrailleEncoding.js +66 -65
  12. package/build/src/Braille/BrailleEncoding.js.map +1 -1
  13. package/build/src/Braille/BrailleStream.d.ts +18 -18
  14. package/build/src/Braille/BrailleStream.js +75 -75
  15. package/build/src/Braille/BrailleStream.js.map +1 -1
  16. package/build/src/Cipher/AutoKeyString.d.ts +4 -4
  17. package/build/src/Cipher/AutoKeyString.js +34 -34
  18. package/build/src/Cipher/CaesarString.d.ts +8 -8
  19. package/build/src/Cipher/CaesarString.js +32 -31
  20. package/build/src/Cipher/CaesarString.js.map +1 -1
  21. package/build/src/Cipher/CaesarUtils.d.ts +13 -13
  22. package/build/src/Cipher/CaesarUtils.js +57 -57
  23. package/build/src/Cipher/CaesarUtils.js.map +1 -1
  24. package/build/src/Cipher/KeyedCipherStringBase.d.ts +12 -12
  25. package/build/src/Cipher/KeyedCipherStringBase.js +30 -28
  26. package/build/src/Cipher/KeyedCipherStringBase.js.map +1 -1
  27. package/build/src/Cipher/VigenereString.d.ts +4 -4
  28. package/build/src/Cipher/VigenereString.js +21 -21
  29. package/build/src/Common/CharacterImage.d.ts +6 -6
  30. package/build/src/Common/CharacterImage.js +12 -10
  31. package/build/src/Common/CharacterImage.js.map +1 -1
  32. package/build/src/Common/EncodingCategory.d.ts +8 -8
  33. package/build/src/Common/EncodingCategory.js +12 -12
  34. package/build/src/Common/EncodingCategory.js.map +1 -1
  35. package/build/src/Common/EncodingCharacterBase.d.ts +23 -23
  36. package/build/src/Common/EncodingCharacterBase.js +54 -52
  37. package/build/src/Common/EncodingCharacterBase.js.map +1 -1
  38. package/build/src/Common/EncodingDataBase.d.ts +7 -7
  39. package/build/src/Common/EncodingDataBase.js +27 -29
  40. package/build/src/Common/EncodingDataBase.js.map +1 -1
  41. package/build/src/Common/EncodingEntry.d.ts +8 -8
  42. package/build/src/Common/EncodingEntry.js +17 -14
  43. package/build/src/Common/EncodingEntry.js.map +1 -1
  44. package/build/src/Common/EncodingLookupResult.d.ts +6 -6
  45. package/build/src/Common/EncodingLookupResult.js +11 -13
  46. package/build/src/Common/EncodingLookupResult.js.map +1 -1
  47. package/build/src/Common/Helpers.d.ts +4 -4
  48. package/build/src/Common/Helpers.js +16 -16
  49. package/build/src/Common/InlineSvg.d.ts +7 -7
  50. package/build/src/Common/InlineSvg.js +17 -14
  51. package/build/src/Common/InlineSvg.js.map +1 -1
  52. package/build/src/Conversion/CharacterAutoConvert.d.ts +10 -10
  53. package/build/src/Conversion/CharacterAutoConvert.js +88 -88
  54. package/build/src/Conversion/CharacterAutoConvert.js.map +1 -1
  55. package/build/src/Conversion/CharacterConversion.d.ts +8 -8
  56. package/build/src/Conversion/CharacterConversion.js +50 -50
  57. package/build/src/Conversion/CharacterEncoding.d.ts +9 -9
  58. package/build/src/Conversion/CharacterEncoding.js +13 -13
  59. package/build/src/Conversion/CharacterEncoding.js.map +1 -1
  60. package/build/src/Conversion/CharacterTableEntry.d.ts +10 -10
  61. package/build/src/Conversion/CharacterTableEntry.js +25 -19
  62. package/build/src/Conversion/CharacterTableEntry.js.map +1 -1
  63. package/build/src/Conversion/SignificantFigures.d.ts +7 -7
  64. package/build/src/Conversion/SignificantFigures.js +50 -50
  65. package/build/src/Conversion/StringAutoConvert.d.ts +6 -6
  66. package/build/src/Conversion/StringAutoConvert.js +46 -46
  67. package/build/src/Morse/MorseCharacter.d.ts +22 -22
  68. package/build/src/Morse/MorseCharacter.js +97 -96
  69. package/build/src/Morse/MorseCharacter.js.map +1 -1
  70. package/build/src/Morse/MorseData.d.ts +6 -6
  71. package/build/src/Morse/MorseData.js +70 -70
  72. package/build/src/Morse/MorseData.js.map +1 -1
  73. package/build/src/Morse/MorseEncoding.d.ts +59 -59
  74. package/build/src/Morse/MorseEncoding.js +94 -94
  75. package/build/src/Morse/MorseEncoding.js.map +1 -1
  76. package/build/src/Morse/MorseString.d.ts +10 -10
  77. package/build/src/Morse/MorseString.js +67 -66
  78. package/build/src/Morse/MorseString.js.map +1 -1
  79. package/build/src/Nato/NatoCharacter.d.ts +5 -5
  80. package/build/src/Nato/NatoCharacter.js +12 -10
  81. package/build/src/Nato/NatoCharacter.js.map +1 -1
  82. package/build/src/Nato/NatoData.d.ts +7 -7
  83. package/build/src/Nato/NatoData.js +49 -51
  84. package/build/src/Nato/NatoData.js.map +1 -1
  85. package/build/src/NavalFlags/NavalFlags.d.ts +7 -7
  86. package/build/src/NavalFlags/NavalFlags.js +75 -77
  87. package/build/src/NavalFlags/NavalFlags.js.map +1 -1
  88. package/build/src/Resistor/Resistor.d.ts +24 -24
  89. package/build/src/Resistor/Resistor.js +86 -86
  90. package/build/src/Resistor/Resistor.js.map +1 -1
  91. package/build/src/Resistor/ResistorColorEntry.d.ts +12 -12
  92. package/build/src/Resistor/ResistorColorEntry.js +36 -31
  93. package/build/src/Resistor/ResistorColorEntry.js.map +1 -1
  94. package/build/src/Semaphore/SemaphoreCharacter.d.ts +20 -20
  95. package/build/src/Semaphore/SemaphoreCharacter.js +75 -75
  96. package/build/src/Semaphore/SemaphoreCharacter.js.map +1 -1
  97. package/build/src/Semaphore/SemaphoreData.d.ts +6 -6
  98. package/build/src/Semaphore/SemaphoreData.js +53 -53
  99. package/build/src/Semaphore/SemaphoreData.js.map +1 -1
  100. package/build/src/Semaphore/SemaphoreDegrees.d.ts +5 -5
  101. package/build/src/Semaphore/SemaphoreDegrees.js +26 -26
  102. package/build/src/Semaphore/SemaphoreDirection.d.ts +11 -11
  103. package/build/src/Semaphore/SemaphoreDirection.js +15 -15
  104. package/build/src/Semaphore/SemaphoreDirection.js.map +1 -1
  105. package/build/src/Semaphore/SemaphoreEncoding.d.ts +40 -40
  106. package/build/src/Semaphore/SemaphoreEncoding.js +48 -47
  107. package/build/src/Semaphore/SemaphoreEncoding.js.map +1 -1
  108. package/build/src/Semaphore/SemaphoreStream.d.ts +17 -17
  109. package/build/src/Semaphore/SemaphoreStream.js +73 -72
  110. package/build/src/Semaphore/SemaphoreStream.js.map +1 -1
  111. package/build/src/WordSearch/Point.d.ts +4 -4
  112. package/build/src/WordSearch/Point.js +2 -2
  113. package/build/src/WordSearch/Result.d.ts +6 -6
  114. package/build/src/WordSearch/Result.js +12 -10
  115. package/build/src/WordSearch/Result.js.map +1 -1
  116. package/build/src/WordSearch/WordSearchDirection.d.ts +6 -6
  117. package/build/src/WordSearch/WordSearchDirection.js +10 -10
  118. package/build/src/WordSearch/WordSearchDirection.js.map +1 -1
  119. package/build/src/WordSearch/WordSearchSolver.d.ts +27 -27
  120. package/build/src/WordSearch/WordSearchSolver.js +232 -222
  121. package/build/src/WordSearch/WordSearchSolver.js.map +1 -1
  122. package/build/src/index.d.ts +35 -35
  123. package/build/src/index.js +72 -72
  124. package/package.json +5 -5
  125. package/src/Braille/BrailleCharacter.ts +1 -1
  126. package/src/Braille/BrailleData.ts +16 -16
  127. package/src/Cipher/AutoKeyString.ts +1 -1
  128. package/src/Cipher/CaesarUtils.ts +1 -1
  129. package/src/Cipher/VigenereString.ts +1 -1
  130. package/src/Common/EncodingDataBase.ts +1 -1
  131. package/src/Conversion/CharacterAutoConvert.ts +1 -1
  132. package/src/Conversion/CharacterConversion.ts +5 -5
  133. package/src/Conversion/SignificantFigures.ts +1 -1
  134. package/src/Conversion/StringAutoConvert.ts +2 -2
  135. package/src/Morse/MorseData.ts +18 -18
  136. package/src/Morse/MorseString.ts +12 -12
  137. package/src/Nato/NatoData.ts +1 -1
  138. package/src/NavalFlags/NavalFlags.ts +52 -52
  139. package/src/Resistor/Resistor.ts +9 -9
  140. package/src/Resistor/ResistorColorEntry.ts +1 -1
  141. package/src/Semaphore/SemaphoreCharacter.ts +5 -5
  142. package/src/Semaphore/SemaphoreData.ts +1 -1
  143. package/src/WordSearch/WordSearchSolver.ts +1 -1
@@ -1,40 +1,40 @@
1
- export declare enum SemaphoreEncoding {
2
- None = 0,
3
- LetterA = 96,
4
- LetterB = 160,
5
- LetterC = 288,
6
- LetterD = 34,
7
- LetterE = 36,
8
- LetterF = 40,
9
- LetterG = 48,
10
- LetterH = 192,
11
- LetterI = 320,
12
- LetterJ = 10,
13
- LetterK = 66,
14
- LetterL = 68,
15
- LetterM = 72,
16
- LetterN = 80,
17
- LetterO = 384,
18
- LetterP = 130,
19
- LetterQ = 132,
20
- LetterR = 136,
21
- LetterS = 144,
22
- LetterT = 258,
23
- LetterU = 260,
24
- LetterV = 18,
25
- LetterW = 12,
26
- LetterX = 20,
27
- LetterY = 264,
28
- LetterZ = 24,
29
- Number1 = 96,
30
- Number2 = 160,
31
- Number3 = 288,
32
- Number4 = 34,
33
- Number5 = 36,
34
- Number6 = 40,
35
- Number7 = 48,
36
- Number8 = 192,
37
- Number9 = 320,
38
- Number0 = 66,
39
- FormattingNumber = 6
40
- }
1
+ export declare enum SemaphoreEncoding {
2
+ None = 0,
3
+ LetterA = 96,
4
+ LetterB = 160,
5
+ LetterC = 288,
6
+ LetterD = 34,
7
+ LetterE = 36,
8
+ LetterF = 40,
9
+ LetterG = 48,
10
+ LetterH = 192,
11
+ LetterI = 320,
12
+ LetterJ = 10,
13
+ LetterK = 66,
14
+ LetterL = 68,
15
+ LetterM = 72,
16
+ LetterN = 80,
17
+ LetterO = 384,
18
+ LetterP = 130,
19
+ LetterQ = 132,
20
+ LetterR = 136,
21
+ LetterS = 144,
22
+ LetterT = 258,
23
+ LetterU = 260,
24
+ LetterV = 18,
25
+ LetterW = 12,
26
+ LetterX = 20,
27
+ LetterY = 264,
28
+ LetterZ = 24,
29
+ Number1 = 96,
30
+ Number2 = 160,
31
+ Number3 = 288,
32
+ Number4 = 34,
33
+ Number5 = 36,
34
+ Number6 = 40,
35
+ Number7 = 48,
36
+ Number8 = 192,
37
+ Number9 = 320,
38
+ Number0 = 66,
39
+ FormattingNumber = 6
40
+ }
@@ -1,48 +1,49 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SemaphoreEncoding = void 0;
4
- var SemaphoreEncoding;
5
- (function (SemaphoreEncoding) {
6
- SemaphoreEncoding[SemaphoreEncoding["None"] = 0] = "None";
7
- // Letters
8
- SemaphoreEncoding[SemaphoreEncoding["LetterA"] = 96] = "LetterA";
9
- SemaphoreEncoding[SemaphoreEncoding["LetterB"] = 160] = "LetterB";
10
- SemaphoreEncoding[SemaphoreEncoding["LetterC"] = 288] = "LetterC";
11
- SemaphoreEncoding[SemaphoreEncoding["LetterD"] = 34] = "LetterD";
12
- SemaphoreEncoding[SemaphoreEncoding["LetterE"] = 36] = "LetterE";
13
- SemaphoreEncoding[SemaphoreEncoding["LetterF"] = 40] = "LetterF";
14
- SemaphoreEncoding[SemaphoreEncoding["LetterG"] = 48] = "LetterG";
15
- SemaphoreEncoding[SemaphoreEncoding["LetterH"] = 192] = "LetterH";
16
- SemaphoreEncoding[SemaphoreEncoding["LetterI"] = 320] = "LetterI";
17
- SemaphoreEncoding[SemaphoreEncoding["LetterJ"] = 10] = "LetterJ";
18
- SemaphoreEncoding[SemaphoreEncoding["LetterK"] = 66] = "LetterK";
19
- SemaphoreEncoding[SemaphoreEncoding["LetterL"] = 68] = "LetterL";
20
- SemaphoreEncoding[SemaphoreEncoding["LetterM"] = 72] = "LetterM";
21
- SemaphoreEncoding[SemaphoreEncoding["LetterN"] = 80] = "LetterN";
22
- SemaphoreEncoding[SemaphoreEncoding["LetterO"] = 384] = "LetterO";
23
- SemaphoreEncoding[SemaphoreEncoding["LetterP"] = 130] = "LetterP";
24
- SemaphoreEncoding[SemaphoreEncoding["LetterQ"] = 132] = "LetterQ";
25
- SemaphoreEncoding[SemaphoreEncoding["LetterR"] = 136] = "LetterR";
26
- SemaphoreEncoding[SemaphoreEncoding["LetterS"] = 144] = "LetterS";
27
- SemaphoreEncoding[SemaphoreEncoding["LetterT"] = 258] = "LetterT";
28
- SemaphoreEncoding[SemaphoreEncoding["LetterU"] = 260] = "LetterU";
29
- SemaphoreEncoding[SemaphoreEncoding["LetterV"] = 18] = "LetterV";
30
- SemaphoreEncoding[SemaphoreEncoding["LetterW"] = 12] = "LetterW";
31
- SemaphoreEncoding[SemaphoreEncoding["LetterX"] = 20] = "LetterX";
32
- SemaphoreEncoding[SemaphoreEncoding["LetterY"] = 264] = "LetterY";
33
- SemaphoreEncoding[SemaphoreEncoding["LetterZ"] = 24] = "LetterZ";
34
- // Numbers
35
- SemaphoreEncoding[SemaphoreEncoding["Number1"] = 96] = "Number1";
36
- SemaphoreEncoding[SemaphoreEncoding["Number2"] = 160] = "Number2";
37
- SemaphoreEncoding[SemaphoreEncoding["Number3"] = 288] = "Number3";
38
- SemaphoreEncoding[SemaphoreEncoding["Number4"] = 34] = "Number4";
39
- SemaphoreEncoding[SemaphoreEncoding["Number5"] = 36] = "Number5";
40
- SemaphoreEncoding[SemaphoreEncoding["Number6"] = 40] = "Number6";
41
- SemaphoreEncoding[SemaphoreEncoding["Number7"] = 48] = "Number7";
42
- SemaphoreEncoding[SemaphoreEncoding["Number8"] = 192] = "Number8";
43
- SemaphoreEncoding[SemaphoreEncoding["Number9"] = 320] = "Number9";
44
- SemaphoreEncoding[SemaphoreEncoding["Number0"] = 66] = "Number0";
45
- // Formatting
46
- SemaphoreEncoding[SemaphoreEncoding["FormattingNumber"] = 6] = "FormattingNumber";
47
- })(SemaphoreEncoding = exports.SemaphoreEncoding || (exports.SemaphoreEncoding = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SemaphoreEncoding = void 0;
4
+ const SemaphoreDirection_1 = require("./SemaphoreDirection");
5
+ var SemaphoreEncoding;
6
+ (function (SemaphoreEncoding) {
7
+ SemaphoreEncoding[SemaphoreEncoding["None"] = 0] = "None";
8
+ // Letters
9
+ SemaphoreEncoding[SemaphoreEncoding["LetterA"] = 96] = "LetterA";
10
+ SemaphoreEncoding[SemaphoreEncoding["LetterB"] = 160] = "LetterB";
11
+ SemaphoreEncoding[SemaphoreEncoding["LetterC"] = 288] = "LetterC";
12
+ SemaphoreEncoding[SemaphoreEncoding["LetterD"] = 34] = "LetterD";
13
+ SemaphoreEncoding[SemaphoreEncoding["LetterE"] = 36] = "LetterE";
14
+ SemaphoreEncoding[SemaphoreEncoding["LetterF"] = 40] = "LetterF";
15
+ SemaphoreEncoding[SemaphoreEncoding["LetterG"] = 48] = "LetterG";
16
+ SemaphoreEncoding[SemaphoreEncoding["LetterH"] = 192] = "LetterH";
17
+ SemaphoreEncoding[SemaphoreEncoding["LetterI"] = 320] = "LetterI";
18
+ SemaphoreEncoding[SemaphoreEncoding["LetterJ"] = 10] = "LetterJ";
19
+ SemaphoreEncoding[SemaphoreEncoding["LetterK"] = 66] = "LetterK";
20
+ SemaphoreEncoding[SemaphoreEncoding["LetterL"] = 68] = "LetterL";
21
+ SemaphoreEncoding[SemaphoreEncoding["LetterM"] = 72] = "LetterM";
22
+ SemaphoreEncoding[SemaphoreEncoding["LetterN"] = 80] = "LetterN";
23
+ SemaphoreEncoding[SemaphoreEncoding["LetterO"] = 384] = "LetterO";
24
+ SemaphoreEncoding[SemaphoreEncoding["LetterP"] = 130] = "LetterP";
25
+ SemaphoreEncoding[SemaphoreEncoding["LetterQ"] = 132] = "LetterQ";
26
+ SemaphoreEncoding[SemaphoreEncoding["LetterR"] = 136] = "LetterR";
27
+ SemaphoreEncoding[SemaphoreEncoding["LetterS"] = 144] = "LetterS";
28
+ SemaphoreEncoding[SemaphoreEncoding["LetterT"] = 258] = "LetterT";
29
+ SemaphoreEncoding[SemaphoreEncoding["LetterU"] = 260] = "LetterU";
30
+ SemaphoreEncoding[SemaphoreEncoding["LetterV"] = 18] = "LetterV";
31
+ SemaphoreEncoding[SemaphoreEncoding["LetterW"] = 12] = "LetterW";
32
+ SemaphoreEncoding[SemaphoreEncoding["LetterX"] = 20] = "LetterX";
33
+ SemaphoreEncoding[SemaphoreEncoding["LetterY"] = 264] = "LetterY";
34
+ SemaphoreEncoding[SemaphoreEncoding["LetterZ"] = 24] = "LetterZ";
35
+ // Numbers
36
+ SemaphoreEncoding[SemaphoreEncoding["Number1"] = 96] = "Number1";
37
+ SemaphoreEncoding[SemaphoreEncoding["Number2"] = 160] = "Number2";
38
+ SemaphoreEncoding[SemaphoreEncoding["Number3"] = 288] = "Number3";
39
+ SemaphoreEncoding[SemaphoreEncoding["Number4"] = 34] = "Number4";
40
+ SemaphoreEncoding[SemaphoreEncoding["Number5"] = 36] = "Number5";
41
+ SemaphoreEncoding[SemaphoreEncoding["Number6"] = 40] = "Number6";
42
+ SemaphoreEncoding[SemaphoreEncoding["Number7"] = 48] = "Number7";
43
+ SemaphoreEncoding[SemaphoreEncoding["Number8"] = 192] = "Number8";
44
+ SemaphoreEncoding[SemaphoreEncoding["Number9"] = 320] = "Number9";
45
+ SemaphoreEncoding[SemaphoreEncoding["Number0"] = 66] = "Number0";
46
+ // Formatting
47
+ SemaphoreEncoding[SemaphoreEncoding["FormattingNumber"] = 6] = "FormattingNumber";
48
+ })(SemaphoreEncoding || (exports.SemaphoreEncoding = SemaphoreEncoding = {}));
48
49
  //# sourceMappingURL=SemaphoreEncoding.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SemaphoreEncoding.js","sourceRoot":"","sources":["../../../src/Semaphore/SemaphoreEncoding.ts"],"names":[],"mappings":";;;AAEA,IAAY,iBA6CX;AA7CD,WAAY,iBAAiB;IAC3B,yDAAQ,CAAA;IAER,UAAU;IACV,gEAAiE,CAAA;IACjE,iEAA4D,CAAA;IAC5D,iEAAiE,CAAA;IACjE,gEAA6D,CAAA;IAC7D,gEAAiE,CAAA;IACjE,gEAA4D,CAAA;IAC5D,gEAAiE,CAAA;IACjE,iEAAgE,CAAA;IAChE,iEAAqE,CAAA;IACrE,gEAA4D,CAAA;IAC5D,gEAAiE,CAAA;IACjE,gEAAqE,CAAA;IACrE,gEAAgE,CAAA;IAChE,gEAAqE,CAAA;IACrE,iEAAgE,CAAA;IAChE,iEAA4D,CAAA;IAC5D,iEAAgE,CAAA;IAChE,iEAA2D,CAAA;IAC3D,iEAAgE,CAAA;IAChE,iEAAiE,CAAA;IACjE,iEAAqE,CAAA;IACrE,gEAAiE,CAAA;IACjE,gEAAgE,CAAA;IAChE,gEAAqE,CAAA;IACrE,iEAAgE,CAAA;IAChE,gEAAgE,CAAA;IAEhE,UAAU;IACV,gEAAiE,CAAA;IACjE,iEAA4D,CAAA;IAC5D,iEAAiE,CAAA;IACjE,gEAA6D,CAAA;IAC7D,gEAAiE,CAAA;IACjE,gEAA4D,CAAA;IAC5D,gEAAiE,CAAA;IACjE,iEAAgE,CAAA;IAChE,iEAAqE,CAAA;IACrE,gEAAiE,CAAA;IAEjE,aAAa;IACb,iFAA0E,CAAA;AAC5E,CAAC,EA7CW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6C5B"}
1
+ {"version":3,"file":"SemaphoreEncoding.js","sourceRoot":"","sources":["../../../src/Semaphore/SemaphoreEncoding.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,IAAY,iBA6CX;AA7CD,WAAY,iBAAiB;IAC3B,yDAAQ,CAAA;IAER,UAAU;IACV,gEAAiE,CAAA;IACjE,iEAA4D,CAAA;IAC5D,iEAAiE,CAAA;IACjE,gEAA6D,CAAA;IAC7D,gEAAiE,CAAA;IACjE,gEAA4D,CAAA;IAC5D,gEAAiE,CAAA;IACjE,iEAAgE,CAAA;IAChE,iEAAqE,CAAA;IACrE,gEAA4D,CAAA;IAC5D,gEAAiE,CAAA;IACjE,gEAAqE,CAAA;IACrE,gEAAgE,CAAA;IAChE,gEAAqE,CAAA;IACrE,iEAAgE,CAAA;IAChE,iEAA4D,CAAA;IAC5D,iEAAgE,CAAA;IAChE,iEAA2D,CAAA;IAC3D,iEAAgE,CAAA;IAChE,iEAAiE,CAAA;IACjE,iEAAqE,CAAA;IACrE,gEAAiE,CAAA;IACjE,gEAAgE,CAAA;IAChE,gEAAqE,CAAA;IACrE,iEAAgE,CAAA;IAChE,gEAAgE,CAAA;IAEhE,UAAU;IACV,gEAAiE,CAAA;IACjE,iEAA4D,CAAA;IAC5D,iEAAiE,CAAA;IACjE,gEAA6D,CAAA;IAC7D,gEAAiE,CAAA;IACjE,gEAA4D,CAAA;IAC5D,gEAAiE,CAAA;IACjE,iEAAgE,CAAA;IAChE,iEAAqE,CAAA;IACrE,gEAAiE,CAAA;IAEjE,aAAa;IACb,iFAA0E,CAAA;AAC5E,CAAC,EA7CW,iBAAiB,iCAAjB,iBAAiB,QA6C5B"}
@@ -1,17 +1,17 @@
1
- import { SemaphoreCharacter } from './SemaphoreCharacter';
2
- import { SemaphoreEncoding } from './SemaphoreEncoding';
3
- export declare class SemaphoreStream {
4
- private readonly _chars;
5
- private readonly _state;
6
- private _currentStr;
7
- private _processPosition;
8
- constructor(chars?: SemaphoreEncoding[]);
9
- get chars(): SemaphoreEncoding[];
10
- set chars(value: SemaphoreEncoding[]);
11
- append(ch: SemaphoreCharacter): void;
12
- clear(): void;
13
- space(): void;
14
- toString(): string;
15
- private invalidate;
16
- private update;
17
- }
1
+ import { SemaphoreCharacter } from './SemaphoreCharacter';
2
+ import { SemaphoreEncoding } from './SemaphoreEncoding';
3
+ export declare class SemaphoreStream {
4
+ private readonly _chars;
5
+ private readonly _state;
6
+ private _currentStr;
7
+ private _processPosition;
8
+ constructor(chars?: SemaphoreEncoding[]);
9
+ get chars(): SemaphoreEncoding[];
10
+ set chars(value: SemaphoreEncoding[]);
11
+ append(ch: SemaphoreCharacter): void;
12
+ clear(): void;
13
+ space(): void;
14
+ toString(): string;
15
+ private invalidate;
16
+ private update;
17
+ }
@@ -1,73 +1,74 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SemaphoreStream = void 0;
4
- const EncodingCategory_1 = require("../Common/EncodingCategory");
5
- const SemaphoreData_1 = require("./SemaphoreData");
6
- const SemaphoreEncoding_1 = require("./SemaphoreEncoding");
7
- class SemaphoreStream {
8
- constructor(chars) {
9
- this._chars = [];
10
- this._currentStr = '';
11
- this._processPosition = 0;
12
- if (chars) {
13
- this._chars = Array.from(chars);
14
- }
15
- this._state = {
16
- numberMode: false,
17
- };
18
- this.invalidate();
19
- }
20
- get chars() {
21
- return this._chars;
22
- }
23
- set chars(value) {
24
- this.clear();
25
- for (const ch of value) {
26
- this._chars.push(ch);
27
- }
28
- }
29
- append(ch) {
30
- this._chars.push(ch.valueOf());
31
- }
32
- clear() {
33
- this._chars.length = 0;
34
- this.invalidate();
35
- }
36
- space() {
37
- this._chars.push(SemaphoreEncoding_1.SemaphoreEncoding.None);
38
- }
39
- toString() {
40
- this.update();
41
- return this._currentStr;
42
- }
43
- invalidate() {
44
- this._currentStr = '';
45
- this._processPosition = 0;
46
- }
47
- update() {
48
- while (this._processPosition < this._chars.length) {
49
- const ch = this._chars[this._processPosition];
50
- if (ch === SemaphoreEncoding_1.SemaphoreEncoding.None) {
51
- this._state.numberMode = false;
52
- this._currentStr += ' ';
53
- }
54
- else if (ch === SemaphoreEncoding_1.SemaphoreEncoding.FormattingNumber) {
55
- this._state.numberMode = true;
56
- this._currentStr += '#';
57
- }
58
- else {
59
- const category = EncodingCategory_1.EncodingCategory.Punctuation |
60
- (this._state.numberMode
61
- ? EncodingCategory_1.EncodingCategory.Number
62
- : EncodingCategory_1.EncodingCategory.Letter);
63
- const exact = SemaphoreData_1.SemaphoreData.instance.lookup(ch, category).exact;
64
- if (exact.length > 0) {
65
- this._currentStr += exact[0].toString();
66
- }
67
- }
68
- this._processPosition++;
69
- }
70
- }
71
- }
72
- exports.SemaphoreStream = SemaphoreStream;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SemaphoreStream = void 0;
4
+ const EncodingCategory_1 = require("../Common/EncodingCategory");
5
+ const SemaphoreData_1 = require("./SemaphoreData");
6
+ const SemaphoreEncoding_1 = require("./SemaphoreEncoding");
7
+ class SemaphoreStream {
8
+ _chars = [];
9
+ _state;
10
+ _currentStr = '';
11
+ _processPosition = 0;
12
+ constructor(chars) {
13
+ if (chars) {
14
+ this._chars = Array.from(chars);
15
+ }
16
+ this._state = {
17
+ numberMode: false,
18
+ };
19
+ this.invalidate();
20
+ }
21
+ get chars() {
22
+ return this._chars;
23
+ }
24
+ set chars(value) {
25
+ this.clear();
26
+ for (const ch of value) {
27
+ this._chars.push(ch);
28
+ }
29
+ }
30
+ append(ch) {
31
+ this._chars.push(ch.valueOf());
32
+ }
33
+ clear() {
34
+ this._chars.length = 0;
35
+ this.invalidate();
36
+ }
37
+ space() {
38
+ this._chars.push(SemaphoreEncoding_1.SemaphoreEncoding.None);
39
+ }
40
+ toString() {
41
+ this.update();
42
+ return this._currentStr;
43
+ }
44
+ invalidate() {
45
+ this._currentStr = '';
46
+ this._processPosition = 0;
47
+ }
48
+ update() {
49
+ while (this._processPosition < this._chars.length) {
50
+ const ch = this._chars[this._processPosition];
51
+ if (ch === SemaphoreEncoding_1.SemaphoreEncoding.None) {
52
+ this._state.numberMode = false;
53
+ this._currentStr += ' ';
54
+ }
55
+ else if (ch === SemaphoreEncoding_1.SemaphoreEncoding.FormattingNumber) {
56
+ this._state.numberMode = true;
57
+ this._currentStr += '#';
58
+ }
59
+ else {
60
+ const category = EncodingCategory_1.EncodingCategory.Punctuation |
61
+ (this._state.numberMode
62
+ ? EncodingCategory_1.EncodingCategory.Number
63
+ : EncodingCategory_1.EncodingCategory.Letter);
64
+ const exact = SemaphoreData_1.SemaphoreData.instance.lookup(ch, category).exact;
65
+ if (exact.length > 0) {
66
+ this._currentStr += exact[0].toString();
67
+ }
68
+ }
69
+ this._processPosition++;
70
+ }
71
+ }
72
+ }
73
+ exports.SemaphoreStream = SemaphoreStream;
73
74
  //# sourceMappingURL=SemaphoreStream.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SemaphoreStream.js","sourceRoot":"","sources":["../../../src/Semaphore/SemaphoreStream.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,mDAA8C;AAC9C,2DAAsD;AAMtD,MAAa,eAAe;IAM1B,YAAY,KAA2B;QALtB,WAAM,GAAwB,EAAE,CAAC;QAE1C,gBAAW,GAAG,EAAE,CAAC;QACjB,qBAAgB,GAAG,CAAC,CAAC;QAG3B,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACjC;QAED,IAAI,CAAC,MAAM,GAAG;YACZ,UAAU,EAAE,KAAK;SAClB,CAAC;QAEF,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,KAAK,CAAC,KAA0B;QAClC,IAAI,CAAC,KAAK,EAAE,CAAC;QAEb,KAAK,MAAM,EAAE,IAAI,KAAK,EAAE;YACtB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;SACtB;IACH,CAAC;IAED,MAAM,CAAC,EAAsB;QAC3B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;IACjC,CAAC;IAED,KAAK;QACH,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAED,KAAK;QACH,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,qCAAiB,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAEO,UAAU;QAChB,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;IAC5B,CAAC;IAEO,MAAM;QACZ,OAAO,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;YACjD,MAAM,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YAE9C,IAAI,EAAE,KAAK,qCAAiB,CAAC,IAAI,EAAE;gBACjC,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,KAAK,CAAC;gBAC/B,IAAI,CAAC,WAAW,IAAI,GAAG,CAAC;aACzB;iBAAM,IAAI,EAAE,KAAK,qCAAiB,CAAC,gBAAgB,EAAE;gBACpD,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;gBAC9B,IAAI,CAAC,WAAW,IAAI,GAAG,CAAC;aACzB;iBAAM;gBACL,MAAM,QAAQ,GACZ,mCAAgB,CAAC,WAAW;oBAC5B,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU;wBACrB,CAAC,CAAC,mCAAgB,CAAC,MAAM;wBACzB,CAAC,CAAC,mCAAgB,CAAC,MAAM,CAAC,CAAC;gBAC/B,MAAM,KAAK,GAAG,6BAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC,KAAK,CAAC;gBAEhE,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;oBACpB,IAAI,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;iBACzC;aACF;YAED,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB;IACH,CAAC;CACF;AA/ED,0CA+EC"}
1
+ {"version":3,"file":"SemaphoreStream.js","sourceRoot":"","sources":["../../../src/Semaphore/SemaphoreStream.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,mDAA8C;AAC9C,2DAAsD;AAMtD,MAAa,eAAe;IACT,MAAM,GAAwB,EAAE,CAAC;IACjC,MAAM,CAAuB;IACtC,WAAW,GAAG,EAAE,CAAC;IACjB,gBAAgB,GAAG,CAAC,CAAC;IAE7B,YAAY,KAA2B;QACrC,IAAI,KAAK,EAAE;YACT,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACjC;QAED,IAAI,CAAC,MAAM,GAAG;YACZ,UAAU,EAAE,KAAK;SAClB,CAAC;QAEF,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,IAAI,KAAK,CAAC,KAA0B;QAClC,IAAI,CAAC,KAAK,EAAE,CAAC;QAEb,KAAK,MAAM,EAAE,IAAI,KAAK,EAAE;YACtB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;SACtB;IACH,CAAC;IAED,MAAM,CAAC,EAAsB;QAC3B,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,CAAC;IACjC,CAAC;IAED,KAAK;QACH,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;QACvB,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAED,KAAK;QACH,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,qCAAiB,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAEO,UAAU;QAChB,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;QACtB,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC;IAC5B,CAAC;IAEO,MAAM;QACZ,OAAO,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;YACjD,MAAM,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;YAE9C,IAAI,EAAE,KAAK,qCAAiB,CAAC,IAAI,EAAE;gBACjC,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,KAAK,CAAC;gBAC/B,IAAI,CAAC,WAAW,IAAI,GAAG,CAAC;aACzB;iBAAM,IAAI,EAAE,KAAK,qCAAiB,CAAC,gBAAgB,EAAE;gBACpD,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;gBAC9B,IAAI,CAAC,WAAW,IAAI,GAAG,CAAC;aACzB;iBAAM;gBACL,MAAM,QAAQ,GACZ,mCAAgB,CAAC,WAAW;oBAC5B,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU;wBACrB,CAAC,CAAC,mCAAgB,CAAC,MAAM;wBACzB,CAAC,CAAC,mCAAgB,CAAC,MAAM,CAAC,CAAC;gBAC/B,MAAM,KAAK,GAAG,6BAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC,KAAK,CAAC;gBAEhE,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;oBACpB,IAAI,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;iBACzC;aACF;YAED,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB;IACH,CAAC;CACF;AA/ED,0CA+EC"}
@@ -1,4 +1,4 @@
1
- export interface Point {
2
- x: number;
3
- y: number;
4
- }
1
+ export interface Point {
2
+ x: number;
3
+ y: number;
4
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=Point.js.map
@@ -1,6 +1,6 @@
1
- import { Point } from './Point';
2
- export declare class Result {
3
- word: string;
4
- points: Point[];
5
- constructor(word: string, wordPoints: Point[]);
6
- }
1
+ import { Point } from './Point';
2
+ export declare class Result {
3
+ word: string;
4
+ points: Point[];
5
+ constructor(word: string, wordPoints: Point[]);
6
+ }
@@ -1,11 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Result = void 0;
4
- class Result {
5
- constructor(word, wordPoints) {
6
- this.word = word;
7
- this.points = Array.from(wordPoints);
8
- }
9
- }
10
- exports.Result = Result;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Result = void 0;
4
+ class Result {
5
+ word;
6
+ points;
7
+ constructor(word, wordPoints) {
8
+ this.word = word;
9
+ this.points = Array.from(wordPoints);
10
+ }
11
+ }
12
+ exports.Result = Result;
11
13
  //# sourceMappingURL=Result.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Result.js","sourceRoot":"","sources":["../../../src/WordSearch/Result.ts"],"names":[],"mappings":";;;AAEA,MAAa,MAAM;IAGjB,YAAY,IAAY,EAAE,UAAmB;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACvC,CAAC;CACF;AAPD,wBAOC"}
1
+ {"version":3,"file":"Result.js","sourceRoot":"","sources":["../../../src/WordSearch/Result.ts"],"names":[],"mappings":";;;AAEA,MAAa,MAAM;IACjB,IAAI,CAAS;IACb,MAAM,CAAU;IAChB,YAAY,IAAY,EAAE,UAAmB;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACvC,CAAC;CACF;AAPD,wBAOC"}
@@ -1,6 +1,6 @@
1
- export declare enum WordSearchDirection {
2
- None = 0,
3
- Cardinal = 1,
4
- Diagonal = 2,
5
- CardinalAndDiagonal = 3
6
- }
1
+ export declare enum WordSearchDirection {
2
+ None = 0,
3
+ Cardinal = 1,
4
+ Diagonal = 2,
5
+ CardinalAndDiagonal = 3
6
+ }
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WordSearchDirection = void 0;
4
- var WordSearchDirection;
5
- (function (WordSearchDirection) {
6
- WordSearchDirection[WordSearchDirection["None"] = 0] = "None";
7
- WordSearchDirection[WordSearchDirection["Cardinal"] = 1] = "Cardinal";
8
- WordSearchDirection[WordSearchDirection["Diagonal"] = 2] = "Diagonal";
9
- WordSearchDirection[WordSearchDirection["CardinalAndDiagonal"] = 3] = "CardinalAndDiagonal";
10
- })(WordSearchDirection = exports.WordSearchDirection || (exports.WordSearchDirection = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WordSearchDirection = void 0;
4
+ var WordSearchDirection;
5
+ (function (WordSearchDirection) {
6
+ WordSearchDirection[WordSearchDirection["None"] = 0] = "None";
7
+ WordSearchDirection[WordSearchDirection["Cardinal"] = 1] = "Cardinal";
8
+ WordSearchDirection[WordSearchDirection["Diagonal"] = 2] = "Diagonal";
9
+ WordSearchDirection[WordSearchDirection["CardinalAndDiagonal"] = 3] = "CardinalAndDiagonal";
10
+ })(WordSearchDirection || (exports.WordSearchDirection = WordSearchDirection = {}));
11
11
  //# sourceMappingURL=WordSearchDirection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WordSearchDirection.js","sourceRoot":"","sources":["../../../src/WordSearch/WordSearchDirection.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,6DAAQ,CAAA;IACR,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,2FAAuB,CAAA;AACzB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
1
+ {"version":3,"file":"WordSearchDirection.js","sourceRoot":"","sources":["../../../src/WordSearch/WordSearchDirection.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,6DAAQ,CAAA;IACR,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,2FAAuB,CAAA;AACzB,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
@@ -1,27 +1,27 @@
1
- import { Result } from './Result';
2
- import { WordSearchDirection } from './WordSearchDirection';
3
- export declare enum WordSearchSpaceTreatment {
4
- None = 0,
5
- RemoveWithinPuzzle = 1,
6
- RemoveAll = 2
7
- }
8
- export declare class WordSearchSolver {
9
- private _matrix;
10
- private _directions;
11
- private _targets;
12
- private _canBend;
13
- private _spaceTreatment;
14
- constructor();
15
- setWords(words: string[]): void;
16
- parseGrid(gridInputText: string): void;
17
- setGrid(matrix: string[][]): void;
18
- setDirections(direction: WordSearchDirection): void;
19
- setSpaceTreatment(treatment: WordSearchSpaceTreatment): void;
20
- setCanBend(canBend: boolean): void;
21
- findWords(): Result[];
22
- private search;
23
- private dfsCheck;
24
- private lineCheck;
25
- private isInBounds;
26
- private checkSpaces;
27
- }
1
+ import { Result } from './Result';
2
+ import { WordSearchDirection } from './WordSearchDirection';
3
+ export declare enum WordSearchSpaceTreatment {
4
+ None = 0,
5
+ RemoveWithinPuzzle = 1,
6
+ RemoveAll = 2
7
+ }
8
+ export declare class WordSearchSolver {
9
+ private _matrix;
10
+ private _directions;
11
+ private _targets;
12
+ private _canBend;
13
+ private _spaceTreatment;
14
+ constructor();
15
+ setWords(words: string[]): void;
16
+ parseGrid(gridInputText: string): void;
17
+ setGrid(matrix: string[][]): void;
18
+ setDirections(direction: WordSearchDirection): void;
19
+ setSpaceTreatment(treatment: WordSearchSpaceTreatment): void;
20
+ setCanBend(canBend: boolean): void;
21
+ findWords(): Result[];
22
+ private search;
23
+ private dfsCheck;
24
+ private lineCheck;
25
+ private isInBounds;
26
+ private checkSpaces;
27
+ }