@scrabble-solver/configs 2.15.17 → 2.15.19
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/games/crossplay.d.ts +19 -0
- package/build/games/crossplay.js +73 -0
- package/build/games/index.d.ts +1 -0
- package/build/games/index.js +1 -0
- package/build/languages/english.d.ts +2 -0
- package/build/languages/english.js +65 -1
- package/package.json +4 -4
- package/src/games/crossplay.ts +87 -0
- package/src/games/index.ts +1 -0
- package/src/languages/english.ts +67 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Game } from '@scrabble-solver/types';
|
|
2
|
+
export declare const crossplay: {
|
|
3
|
+
bingo: {
|
|
4
|
+
score: 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,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.crossplay = void 0;
|
|
4
|
+
const constants_1 = require("@scrabble-solver/constants");
|
|
5
|
+
const types_1 = require("@scrabble-solver/types");
|
|
6
|
+
exports.crossplay = {
|
|
7
|
+
bingo: { score: 40 },
|
|
8
|
+
blankScore: 0,
|
|
9
|
+
blanksCount: 3,
|
|
10
|
+
boardHeight: 15,
|
|
11
|
+
boardWidth: 15,
|
|
12
|
+
game: types_1.Game.Crossplay,
|
|
13
|
+
name: 'Crossplay',
|
|
14
|
+
rackSize: 7,
|
|
15
|
+
bonuses: [
|
|
16
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 0, y: 0 },
|
|
17
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 14, y: 0 },
|
|
18
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 0, y: 14 },
|
|
19
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 14, y: 14 },
|
|
20
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 6, y: 1 },
|
|
21
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 8, y: 1 },
|
|
22
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 6, y: 13 },
|
|
23
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 8, y: 13 },
|
|
24
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 1, y: 6 },
|
|
25
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 13, y: 6 },
|
|
26
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 1, y: 8 },
|
|
27
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 13, y: 8 },
|
|
28
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 5, y: 4 },
|
|
29
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 9, y: 4 },
|
|
30
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 5, y: 10 },
|
|
31
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 9, y: 10 },
|
|
32
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 4, y: 5 },
|
|
33
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 10, y: 5 },
|
|
34
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 4, y: 9 },
|
|
35
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 10, y: 9 },
|
|
36
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 4, y: 2 },
|
|
37
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 10, y: 2 },
|
|
38
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 4, y: 12 },
|
|
39
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 10, y: 12 },
|
|
40
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 2, y: 4 },
|
|
41
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 12, y: 4 },
|
|
42
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 2, y: 10 },
|
|
43
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 12, y: 10 },
|
|
44
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 3, y: 3 },
|
|
45
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 11, y: 3 },
|
|
46
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 3, y: 11 },
|
|
47
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 11, y: 11 },
|
|
48
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 0, y: 7 },
|
|
49
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 14, y: 7 },
|
|
50
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 7, y: 0 },
|
|
51
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 7, y: 14 },
|
|
52
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 7, y: 5 },
|
|
53
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 7, y: 9 },
|
|
54
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 5, y: 7 },
|
|
55
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 9, y: 7 },
|
|
56
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 1, y: 1 },
|
|
57
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 13, y: 1 },
|
|
58
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 1, y: 13 },
|
|
59
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 13, y: 13 },
|
|
60
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 3, y: 7 },
|
|
61
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 11, y: 7 },
|
|
62
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 7, y: 3 },
|
|
63
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 7, y: 11 },
|
|
64
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 3, y: 0 },
|
|
65
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 11, y: 0 },
|
|
66
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 3, y: 14 },
|
|
67
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 11, y: 14 },
|
|
68
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 0, y: 3 },
|
|
69
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 14, y: 3 },
|
|
70
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 0, y: 11 },
|
|
71
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 14, y: 11 },
|
|
72
|
+
],
|
|
73
|
+
};
|
package/build/games/index.d.ts
CHANGED
package/build/games/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./crossplay"), exports);
|
|
17
18
|
__exportStar(require("./kelimelik"), exports);
|
|
18
19
|
__exportStar(require("./letterLeague"), exports);
|
|
19
20
|
__exportStar(require("./literaki"), exports);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Config } from '@scrabble-solver/types';
|
|
2
|
+
export declare const englishGbCrossplay: Config;
|
|
2
3
|
export declare const englishGbLetterLeague: Config;
|
|
3
4
|
export declare const englishGbLiteraki: Config;
|
|
4
5
|
export declare const englishGbScrabble: Config;
|
|
5
6
|
export declare const englishGbScrabbleDuel: Config;
|
|
6
7
|
export declare const englishGbSuperScrabble: Config;
|
|
8
|
+
export declare const englishUsCrossplay: Config;
|
|
7
9
|
export declare const englishUsLetterLeague: Config;
|
|
8
10
|
export declare const englishUsLiteraki: Config;
|
|
9
11
|
export declare const englishUsScrabble: Config;
|
|
@@ -1,9 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* eslint-disable max-lines */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.englishUsSuperScrabble = exports.englishUsScrabbleDuel = exports.englishUsScrabble = exports.englishUsLiteraki = exports.englishUsLetterLeague = exports.englishGbSuperScrabble = exports.englishGbScrabbleDuel = exports.englishGbScrabble = exports.englishGbLiteraki = exports.englishGbLetterLeague = void 0;
|
|
4
|
+
exports.englishUsSuperScrabble = exports.englishUsScrabbleDuel = exports.englishUsScrabble = exports.englishUsLiteraki = exports.englishUsLetterLeague = exports.englishUsCrossplay = exports.englishGbSuperScrabble = exports.englishGbScrabbleDuel = exports.englishGbScrabble = exports.englishGbLiteraki = exports.englishGbLetterLeague = exports.englishGbCrossplay = void 0;
|
|
5
5
|
const types_1 = require("@scrabble-solver/types");
|
|
6
6
|
const games_1 = require("../games");
|
|
7
|
+
exports.englishGbCrossplay = new types_1.Config({
|
|
8
|
+
...games_1.crossplay,
|
|
9
|
+
locale: types_1.Locale.EN_GB,
|
|
10
|
+
tiles: [
|
|
11
|
+
{ character: 'a', score: 1 },
|
|
12
|
+
{ character: 'b', score: 4 },
|
|
13
|
+
{ character: 'c', score: 3 },
|
|
14
|
+
{ character: 'd', score: 2 },
|
|
15
|
+
{ character: 'e', score: 1 },
|
|
16
|
+
{ character: 'f', score: 4 },
|
|
17
|
+
{ character: 'g', score: 4 },
|
|
18
|
+
{ character: 'h', score: 3 },
|
|
19
|
+
{ character: 'i', score: 1 },
|
|
20
|
+
{ character: 'j', score: 10 },
|
|
21
|
+
{ character: 'k', score: 6 },
|
|
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: 2 },
|
|
32
|
+
{ character: 'v', score: 6 },
|
|
33
|
+
{ character: 'w', score: 5 },
|
|
34
|
+
{ character: 'x', score: 8 },
|
|
35
|
+
{ character: 'y', score: 4 },
|
|
36
|
+
{ character: 'z', score: 10 },
|
|
37
|
+
],
|
|
38
|
+
});
|
|
7
39
|
exports.englishGbLetterLeague = new types_1.Config({
|
|
8
40
|
...games_1.letterLeague,
|
|
9
41
|
locale: types_1.Locale.EN_GB,
|
|
@@ -165,6 +197,38 @@ exports.englishGbSuperScrabble = new types_1.Config({
|
|
|
165
197
|
{ character: 'z', count: 2, score: 10 },
|
|
166
198
|
],
|
|
167
199
|
});
|
|
200
|
+
exports.englishUsCrossplay = new types_1.Config({
|
|
201
|
+
...games_1.crossplay,
|
|
202
|
+
locale: types_1.Locale.EN_US,
|
|
203
|
+
tiles: [
|
|
204
|
+
{ character: 'a', score: 1 },
|
|
205
|
+
{ character: 'b', score: 4 },
|
|
206
|
+
{ character: 'c', score: 3 },
|
|
207
|
+
{ character: 'd', score: 2 },
|
|
208
|
+
{ character: 'e', score: 1 },
|
|
209
|
+
{ character: 'f', score: 4 },
|
|
210
|
+
{ character: 'g', score: 4 },
|
|
211
|
+
{ character: 'h', score: 3 },
|
|
212
|
+
{ character: 'i', score: 1 },
|
|
213
|
+
{ character: 'j', score: 10 },
|
|
214
|
+
{ character: 'k', score: 6 },
|
|
215
|
+
{ character: 'l', score: 2 },
|
|
216
|
+
{ character: 'm', score: 3 },
|
|
217
|
+
{ character: 'n', score: 1 },
|
|
218
|
+
{ character: 'o', score: 1 },
|
|
219
|
+
{ character: 'p', score: 3 },
|
|
220
|
+
{ character: 'q', score: 10 },
|
|
221
|
+
{ character: 'r', score: 1 },
|
|
222
|
+
{ character: 's', score: 1 },
|
|
223
|
+
{ character: 't', score: 1 },
|
|
224
|
+
{ character: 'u', score: 2 },
|
|
225
|
+
{ character: 'v', score: 6 },
|
|
226
|
+
{ character: 'w', score: 5 },
|
|
227
|
+
{ character: 'x', score: 8 },
|
|
228
|
+
{ character: 'y', score: 4 },
|
|
229
|
+
{ character: 'z', score: 10 },
|
|
230
|
+
],
|
|
231
|
+
});
|
|
168
232
|
exports.englishUsLetterLeague = new types_1.Config({
|
|
169
233
|
...games_1.letterLeague,
|
|
170
234
|
locale: types_1.Locale.EN_US,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/configs",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.19",
|
|
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.19",
|
|
27
|
+
"@scrabble-solver/types": "^2.15.19"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "18958ba917535d53ffa0fc7e592a5c99e1309066"
|
|
30
30
|
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { BONUS_CHARACTER, BONUS_WORD } from '@scrabble-solver/constants';
|
|
2
|
+
import { Game } from '@scrabble-solver/types';
|
|
3
|
+
|
|
4
|
+
export const crossplay = {
|
|
5
|
+
bingo: { score: 40 },
|
|
6
|
+
blankScore: 0,
|
|
7
|
+
blanksCount: 3,
|
|
8
|
+
boardHeight: 15,
|
|
9
|
+
boardWidth: 15,
|
|
10
|
+
game: Game.Crossplay,
|
|
11
|
+
name: 'Crossplay',
|
|
12
|
+
rackSize: 7,
|
|
13
|
+
bonuses: [
|
|
14
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 0, y: 0 },
|
|
15
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 14, y: 0 },
|
|
16
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 0, y: 14 },
|
|
17
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 14, y: 14 },
|
|
18
|
+
|
|
19
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 6, y: 1 },
|
|
20
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 8, y: 1 },
|
|
21
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 6, y: 13 },
|
|
22
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 8, y: 13 },
|
|
23
|
+
|
|
24
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 1, y: 6 },
|
|
25
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 13, y: 6 },
|
|
26
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 1, y: 8 },
|
|
27
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 13, y: 8 },
|
|
28
|
+
|
|
29
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 5, y: 4 },
|
|
30
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 9, y: 4 },
|
|
31
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 5, y: 10 },
|
|
32
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 9, y: 10 },
|
|
33
|
+
|
|
34
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 4, y: 5 },
|
|
35
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 10, y: 5 },
|
|
36
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 4, y: 9 },
|
|
37
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 10, y: 9 },
|
|
38
|
+
|
|
39
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 4, y: 2 },
|
|
40
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 10, y: 2 },
|
|
41
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 4, y: 12 },
|
|
42
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 10, y: 12 },
|
|
43
|
+
|
|
44
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 2, y: 4 },
|
|
45
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 12, y: 4 },
|
|
46
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 2, y: 10 },
|
|
47
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 12, y: 10 },
|
|
48
|
+
|
|
49
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 3, y: 3 },
|
|
50
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 11, y: 3 },
|
|
51
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 3, y: 11 },
|
|
52
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 11, y: 11 },
|
|
53
|
+
|
|
54
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 0, y: 7 },
|
|
55
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 14, y: 7 },
|
|
56
|
+
|
|
57
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 7, y: 0 },
|
|
58
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 7, y: 14 },
|
|
59
|
+
|
|
60
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 7, y: 5 },
|
|
61
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 7, y: 9 },
|
|
62
|
+
|
|
63
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 5, y: 7 },
|
|
64
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 9, y: 7 },
|
|
65
|
+
|
|
66
|
+
{ multiplier: 2, type: BONUS_WORD, x: 1, y: 1 },
|
|
67
|
+
{ multiplier: 2, type: BONUS_WORD, x: 13, y: 1 },
|
|
68
|
+
{ multiplier: 2, type: BONUS_WORD, x: 1, y: 13 },
|
|
69
|
+
{ multiplier: 2, type: BONUS_WORD, x: 13, y: 13 },
|
|
70
|
+
|
|
71
|
+
{ multiplier: 2, type: BONUS_WORD, x: 3, y: 7 },
|
|
72
|
+
{ multiplier: 2, type: BONUS_WORD, x: 11, y: 7 },
|
|
73
|
+
|
|
74
|
+
{ multiplier: 2, type: BONUS_WORD, x: 7, y: 3 },
|
|
75
|
+
{ multiplier: 2, type: BONUS_WORD, x: 7, y: 11 },
|
|
76
|
+
|
|
77
|
+
{ multiplier: 3, type: BONUS_WORD, x: 3, y: 0 },
|
|
78
|
+
{ multiplier: 3, type: BONUS_WORD, x: 11, y: 0 },
|
|
79
|
+
{ multiplier: 3, type: BONUS_WORD, x: 3, y: 14 },
|
|
80
|
+
{ multiplier: 3, type: BONUS_WORD, x: 11, y: 14 },
|
|
81
|
+
|
|
82
|
+
{ multiplier: 3, type: BONUS_WORD, x: 0, y: 3 },
|
|
83
|
+
{ multiplier: 3, type: BONUS_WORD, x: 14, y: 3 },
|
|
84
|
+
{ multiplier: 3, type: BONUS_WORD, x: 0, y: 11 },
|
|
85
|
+
{ multiplier: 3, type: BONUS_WORD, x: 14, y: 11 },
|
|
86
|
+
],
|
|
87
|
+
};
|
package/src/games/index.ts
CHANGED
package/src/languages/english.ts
CHANGED
|
@@ -2,7 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
import { Config, Locale } from '@scrabble-solver/types';
|
|
4
4
|
|
|
5
|
-
import { letterLeague, literaki, scrabble, scrabbleDuel, superScrabble } from '../games';
|
|
5
|
+
import { crossplay, letterLeague, literaki, scrabble, scrabbleDuel, superScrabble } from '../games';
|
|
6
|
+
|
|
7
|
+
export const englishGbCrossplay = new Config({
|
|
8
|
+
...crossplay,
|
|
9
|
+
locale: Locale.EN_GB,
|
|
10
|
+
tiles: [
|
|
11
|
+
{ character: 'a', score: 1 },
|
|
12
|
+
{ character: 'b', score: 4 },
|
|
13
|
+
{ character: 'c', score: 3 },
|
|
14
|
+
{ character: 'd', score: 2 },
|
|
15
|
+
{ character: 'e', score: 1 },
|
|
16
|
+
{ character: 'f', score: 4 },
|
|
17
|
+
{ character: 'g', score: 4 },
|
|
18
|
+
{ character: 'h', score: 3 },
|
|
19
|
+
{ character: 'i', score: 1 },
|
|
20
|
+
{ character: 'j', score: 10 },
|
|
21
|
+
{ character: 'k', score: 6 },
|
|
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: 2 },
|
|
32
|
+
{ character: 'v', score: 6 },
|
|
33
|
+
{ character: 'w', score: 5 },
|
|
34
|
+
{ character: 'x', score: 8 },
|
|
35
|
+
{ character: 'y', score: 4 },
|
|
36
|
+
{ character: 'z', score: 10 },
|
|
37
|
+
],
|
|
38
|
+
});
|
|
6
39
|
|
|
7
40
|
export const englishGbLetterLeague = new Config({
|
|
8
41
|
...letterLeague,
|
|
@@ -170,6 +203,39 @@ export const englishGbSuperScrabble = new Config({
|
|
|
170
203
|
],
|
|
171
204
|
});
|
|
172
205
|
|
|
206
|
+
export const englishUsCrossplay = new Config({
|
|
207
|
+
...crossplay,
|
|
208
|
+
locale: Locale.EN_US,
|
|
209
|
+
tiles: [
|
|
210
|
+
{ character: 'a', score: 1 },
|
|
211
|
+
{ character: 'b', score: 4 },
|
|
212
|
+
{ character: 'c', score: 3 },
|
|
213
|
+
{ character: 'd', score: 2 },
|
|
214
|
+
{ character: 'e', score: 1 },
|
|
215
|
+
{ character: 'f', score: 4 },
|
|
216
|
+
{ character: 'g', score: 4 },
|
|
217
|
+
{ character: 'h', score: 3 },
|
|
218
|
+
{ character: 'i', score: 1 },
|
|
219
|
+
{ character: 'j', score: 10 },
|
|
220
|
+
{ character: 'k', score: 6 },
|
|
221
|
+
{ character: 'l', score: 2 },
|
|
222
|
+
{ character: 'm', score: 3 },
|
|
223
|
+
{ character: 'n', score: 1 },
|
|
224
|
+
{ character: 'o', score: 1 },
|
|
225
|
+
{ character: 'p', score: 3 },
|
|
226
|
+
{ character: 'q', score: 10 },
|
|
227
|
+
{ character: 'r', score: 1 },
|
|
228
|
+
{ character: 's', score: 1 },
|
|
229
|
+
{ character: 't', score: 1 },
|
|
230
|
+
{ character: 'u', score: 2 },
|
|
231
|
+
{ character: 'v', score: 6 },
|
|
232
|
+
{ character: 'w', score: 5 },
|
|
233
|
+
{ character: 'x', score: 8 },
|
|
234
|
+
{ character: 'y', score: 4 },
|
|
235
|
+
{ character: 'z', score: 10 },
|
|
236
|
+
],
|
|
237
|
+
});
|
|
238
|
+
|
|
173
239
|
export const englishUsLetterLeague = new Config({
|
|
174
240
|
...letterLeague,
|
|
175
241
|
locale: Locale.EN_US,
|