@scrabble-solver/configs 2.6.1 → 2.7.2
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/build/literaki/literaki.d.ts +1 -0
- package/build/literaki/literaki.js +1 -0
- package/build/literaki/tiles/index.d.ts +1 -0
- package/build/literaki/tiles/index.js +3 -1
- package/build/literaki/tiles/tilesDe.d.ts +6 -0
- package/build/literaki/tiles/tilesDe.js +34 -0
- package/build/scrabble/scrabble.d.ts +1 -0
- package/build/scrabble/scrabble.js +1 -0
- package/build/scrabble/tiles/index.d.ts +1 -0
- package/build/scrabble/tiles/index.js +3 -1
- package/build/scrabble/tiles/tilesDe.d.ts +6 -0
- package/build/scrabble/tiles/tilesDe.js +34 -0
- package/build/scrabble/tiles/tilesFr.js +1 -1
- package/package.json +5 -5
- package/src/literaki/literaki.ts +2 -1
- package/src/literaki/tiles/index.ts +1 -0
- package/src/literaki/tiles/tilesDe.ts +33 -0
- package/src/scrabble/scrabble.ts +2 -1
- package/src/scrabble/tiles/index.ts +1 -0
- package/src/scrabble/tiles/tilesDe.ts +33 -0
- package/src/scrabble/tiles/tilesFr.ts +1 -1
|
@@ -33,6 +33,7 @@ var literaki = (_a = {
|
|
|
33
33
|
id: base.id,
|
|
34
34
|
name: base.name
|
|
35
35
|
},
|
|
36
|
+
_a[types_1.Locale.DE_DE] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesDe })),
|
|
36
37
|
_a[types_1.Locale.EN_GB] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEn })),
|
|
37
38
|
_a[types_1.Locale.EN_US] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEn })),
|
|
38
39
|
_a[types_1.Locale.ES_ES] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEs })),
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
|
|
6
|
+
exports.tilesDe = exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
|
|
7
7
|
var tilesEn_1 = require("./tilesEn");
|
|
8
8
|
Object.defineProperty(exports, "tilesEn", { enumerable: true, get: function () { return __importDefault(tilesEn_1).default; } });
|
|
9
9
|
var tilesEs_1 = require("./tilesEs");
|
|
@@ -12,3 +12,5 @@ var tilesFr_1 = require("./tilesFr");
|
|
|
12
12
|
Object.defineProperty(exports, "tilesFr", { enumerable: true, get: function () { return __importDefault(tilesFr_1).default; } });
|
|
13
13
|
var tilesPl_1 = require("./tilesPl");
|
|
14
14
|
Object.defineProperty(exports, "tilesPl", { enumerable: true, get: function () { return __importDefault(tilesPl_1).default; } });
|
|
15
|
+
var tilesDe_1 = require("./tilesDe");
|
|
16
|
+
Object.defineProperty(exports, "tilesDe", { enumerable: true, get: function () { return __importDefault(tilesDe_1).default; } });
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tilesDe = [
|
|
4
|
+
{ character: 'a', count: 5, score: 1 },
|
|
5
|
+
{ character: 'ä', count: 1, score: 6 },
|
|
6
|
+
{ character: 'b', count: 2, score: 3 },
|
|
7
|
+
{ character: 'c', count: 2, score: 4 },
|
|
8
|
+
{ character: 'd', count: 4, score: 1 },
|
|
9
|
+
{ character: 'e', count: 15, score: 1 },
|
|
10
|
+
{ character: 'f', count: 2, score: 4 },
|
|
11
|
+
{ character: 'g', count: 3, score: 2 },
|
|
12
|
+
{ character: 'h', count: 4, score: 2 },
|
|
13
|
+
{ character: 'i', count: 6, score: 1 },
|
|
14
|
+
{ character: 'j', count: 1, score: 6 },
|
|
15
|
+
{ character: 'k', count: 2, score: 4 },
|
|
16
|
+
{ character: 'l', count: 3, score: 2 },
|
|
17
|
+
{ character: 'm', count: 4, score: 3 },
|
|
18
|
+
{ character: 'n', count: 9, score: 1 },
|
|
19
|
+
{ character: 'o', count: 3, score: 2 },
|
|
20
|
+
{ character: 'ö', count: 1, score: 8 },
|
|
21
|
+
{ character: 'p', count: 1, score: 4 },
|
|
22
|
+
{ character: 'q', count: 1, score: 10 },
|
|
23
|
+
{ character: 'r', count: 6, score: 1 },
|
|
24
|
+
{ character: 's', count: 7, score: 1 },
|
|
25
|
+
{ character: 't', count: 6, score: 1 },
|
|
26
|
+
{ character: 'u', count: 6, score: 1 },
|
|
27
|
+
{ character: 'ü', count: 1, score: 6 },
|
|
28
|
+
{ character: 'v', count: 1, score: 6 },
|
|
29
|
+
{ character: 'w', count: 1, score: 3 },
|
|
30
|
+
{ character: 'x', count: 1, score: 8 },
|
|
31
|
+
{ character: 'y', count: 1, score: 10 },
|
|
32
|
+
{ character: 'z', count: 1, score: 3 },
|
|
33
|
+
];
|
|
34
|
+
exports.default = tilesDe;
|
|
@@ -34,6 +34,7 @@ var scrabble = (_a = {
|
|
|
34
34
|
name: base.name
|
|
35
35
|
},
|
|
36
36
|
_a[types_1.Locale.EN_GB] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEn })),
|
|
37
|
+
_a[types_1.Locale.DE_DE] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesDe })),
|
|
37
38
|
_a[types_1.Locale.EN_US] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEn })),
|
|
38
39
|
_a[types_1.Locale.ES_ES] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesEs })),
|
|
39
40
|
_a[types_1.Locale.FR_FR] = types_1.Config.fromJson(__assign(__assign({}, base), { tiles: tiles_1.tilesFr })),
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
|
|
6
|
+
exports.tilesDe = exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
|
|
7
7
|
var tilesEn_1 = require("./tilesEn");
|
|
8
8
|
Object.defineProperty(exports, "tilesEn", { enumerable: true, get: function () { return __importDefault(tilesEn_1).default; } });
|
|
9
9
|
var tilesEs_1 = require("./tilesEs");
|
|
@@ -12,3 +12,5 @@ var tilesFr_1 = require("./tilesFr");
|
|
|
12
12
|
Object.defineProperty(exports, "tilesFr", { enumerable: true, get: function () { return __importDefault(tilesFr_1).default; } });
|
|
13
13
|
var tilesPl_1 = require("./tilesPl");
|
|
14
14
|
Object.defineProperty(exports, "tilesPl", { enumerable: true, get: function () { return __importDefault(tilesPl_1).default; } });
|
|
15
|
+
var tilesDe_1 = require("./tilesDe");
|
|
16
|
+
Object.defineProperty(exports, "tilesDe", { enumerable: true, get: function () { return __importDefault(tilesDe_1).default; } });
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tilesDe = [
|
|
4
|
+
{ character: 'a', count: 5, score: 1 },
|
|
5
|
+
{ character: 'ä', count: 1, score: 6 },
|
|
6
|
+
{ character: 'b', count: 2, score: 3 },
|
|
7
|
+
{ character: 'c', count: 2, score: 4 },
|
|
8
|
+
{ character: 'd', count: 4, score: 1 },
|
|
9
|
+
{ character: 'e', count: 15, score: 1 },
|
|
10
|
+
{ character: 'f', count: 2, score: 4 },
|
|
11
|
+
{ character: 'g', count: 3, score: 2 },
|
|
12
|
+
{ character: 'h', count: 4, score: 2 },
|
|
13
|
+
{ character: 'i', count: 6, score: 1 },
|
|
14
|
+
{ character: 'j', count: 1, score: 6 },
|
|
15
|
+
{ character: 'k', count: 2, score: 4 },
|
|
16
|
+
{ character: 'l', count: 3, score: 2 },
|
|
17
|
+
{ character: 'm', count: 4, score: 3 },
|
|
18
|
+
{ character: 'n', count: 9, score: 1 },
|
|
19
|
+
{ character: 'o', count: 3, score: 2 },
|
|
20
|
+
{ character: 'ö', count: 1, score: 8 },
|
|
21
|
+
{ character: 'p', count: 1, score: 4 },
|
|
22
|
+
{ character: 'q', count: 1, score: 10 },
|
|
23
|
+
{ character: 'r', count: 6, score: 1 },
|
|
24
|
+
{ character: 's', count: 7, score: 1 },
|
|
25
|
+
{ character: 't', count: 6, score: 1 },
|
|
26
|
+
{ character: 'u', count: 6, score: 1 },
|
|
27
|
+
{ character: 'ü', count: 1, score: 6 },
|
|
28
|
+
{ character: 'v', count: 1, score: 6 },
|
|
29
|
+
{ character: 'w', count: 1, score: 3 },
|
|
30
|
+
{ character: 'x', count: 1, score: 8 },
|
|
31
|
+
{ character: 'y', count: 1, score: 10 },
|
|
32
|
+
{ character: 'z', count: 1, score: 3 },
|
|
33
|
+
];
|
|
34
|
+
exports.default = tilesDe;
|
|
@@ -6,7 +6,7 @@ var tilesFr = [
|
|
|
6
6
|
{ character: 'c', count: 2, score: 3 },
|
|
7
7
|
{ character: 'd', count: 3, score: 2 },
|
|
8
8
|
{ character: 'e', count: 15, score: 1 },
|
|
9
|
-
{ character: 'f', count: 2, score:
|
|
9
|
+
{ character: 'f', count: 2, score: 4 },
|
|
10
10
|
{ character: 'g', count: 2, score: 2 },
|
|
11
11
|
{ character: 'h', count: 2, score: 4 },
|
|
12
12
|
{ character: 'i', count: 8, score: 1 },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/configs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.2",
|
|
4
4
|
"description": "Scrabble Solver 2 - Configs",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"author": {
|
|
12
12
|
"name": "Kamil Mielnik",
|
|
13
13
|
"email": "kamil.adam.mielnik@gmail.com",
|
|
14
|
-
"url": "
|
|
14
|
+
"url": "https://kamilmielnik.com/"
|
|
15
15
|
},
|
|
16
16
|
"license": "CC-BY-NC-ND-4.0",
|
|
17
17
|
"bugs": {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"clean:force": "npm run clean && rimraf package-lock.json"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@scrabble-solver/constants": "^2.
|
|
28
|
-
"@scrabble-solver/types": "^2.
|
|
27
|
+
"@scrabble-solver/constants": "^2.7.2",
|
|
28
|
+
"@scrabble-solver/types": "^2.7.2"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "f1a2823c32eedaeff30cf8315e20427574fc97b7"
|
|
31
31
|
}
|
package/src/literaki/literaki.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Config, Locale } from '@scrabble-solver/types';
|
|
2
2
|
|
|
3
3
|
import bonuses from './bonuses';
|
|
4
|
-
import { tilesEn, tilesEs, tilesFr, tilesPl } from './tiles';
|
|
4
|
+
import { tilesDe, tilesEn, tilesEs, tilesFr, tilesPl } from './tiles';
|
|
5
5
|
|
|
6
6
|
const base = {
|
|
7
7
|
allTilesBonusScore: 50,
|
|
@@ -18,6 +18,7 @@ const base = {
|
|
|
18
18
|
const literaki = {
|
|
19
19
|
id: base.id,
|
|
20
20
|
name: base.name,
|
|
21
|
+
[Locale.DE_DE]: Config.fromJson({ ...base, tiles: tilesDe }),
|
|
21
22
|
[Locale.EN_GB]: Config.fromJson({ ...base, tiles: tilesEn }),
|
|
22
23
|
[Locale.EN_US]: Config.fromJson({ ...base, tiles: tilesEn }),
|
|
23
24
|
[Locale.ES_ES]: Config.fromJson({ ...base, tiles: tilesEs }),
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const tilesDe = [
|
|
2
|
+
{ character: 'a', count: 5, score: 1 },
|
|
3
|
+
{ character: 'ä', count: 1, score: 6 },
|
|
4
|
+
{ character: 'b', count: 2, score: 3 },
|
|
5
|
+
{ character: 'c', count: 2, score: 4 },
|
|
6
|
+
{ character: 'd', count: 4, score: 1 },
|
|
7
|
+
{ character: 'e', count: 15, score: 1 },
|
|
8
|
+
{ character: 'f', count: 2, score: 4 },
|
|
9
|
+
{ character: 'g', count: 3, score: 2 },
|
|
10
|
+
{ character: 'h', count: 4, score: 2 },
|
|
11
|
+
{ character: 'i', count: 6, score: 1 },
|
|
12
|
+
{ character: 'j', count: 1, score: 6 },
|
|
13
|
+
{ character: 'k', count: 2, score: 4 },
|
|
14
|
+
{ character: 'l', count: 3, score: 2 },
|
|
15
|
+
{ character: 'm', count: 4, score: 3 },
|
|
16
|
+
{ character: 'n', count: 9, score: 1 },
|
|
17
|
+
{ character: 'o', count: 3, score: 2 },
|
|
18
|
+
{ character: 'ö', count: 1, score: 8 },
|
|
19
|
+
{ character: 'p', count: 1, score: 4 },
|
|
20
|
+
{ character: 'q', count: 1, score: 10 },
|
|
21
|
+
{ character: 'r', count: 6, score: 1 },
|
|
22
|
+
{ character: 's', count: 7, score: 1 },
|
|
23
|
+
{ character: 't', count: 6, score: 1 },
|
|
24
|
+
{ character: 'u', count: 6, score: 1 },
|
|
25
|
+
{ character: 'ü', count: 1, score: 6 },
|
|
26
|
+
{ character: 'v', count: 1, score: 6 },
|
|
27
|
+
{ character: 'w', count: 1, score: 3 },
|
|
28
|
+
{ character: 'x', count: 1, score: 8 },
|
|
29
|
+
{ character: 'y', count: 1, score: 10 },
|
|
30
|
+
{ character: 'z', count: 1, score: 3 },
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
export default tilesDe;
|
package/src/scrabble/scrabble.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Config, Locale } from '@scrabble-solver/types';
|
|
2
2
|
|
|
3
3
|
import bonuses from './bonuses';
|
|
4
|
-
import { tilesEn, tilesEs, tilesFr, tilesPl } from './tiles';
|
|
4
|
+
import { tilesEn, tilesEs, tilesFr, tilesPl, tilesDe } from './tiles';
|
|
5
5
|
|
|
6
6
|
const base = {
|
|
7
7
|
allTilesBonusScore: 50,
|
|
@@ -19,6 +19,7 @@ const scrabble = {
|
|
|
19
19
|
id: base.id,
|
|
20
20
|
name: base.name,
|
|
21
21
|
[Locale.EN_GB]: Config.fromJson({ ...base, tiles: tilesEn }),
|
|
22
|
+
[Locale.DE_DE]: Config.fromJson({ ...base, tiles: tilesDe }),
|
|
22
23
|
[Locale.EN_US]: Config.fromJson({ ...base, tiles: tilesEn }),
|
|
23
24
|
[Locale.ES_ES]: Config.fromJson({ ...base, tiles: tilesEs }),
|
|
24
25
|
[Locale.FR_FR]: Config.fromJson({ ...base, tiles: tilesFr }),
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const tilesDe = [
|
|
2
|
+
{ character: 'a', count: 5, score: 1 },
|
|
3
|
+
{ character: 'ä', count: 1, score: 6 },
|
|
4
|
+
{ character: 'b', count: 2, score: 3 },
|
|
5
|
+
{ character: 'c', count: 2, score: 4 },
|
|
6
|
+
{ character: 'd', count: 4, score: 1 },
|
|
7
|
+
{ character: 'e', count: 15, score: 1 },
|
|
8
|
+
{ character: 'f', count: 2, score: 4 },
|
|
9
|
+
{ character: 'g', count: 3, score: 2 },
|
|
10
|
+
{ character: 'h', count: 4, score: 2 },
|
|
11
|
+
{ character: 'i', count: 6, score: 1 },
|
|
12
|
+
{ character: 'j', count: 1, score: 6 },
|
|
13
|
+
{ character: 'k', count: 2, score: 4 },
|
|
14
|
+
{ character: 'l', count: 3, score: 2 },
|
|
15
|
+
{ character: 'm', count: 4, score: 3 },
|
|
16
|
+
{ character: 'n', count: 9, score: 1 },
|
|
17
|
+
{ character: 'o', count: 3, score: 2 },
|
|
18
|
+
{ character: 'ö', count: 1, score: 8 },
|
|
19
|
+
{ character: 'p', count: 1, score: 4 },
|
|
20
|
+
{ character: 'q', count: 1, score: 10 },
|
|
21
|
+
{ character: 'r', count: 6, score: 1 },
|
|
22
|
+
{ character: 's', count: 7, score: 1 },
|
|
23
|
+
{ character: 't', count: 6, score: 1 },
|
|
24
|
+
{ character: 'u', count: 6, score: 1 },
|
|
25
|
+
{ character: 'ü', count: 1, score: 6 },
|
|
26
|
+
{ character: 'v', count: 1, score: 6 },
|
|
27
|
+
{ character: 'w', count: 1, score: 3 },
|
|
28
|
+
{ character: 'x', count: 1, score: 8 },
|
|
29
|
+
{ character: 'y', count: 1, score: 10 },
|
|
30
|
+
{ character: 'z', count: 1, score: 3 },
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
export default tilesDe;
|
|
@@ -4,7 +4,7 @@ const tilesFr = [
|
|
|
4
4
|
{ character: 'c', count: 2, score: 3 },
|
|
5
5
|
{ character: 'd', count: 3, score: 2 },
|
|
6
6
|
{ character: 'e', count: 15, score: 1 },
|
|
7
|
-
{ character: 'f', count: 2, score:
|
|
7
|
+
{ character: 'f', count: 2, score: 4 },
|
|
8
8
|
{ character: 'g', count: 2, score: 2 },
|
|
9
9
|
{ character: 'h', count: 2, score: 4 },
|
|
10
10
|
{ character: 'i', count: 8, score: 1 },
|