scrabble-solver 2.15.10 → 2.15.11
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/.nx/workspace-data/file-map.json +390 -378
- package/.nx/workspace-data/lockfile.hash +1 -1
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/parsed-lock-file.json +265 -218
- package/.nx/workspace-data/project-graph.json +281 -221
- package/.nx/workspace-data/source-maps.json +32 -0
- package/README.md +1 -1
- package/lerna.json +1 -1
- package/package.json +7 -6
- package/packages/configs/build/games/index.d.ts +1 -0
- package/packages/configs/build/games/index.js +1 -0
- package/packages/configs/build/games/kelimelik.d.ts +3 -1
- package/packages/configs/build/games/kelimelik.js +1 -1
- package/packages/configs/build/games/letterLeague.d.ts +19 -0
- package/packages/configs/build/games/letterLeague.js +161 -0
- package/packages/configs/build/games/literaki.d.ts +3 -1
- package/packages/configs/build/games/literaki.js +1 -1
- package/packages/configs/build/games/scrabble.d.ts +3 -1
- package/packages/configs/build/games/scrabble.js +1 -1
- package/packages/configs/build/games/scrabbleDuel.d.ts +3 -1
- package/packages/configs/build/games/scrabbleDuel.js +1 -1
- package/packages/configs/build/games/superScrabble.d.ts +3 -1
- package/packages/configs/build/games/superScrabble.js +1 -1
- package/packages/configs/build/languages/english.d.ts +4 -2
- package/packages/configs/build/languages/english.js +100 -36
- package/packages/configs/package.json +3 -3
- package/packages/configs/src/games/index.ts +1 -0
- package/packages/configs/src/games/kelimelik.ts +1 -1
- package/packages/configs/src/games/letterLeague.ts +177 -0
- package/packages/configs/src/games/literaki.ts +1 -1
- package/packages/configs/src/games/scrabble.ts +1 -1
- package/packages/configs/src/games/scrabbleDuel.ts +1 -1
- package/packages/configs/src/games/superScrabble.ts +1 -1
- package/packages/configs/src/languages/english.ts +103 -37
- package/packages/constants/package.json +1 -1
- package/packages/dictionaries/package.json +4 -4
- package/packages/logger/package.json +1 -1
- package/packages/scrabble-solver/.next/BUILD_ID +1 -1
- package/packages/scrabble-solver/.next/build-manifest.json +4 -4
- package/packages/scrabble-solver/.next/cache/.rscinfo +1 -1
- package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
- package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/next-minimal-server.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/next-server.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/prerender-manifest.json +4 -4
- package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/chunks/60.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/812.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/974.js +1 -1
- package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/404.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/404.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/500.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/solve.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/solve.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/verify.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.html +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.json +1 -1
- package/packages/scrabble-solver/.next/server/pages-manifest.json +1 -1
- package/packages/scrabble-solver/.next/static/{ylO_ttKeJTuoqDYywao5A → 47JHul8F9NSWCNSEuahuL}/_buildManifest.js +1 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-0e951de0aebb6505.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/index-c1d5a66d0f4794a6.js +1 -0
- package/packages/scrabble-solver/.next/trace +23 -23
- package/packages/scrabble-solver/package.json +10 -9
- package/packages/scrabble-solver/public/service-worker.js +2 -2
- package/packages/scrabble-solver/public/service-worker.js.map +1 -1
- package/packages/scrabble-solver/src/components/Board/BoardPure.tsx +1 -1
- package/packages/scrabble-solver/src/components/NavButtons/NavButtons.tsx +13 -10
- package/packages/scrabble-solver/src/components/SeoMessage/SeoMessage.tsx +4 -3
- package/packages/scrabble-solver/src/lib/getCoordinate.test.ts +22 -0
- package/packages/scrabble-solver/src/lib/getCoordinate.ts +9 -1
- package/packages/scrabble-solver/src/lib/getRemainingTilesCount.ts +7 -1
- package/packages/scrabble-solver/src/lib/getTotalRemainingTilesCount.ts +7 -1
- package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/Character/Character.tsx +5 -0
- package/packages/scrabble-solver/src/pages/_app.tsx +2 -1
- package/packages/scrabble-solver/src/pages/index.tsx +5 -2
- package/packages/scrabble-solver/src/state/selectors.ts +1 -1
- package/packages/scrabble-solver/src/types/index.ts +1 -1
- package/packages/scrabble-solver/tsconfig.tsbuildinfo +1 -0
- package/packages/solver/build/getPatternScore.js +13 -4
- package/packages/solver/package.json +5 -5
- package/packages/solver/src/getPatternScore.test.ts +139 -53
- package/packages/solver/src/getPatternScore.ts +15 -5
- package/packages/types/build/Bingo.d.ts +10 -0
- package/packages/types/build/Bingo.js +16 -0
- package/packages/types/build/Config.d.ts +3 -1
- package/packages/types/build/Config.js +5 -2
- package/packages/types/build/ConfigJson.d.ts +2 -1
- package/packages/types/build/Game.d.ts +1 -0
- package/packages/types/build/Game.js +1 -0
- package/packages/types/build/TileConfig.d.ts +1 -1
- package/packages/types/build/index.d.ts +1 -0
- package/packages/types/build/index.js +5 -1
- package/packages/types/package.json +2 -2
- package/packages/types/src/Bingo.ts +19 -0
- package/packages/types/src/Config.ts +7 -2
- package/packages/types/src/ConfigJson.ts +2 -1
- package/packages/types/src/Game.ts +1 -0
- package/packages/types/src/TileConfig.ts +1 -1
- package/packages/types/src/index.ts +1 -0
- package/packages/word-definitions/package.json +2 -2
- package/packages/word-lists/package.json +2 -2
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-ac93a74c390f2ab8.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/index-e5f1caa581e6d3b8.js +0 -1
- /package/packages/scrabble-solver/.next/static/{ylO_ttKeJTuoqDYywao5A → 47JHul8F9NSWCNSEuahuL}/_ssgManifest.js +0 -0
|
@@ -692,6 +692,10 @@
|
|
|
692
692
|
"packages/scrabble-solver/package.json",
|
|
693
693
|
"nx/core/package-json"
|
|
694
694
|
],
|
|
695
|
+
"metadata.targetGroups.NPM Scripts.5": [
|
|
696
|
+
"packages/scrabble-solver/package.json",
|
|
697
|
+
"nx/core/package-json"
|
|
698
|
+
],
|
|
695
699
|
"metadata.description": [
|
|
696
700
|
"packages/scrabble-solver/package.json",
|
|
697
701
|
"nx/core/package-json"
|
|
@@ -852,6 +856,34 @@
|
|
|
852
856
|
"packages/scrabble-solver/package.json",
|
|
853
857
|
"nx/core/package-json"
|
|
854
858
|
],
|
|
859
|
+
"targets.type-check": [
|
|
860
|
+
"packages/scrabble-solver/package.json",
|
|
861
|
+
"nx/core/package-json"
|
|
862
|
+
],
|
|
863
|
+
"targets.type-check.executor": [
|
|
864
|
+
"packages/scrabble-solver/package.json",
|
|
865
|
+
"nx/core/package-json"
|
|
866
|
+
],
|
|
867
|
+
"targets.type-check.options": [
|
|
868
|
+
"packages/scrabble-solver/package.json",
|
|
869
|
+
"nx/core/package-json"
|
|
870
|
+
],
|
|
871
|
+
"targets.type-check.metadata": [
|
|
872
|
+
"packages/scrabble-solver/package.json",
|
|
873
|
+
"nx/core/package-json"
|
|
874
|
+
],
|
|
875
|
+
"targets.type-check.options.script": [
|
|
876
|
+
"packages/scrabble-solver/package.json",
|
|
877
|
+
"nx/core/package-json"
|
|
878
|
+
],
|
|
879
|
+
"targets.type-check.metadata.scriptContent": [
|
|
880
|
+
"packages/scrabble-solver/package.json",
|
|
881
|
+
"nx/core/package-json"
|
|
882
|
+
],
|
|
883
|
+
"targets.type-check.metadata.runCommand": [
|
|
884
|
+
"packages/scrabble-solver/package.json",
|
|
885
|
+
"nx/core/package-json"
|
|
886
|
+
],
|
|
855
887
|
"targets.nx-release-publish": [
|
|
856
888
|
"packages/scrabble-solver/package.json",
|
|
857
889
|
"nx/core/package-json"
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
8
|
<p>
|
|
9
|
-
Free, open-source, cross-platform, multi-language analysis tool for <a href="https://en.wikipedia.org/wiki/Scrabble">Scrabble</a>, <a href="https://www.scopely.com/en/games/scrabble-go">Scrabble Duel</a>, <a href="https://en.wikipedia.org/wiki/Super_Scrabble">Super Scrabble</a>, <a href="https://pl.wikipedia.org/wiki/Literaki">Literaki</a> & <a href="https://play.google.com/store/apps/details?id=com.he2apps.kelimelik">Kelimelik</a>
|
|
9
|
+
Free, open-source, cross-platform, multi-language analysis tool for <a href="https://en.wikipedia.org/wiki/Scrabble">Scrabble</a>, <a href="https://www.scopely.com/en/games/scrabble-go">Scrabble Duel</a>, <a href="https://en.wikipedia.org/wiki/Super_Scrabble">Super Scrabble</a>, <a href="https://support-apps.discord.com/hc/en-us/articles/26502196674583-Letter-League-FAQ">Letter League</a>, <a href="https://pl.wikipedia.org/wiki/Literaki">Literaki</a> & <a href="https://play.google.com/store/apps/details?id=com.he2apps.kelimelik">Kelimelik</a>
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p>
|
package/lerna.json
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scrabble-solver",
|
|
3
|
-
"version": "2.15.
|
|
4
|
-
"description": "Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.",
|
|
3
|
+
"version": "2.15.11",
|
|
4
|
+
"description": "Scrabble Solver 2 - Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Literaki, and Kelimelik. Quickly find the top-scoring words using the given board and tiles.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Scrabble",
|
|
7
7
|
"Scrabble Duel",
|
|
8
8
|
"Super Scrabble",
|
|
9
9
|
"Kelimelik",
|
|
10
|
+
"Letter League",
|
|
10
11
|
"Literaki",
|
|
11
12
|
"Solver",
|
|
12
13
|
"Finder",
|
|
@@ -94,7 +95,7 @@
|
|
|
94
95
|
"packages/scrabble-solver"
|
|
95
96
|
],
|
|
96
97
|
"dependencies": {
|
|
97
|
-
"@scrabble-solver/scrabble-solver": "^2.15.
|
|
98
|
+
"@scrabble-solver/scrabble-solver": "^2.15.11",
|
|
98
99
|
"concurrently": "^9.1.2",
|
|
99
100
|
"open-cli": "^8.0.0",
|
|
100
101
|
"wait-on": "^8.0.3"
|
|
@@ -108,15 +109,15 @@
|
|
|
108
109
|
"@eslint/js": "^9.23.0",
|
|
109
110
|
"@testing-library/cypress": "^10.0.3",
|
|
110
111
|
"@types/jest": "^29.5.14",
|
|
111
|
-
"@types/node": "^22.13.
|
|
112
|
+
"@types/node": "^22.13.14",
|
|
112
113
|
"@typescript-eslint/eslint-plugin": "^8.28.0",
|
|
113
114
|
"@typescript-eslint/parser": "^8.28.0",
|
|
114
|
-
"cypress": "^14.2.
|
|
115
|
+
"cypress": "^14.2.1",
|
|
115
116
|
"cypress-real-events": "^1.14.0",
|
|
116
117
|
"eslint": "^9.23.0",
|
|
117
118
|
"eslint-config-prettier": "^10.1.1",
|
|
118
119
|
"eslint-import-resolver-node": "^0.3.9",
|
|
119
|
-
"eslint-import-resolver-typescript": "^4.2.
|
|
120
|
+
"eslint-import-resolver-typescript": "^4.2.5",
|
|
120
121
|
"eslint-plugin-cypress": "^4.2.0",
|
|
121
122
|
"eslint-plugin-import": "^2.31.0",
|
|
122
123
|
"eslint-plugin-mocha": "^10.5.0",
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./kelimelik"), exports);
|
|
18
|
+
__exportStar(require("./letterLeague"), exports);
|
|
18
19
|
__exportStar(require("./literaki"), exports);
|
|
19
20
|
__exportStar(require("./scrabble"), exports);
|
|
20
21
|
__exportStar(require("./scrabbleDuel"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Game } from '@scrabble-solver/types';
|
|
2
|
+
export declare const letterLeague: {
|
|
3
|
+
bingo: {
|
|
4
|
+
multiplier: number;
|
|
5
|
+
};
|
|
6
|
+
blankScore: number;
|
|
7
|
+
blanksCount: number;
|
|
8
|
+
boardHeight: number;
|
|
9
|
+
boardWidth: number;
|
|
10
|
+
game: Game;
|
|
11
|
+
name: string;
|
|
12
|
+
rackSize: number;
|
|
13
|
+
bonuses: {
|
|
14
|
+
multiplier: number;
|
|
15
|
+
type: string;
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.letterLeague = void 0;
|
|
4
|
+
const constants_1 = require("@scrabble-solver/constants");
|
|
5
|
+
const types_1 = require("@scrabble-solver/types");
|
|
6
|
+
exports.letterLeague = {
|
|
7
|
+
bingo: { multiplier: 2 },
|
|
8
|
+
blankScore: 0,
|
|
9
|
+
blanksCount: 2,
|
|
10
|
+
boardHeight: 19,
|
|
11
|
+
boardWidth: 27,
|
|
12
|
+
game: types_1.Game.LetterLeague,
|
|
13
|
+
name: 'Letter League',
|
|
14
|
+
rackSize: 7,
|
|
15
|
+
bonuses: [
|
|
16
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 3, y: 0 },
|
|
17
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 6, y: 0 },
|
|
18
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 8, y: 0 },
|
|
19
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 11, y: 0 },
|
|
20
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 15, y: 0 },
|
|
21
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 18, y: 0 },
|
|
22
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 20, y: 0 },
|
|
23
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 23, y: 0 },
|
|
24
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 1, y: 1 },
|
|
25
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 5, y: 1 },
|
|
26
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 9, y: 1 },
|
|
27
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 13, y: 1 },
|
|
28
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 17, y: 1 },
|
|
29
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 21, y: 1 },
|
|
30
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 25, y: 1 },
|
|
31
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 4, y: 2 },
|
|
32
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 6, y: 2 },
|
|
33
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 8, y: 2 },
|
|
34
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 10, y: 2 },
|
|
35
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 16, y: 2 },
|
|
36
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 18, y: 2 },
|
|
37
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 20, y: 2 },
|
|
38
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 22, y: 2 },
|
|
39
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 0, y: 3 },
|
|
40
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 1, y: 3 },
|
|
41
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 2, y: 3 },
|
|
42
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 7, y: 3 },
|
|
43
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 12, y: 3 },
|
|
44
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 13, y: 3 },
|
|
45
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 14, y: 3 },
|
|
46
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 19, y: 3 },
|
|
47
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 24, y: 3 },
|
|
48
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 25, y: 3 },
|
|
49
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 26, y: 3 },
|
|
50
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 4, y: 4 },
|
|
51
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 6, y: 4 },
|
|
52
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 8, y: 4 },
|
|
53
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 10, y: 4 },
|
|
54
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 16, y: 4 },
|
|
55
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 18, y: 4 },
|
|
56
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 20, y: 4 },
|
|
57
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 22, y: 4 },
|
|
58
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 1, y: 5 },
|
|
59
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 5, y: 5 },
|
|
60
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 9, y: 5 },
|
|
61
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 13, y: 5 },
|
|
62
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 17, y: 5 },
|
|
63
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 21, y: 5 },
|
|
64
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 25, y: 5 },
|
|
65
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 3, y: 6 },
|
|
66
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 6, y: 6 },
|
|
67
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 8, y: 6 },
|
|
68
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 11, y: 6 },
|
|
69
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 15, y: 6 },
|
|
70
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 18, y: 6 },
|
|
71
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 20, y: 6 },
|
|
72
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 23, y: 6 },
|
|
73
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 4, y: 7 },
|
|
74
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 10, y: 7 },
|
|
75
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 16, y: 7 },
|
|
76
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 22, y: 7 },
|
|
77
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 0, y: 8 },
|
|
78
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 2, y: 8 },
|
|
79
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 7, y: 8 },
|
|
80
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 12, y: 8 },
|
|
81
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 14, y: 8 },
|
|
82
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 19, y: 8 },
|
|
83
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 24, y: 8 },
|
|
84
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 26, y: 8 },
|
|
85
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 3, y: 9 },
|
|
86
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 7, y: 9 },
|
|
87
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 11, y: 9 },
|
|
88
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 15, y: 9 },
|
|
89
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 19, y: 9 },
|
|
90
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 23, y: 9 },
|
|
91
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 0, y: 10 },
|
|
92
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 2, y: 10 },
|
|
93
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 7, y: 10 },
|
|
94
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 12, y: 10 },
|
|
95
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 14, y: 10 },
|
|
96
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 19, y: 10 },
|
|
97
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 24, y: 10 },
|
|
98
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 26, y: 10 },
|
|
99
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 4, y: 11 },
|
|
100
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 10, y: 11 },
|
|
101
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 16, y: 11 },
|
|
102
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 22, y: 11 },
|
|
103
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 3, y: 12 },
|
|
104
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 6, y: 12 },
|
|
105
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 8, y: 12 },
|
|
106
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 11, y: 12 },
|
|
107
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 15, y: 12 },
|
|
108
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 18, y: 12 },
|
|
109
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 20, y: 12 },
|
|
110
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 23, y: 12 },
|
|
111
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 1, y: 13 },
|
|
112
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 5, y: 13 },
|
|
113
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 9, y: 13 },
|
|
114
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 13, y: 13 },
|
|
115
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 17, y: 13 },
|
|
116
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 21, y: 13 },
|
|
117
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 25, y: 13 },
|
|
118
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 4, y: 14 },
|
|
119
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 6, y: 14 },
|
|
120
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 8, y: 14 },
|
|
121
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 10, y: 14 },
|
|
122
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 16, y: 14 },
|
|
123
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 18, y: 14 },
|
|
124
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 20, y: 14 },
|
|
125
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 22, y: 14 },
|
|
126
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 0, y: 15 },
|
|
127
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 1, y: 15 },
|
|
128
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 2, y: 15 },
|
|
129
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 7, y: 15 },
|
|
130
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 12, y: 15 },
|
|
131
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 13, y: 15 },
|
|
132
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 14, y: 15 },
|
|
133
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 19, y: 15 },
|
|
134
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 24, y: 15 },
|
|
135
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 25, y: 15 },
|
|
136
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 26, y: 15 },
|
|
137
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 4, y: 16 },
|
|
138
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 6, y: 16 },
|
|
139
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 8, y: 16 },
|
|
140
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 10, y: 16 },
|
|
141
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 16, y: 16 },
|
|
142
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 18, y: 16 },
|
|
143
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 20, y: 16 },
|
|
144
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 22, y: 16 },
|
|
145
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 1, y: 17 },
|
|
146
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 5, y: 17 },
|
|
147
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 9, y: 17 },
|
|
148
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 13, y: 17 },
|
|
149
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 17, y: 17 },
|
|
150
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 21, y: 17 },
|
|
151
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 25, y: 17 },
|
|
152
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 3, y: 18 },
|
|
153
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 6, y: 18 },
|
|
154
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 8, y: 18 },
|
|
155
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 11, y: 18 },
|
|
156
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 15, y: 18 },
|
|
157
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 18, y: 18 },
|
|
158
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 20, y: 18 },
|
|
159
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 23, y: 18 },
|
|
160
|
+
],
|
|
161
|
+
};
|
|
@@ -4,7 +4,7 @@ exports.scrabbleDuel = void 0;
|
|
|
4
4
|
const constants_1 = require("@scrabble-solver/constants");
|
|
5
5
|
const types_1 = require("@scrabble-solver/types");
|
|
6
6
|
exports.scrabbleDuel = {
|
|
7
|
-
|
|
7
|
+
bingo: { score: 50 },
|
|
8
8
|
blankScore: 0,
|
|
9
9
|
blanksCount: 2,
|
|
10
10
|
boardHeight: 11,
|
|
@@ -4,7 +4,7 @@ exports.superScrabble = void 0;
|
|
|
4
4
|
const constants_1 = require("@scrabble-solver/constants");
|
|
5
5
|
const types_1 = require("@scrabble-solver/types");
|
|
6
6
|
exports.superScrabble = {
|
|
7
|
-
|
|
7
|
+
bingo: { score: 50 },
|
|
8
8
|
blankScore: 0,
|
|
9
9
|
blanksCount: 4,
|
|
10
10
|
boardHeight: 21,
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Config } from '@scrabble-solver/types';
|
|
2
|
+
export declare const englishGbLetterLeague: Config;
|
|
3
|
+
export declare const englishGbLiteraki: Config;
|
|
2
4
|
export declare const englishGbScrabble: Config;
|
|
3
5
|
export declare const englishGbScrabbleDuel: Config;
|
|
4
6
|
export declare const englishGbSuperScrabble: Config;
|
|
5
|
-
export declare const
|
|
7
|
+
export declare const englishUsLetterLeague: Config;
|
|
8
|
+
export declare const englishUsLiteraki: Config;
|
|
6
9
|
export declare const englishUsScrabble: Config;
|
|
7
10
|
export declare const englishUsScrabbleDuel: Config;
|
|
8
11
|
export declare const englishUsSuperScrabble: Config;
|
|
9
|
-
export declare const englishUsLiteraki: Config;
|
|
@@ -1,9 +1,74 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* eslint-disable max-lines */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.englishUsSuperScrabble = exports.englishUsScrabbleDuel = exports.englishUsScrabble = exports.englishUsLiteraki = exports.englishUsLetterLeague = exports.englishGbSuperScrabble = exports.englishGbScrabbleDuel = exports.englishGbScrabble = exports.englishGbLiteraki = exports.englishGbLetterLeague = void 0;
|
|
5
5
|
const types_1 = require("@scrabble-solver/types");
|
|
6
6
|
const games_1 = require("../games");
|
|
7
|
+
exports.englishGbLetterLeague = new types_1.Config({
|
|
8
|
+
...games_1.letterLeague,
|
|
9
|
+
locale: types_1.Locale.EN_GB,
|
|
10
|
+
tiles: [
|
|
11
|
+
{ character: 'a', score: 1 },
|
|
12
|
+
{ character: 'b', score: 3 },
|
|
13
|
+
{ character: 'c', score: 3 },
|
|
14
|
+
{ character: 'd', score: 2 },
|
|
15
|
+
{ character: 'e', score: 1 },
|
|
16
|
+
{ character: 'f', score: 4 },
|
|
17
|
+
{ character: 'g', score: 2 },
|
|
18
|
+
{ character: 'h', score: 4 },
|
|
19
|
+
{ character: 'i', score: 1 },
|
|
20
|
+
{ character: 'j', score: 8 },
|
|
21
|
+
{ character: 'k', score: 5 },
|
|
22
|
+
{ character: 'l', score: 2 },
|
|
23
|
+
{ character: 'm', score: 3 },
|
|
24
|
+
{ character: 'n', score: 1 },
|
|
25
|
+
{ character: 'o', score: 1 },
|
|
26
|
+
{ character: 'p', score: 3 },
|
|
27
|
+
{ character: 'q', score: 10 },
|
|
28
|
+
{ character: 'r', score: 1 },
|
|
29
|
+
{ character: 's', score: 1 },
|
|
30
|
+
{ character: 't', score: 1 },
|
|
31
|
+
{ character: 'u', score: 1 },
|
|
32
|
+
{ character: 'v', score: 4 },
|
|
33
|
+
{ character: 'w', score: 4 },
|
|
34
|
+
{ character: 'x', score: 8 },
|
|
35
|
+
{ character: 'y', score: 4 },
|
|
36
|
+
{ character: 'z', score: 10 },
|
|
37
|
+
],
|
|
38
|
+
});
|
|
39
|
+
exports.englishGbLiteraki = new types_1.Config({
|
|
40
|
+
...games_1.literaki,
|
|
41
|
+
locale: types_1.Locale.EN_GB,
|
|
42
|
+
name: 'Literaxx',
|
|
43
|
+
tiles: [
|
|
44
|
+
{ character: 'a', count: 9, score: 1 },
|
|
45
|
+
{ character: 'b', count: 2, score: 3 },
|
|
46
|
+
{ character: 'c', count: 2, score: 3 },
|
|
47
|
+
{ character: 'd', count: 4, score: 2 },
|
|
48
|
+
{ character: 'e', count: 12, score: 1 },
|
|
49
|
+
{ character: 'f', count: 2, score: 4 },
|
|
50
|
+
{ character: 'g', count: 3, score: 2 },
|
|
51
|
+
{ character: 'h', count: 2, score: 4 },
|
|
52
|
+
{ character: 'i', count: 9, score: 1 },
|
|
53
|
+
{ character: 'j', count: 1, score: 8 },
|
|
54
|
+
{ character: 'k', count: 1, score: 5 },
|
|
55
|
+
{ character: 'l', count: 4, score: 1 },
|
|
56
|
+
{ character: 'm', count: 2, score: 3 },
|
|
57
|
+
{ character: 'n', count: 6, score: 1 },
|
|
58
|
+
{ character: 'o', count: 8, score: 1 },
|
|
59
|
+
{ character: 'p', count: 2, score: 3 },
|
|
60
|
+
{ character: 'q', count: 1, score: 10 },
|
|
61
|
+
{ character: 'r', count: 6, score: 1 },
|
|
62
|
+
{ character: 's', count: 4, score: 1 },
|
|
63
|
+
{ character: 't', count: 6, score: 1 },
|
|
64
|
+
{ character: 'u', count: 4, score: 1 },
|
|
65
|
+
{ character: 'v', count: 2, score: 4 },
|
|
66
|
+
{ character: 'w', count: 2, score: 4 },
|
|
67
|
+
{ character: 'x', count: 1, score: 8 },
|
|
68
|
+
{ character: 'y', count: 2, score: 4 },
|
|
69
|
+
{ character: 'z', count: 1, score: 10 },
|
|
70
|
+
],
|
|
71
|
+
});
|
|
7
72
|
exports.englishGbScrabble = new types_1.Config({
|
|
8
73
|
...games_1.scrabble,
|
|
9
74
|
locale: types_1.Locale.EN_GB,
|
|
@@ -100,9 +165,41 @@ exports.englishGbSuperScrabble = new types_1.Config({
|
|
|
100
165
|
{ character: 'z', count: 2, score: 10 },
|
|
101
166
|
],
|
|
102
167
|
});
|
|
103
|
-
exports.
|
|
168
|
+
exports.englishUsLetterLeague = new types_1.Config({
|
|
169
|
+
...games_1.letterLeague,
|
|
170
|
+
locale: types_1.Locale.EN_US,
|
|
171
|
+
tiles: [
|
|
172
|
+
{ character: 'a', score: 1 },
|
|
173
|
+
{ character: 'b', score: 3 },
|
|
174
|
+
{ character: 'c', score: 3 },
|
|
175
|
+
{ character: 'd', score: 2 },
|
|
176
|
+
{ character: 'e', score: 1 },
|
|
177
|
+
{ character: 'f', score: 4 },
|
|
178
|
+
{ character: 'g', score: 2 },
|
|
179
|
+
{ character: 'h', score: 4 },
|
|
180
|
+
{ character: 'i', score: 1 },
|
|
181
|
+
{ character: 'j', score: 8 },
|
|
182
|
+
{ character: 'k', score: 5 },
|
|
183
|
+
{ character: 'l', score: 2 },
|
|
184
|
+
{ character: 'm', score: 3 },
|
|
185
|
+
{ character: 'n', score: 1 },
|
|
186
|
+
{ character: 'o', score: 1 },
|
|
187
|
+
{ character: 'p', score: 3 },
|
|
188
|
+
{ character: 'q', score: 10 },
|
|
189
|
+
{ character: 'r', score: 1 },
|
|
190
|
+
{ character: 's', score: 1 },
|
|
191
|
+
{ character: 't', score: 1 },
|
|
192
|
+
{ character: 'u', score: 1 },
|
|
193
|
+
{ character: 'v', score: 4 },
|
|
194
|
+
{ character: 'w', score: 4 },
|
|
195
|
+
{ character: 'x', score: 8 },
|
|
196
|
+
{ character: 'y', score: 4 },
|
|
197
|
+
{ character: 'z', score: 10 },
|
|
198
|
+
],
|
|
199
|
+
});
|
|
200
|
+
exports.englishUsLiteraki = new types_1.Config({
|
|
104
201
|
...games_1.literaki,
|
|
105
|
-
locale: types_1.Locale.
|
|
202
|
+
locale: types_1.Locale.EN_US,
|
|
106
203
|
name: 'Literaxx',
|
|
107
204
|
tiles: [
|
|
108
205
|
{ character: 'a', count: 9, score: 1 },
|
|
@@ -229,36 +326,3 @@ exports.englishUsSuperScrabble = new types_1.Config({
|
|
|
229
326
|
{ character: 'z', count: 2, score: 10 },
|
|
230
327
|
],
|
|
231
328
|
});
|
|
232
|
-
exports.englishUsLiteraki = new types_1.Config({
|
|
233
|
-
...games_1.literaki,
|
|
234
|
-
locale: types_1.Locale.EN_US,
|
|
235
|
-
name: 'Literaxx',
|
|
236
|
-
tiles: [
|
|
237
|
-
{ character: 'a', count: 9, score: 1 },
|
|
238
|
-
{ character: 'b', count: 2, score: 3 },
|
|
239
|
-
{ character: 'c', count: 2, score: 3 },
|
|
240
|
-
{ character: 'd', count: 4, score: 2 },
|
|
241
|
-
{ character: 'e', count: 12, score: 1 },
|
|
242
|
-
{ character: 'f', count: 2, score: 4 },
|
|
243
|
-
{ character: 'g', count: 3, score: 2 },
|
|
244
|
-
{ character: 'h', count: 2, score: 4 },
|
|
245
|
-
{ character: 'i', count: 9, score: 1 },
|
|
246
|
-
{ character: 'j', count: 1, score: 8 },
|
|
247
|
-
{ character: 'k', count: 1, score: 5 },
|
|
248
|
-
{ character: 'l', count: 4, score: 1 },
|
|
249
|
-
{ character: 'm', count: 2, score: 3 },
|
|
250
|
-
{ character: 'n', count: 6, score: 1 },
|
|
251
|
-
{ character: 'o', count: 8, score: 1 },
|
|
252
|
-
{ character: 'p', count: 2, score: 3 },
|
|
253
|
-
{ character: 'q', count: 1, score: 10 },
|
|
254
|
-
{ character: 'r', count: 6, score: 1 },
|
|
255
|
-
{ character: 's', count: 4, score: 1 },
|
|
256
|
-
{ character: 't', count: 6, score: 1 },
|
|
257
|
-
{ character: 'u', count: 4, score: 1 },
|
|
258
|
-
{ character: 'v', count: 2, score: 4 },
|
|
259
|
-
{ character: 'w', count: 2, score: 4 },
|
|
260
|
-
{ character: 'x', count: 1, score: 8 },
|
|
261
|
-
{ character: 'y', count: 2, score: 4 },
|
|
262
|
-
{ character: 'z', count: 1, score: 10 },
|
|
263
|
-
],
|
|
264
|
-
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/configs",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.11",
|
|
4
4
|
"description": "Scrabble Solver 2 - Configs",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"clean": "rimraf build/"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@scrabble-solver/constants": "^2.15.
|
|
27
|
-
"@scrabble-solver/types": "^2.15.
|
|
26
|
+
"@scrabble-solver/constants": "^2.15.11",
|
|
27
|
+
"@scrabble-solver/types": "^2.15.11"
|
|
28
28
|
},
|
|
29
29
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
30
30
|
}
|