@scrabble-solver/configs 2.12.2 → 2.12.4
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/index.d.ts +3 -0
- package/build/games/index.js +12 -0
- package/build/games/literaki.d.ts +25 -0
- package/build/games/literaki.js +110 -0
- package/build/games/scrabble.d.ts +18 -0
- package/build/games/scrabble.js +78 -0
- package/build/games/superScrabble.d.ts +18 -0
- package/build/games/superScrabble.js +141 -0
- package/build/getConfig.d.ts +2 -6
- package/build/getConfig.js +29 -10
- package/build/hasConfig.d.ts +3 -0
- package/build/hasConfig.js +31 -0
- package/build/index.d.ts +7 -4
- package/build/index.js +32 -9
- package/build/locales/deDe.d.ts +3 -0
- package/build/locales/deDe.js +42 -0
- package/build/locales/enGb.d.ts +3 -0
- package/build/locales/enGb.js +104 -0
- package/build/locales/enUs.d.ts +3 -0
- package/build/locales/enUs.js +104 -0
- package/build/locales/esEs.d.ts +3 -0
- package/build/locales/esEs.js +41 -0
- package/build/locales/faIr.d.ts +3 -0
- package/build/locales/faIr.js +45 -0
- package/build/locales/frFr.d.ts +3 -0
- package/build/locales/frFr.js +39 -0
- package/build/locales/index.d.ts +7 -0
- package/build/locales/index.js +20 -0
- package/build/locales/plPl.d.ts +3 -0
- package/build/locales/plPl.js +83 -0
- package/package.json +4 -4
- package/src/games/index.ts +3 -0
- package/src/games/literaki.ts +110 -0
- package/src/games/scrabble.ts +78 -0
- package/src/games/superScrabble.ts +141 -0
- package/src/getConfig.ts +8 -15
- package/src/hasConfig.ts +10 -0
- package/src/index.ts +7 -4
- package/src/locales/deDe.ts +43 -0
- package/src/locales/enGb.ts +105 -0
- package/src/locales/enUs.ts +105 -0
- package/src/locales/esEs.ts +42 -0
- package/src/locales/faIr.ts +46 -0
- package/src/locales/frFr.ts +40 -0
- package/src/locales/index.ts +7 -0
- package/src/locales/plPl.ts +84 -0
- package/build/getLocaleConfig.d.ts +0 -3
- package/build/getLocaleConfig.js +0 -10
- package/build/isConfigId.d.ts +0 -2
- package/build/isConfigId.js +0 -12
- package/build/literaki/bonuses.d.ts +0 -14
- package/build/literaki/bonuses.js +0 -99
- package/build/literaki/index.d.ts +0 -1
- package/build/literaki/index.js +0 -8
- package/build/literaki/literaki.d.ts +0 -13
- package/build/literaki/literaki.js +0 -31
- package/build/literaki/tiles/index.d.ts +0 -6
- package/build/literaki/tiles/index.js +0 -18
- package/build/literaki/tiles/tilesDe.d.ts +0 -6
- package/build/literaki/tiles/tilesDe.js +0 -34
- package/build/literaki/tiles/tilesEn.d.ts +0 -6
- package/build/literaki/tiles/tilesEn.js +0 -31
- package/build/literaki/tiles/tilesEs.d.ts +0 -6
- package/build/literaki/tiles/tilesEs.js +0 -33
- package/build/literaki/tiles/tilesFa.d.ts +0 -6
- package/build/literaki/tiles/tilesFa.js +0 -37
- package/build/literaki/tiles/tilesFr.d.ts +0 -6
- package/build/literaki/tiles/tilesFr.js +0 -31
- package/build/literaki/tiles/tilesPl.d.ts +0 -6
- package/build/literaki/tiles/tilesPl.js +0 -37
- package/build/scrabble/bonuses.d.ts +0 -7
- package/build/scrabble/bonuses.js +0 -67
- package/build/scrabble/index.d.ts +0 -1
- package/build/scrabble/index.js +0 -8
- package/build/scrabble/scrabble.d.ts +0 -13
- package/build/scrabble/scrabble.js +0 -31
- package/build/scrabble/tiles/index.d.ts +0 -6
- package/build/scrabble/tiles/index.js +0 -18
- package/build/scrabble/tiles/tilesDe.d.ts +0 -6
- package/build/scrabble/tiles/tilesDe.js +0 -34
- package/build/scrabble/tiles/tilesEn.d.ts +0 -6
- package/build/scrabble/tiles/tilesEn.js +0 -31
- package/build/scrabble/tiles/tilesEs.d.ts +0 -6
- package/build/scrabble/tiles/tilesEs.js +0 -33
- package/build/scrabble/tiles/tilesFa.d.ts +0 -6
- package/build/scrabble/tiles/tilesFa.js +0 -37
- package/build/scrabble/tiles/tilesFr.d.ts +0 -6
- package/build/scrabble/tiles/tilesFr.js +0 -31
- package/build/scrabble/tiles/tilesPl.d.ts +0 -6
- package/build/scrabble/tiles/tilesPl.js +0 -37
- package/src/getLocaleConfig.ts +0 -9
- package/src/isConfigId.ts +0 -10
- package/src/literaki/bonuses.ts +0 -99
- package/src/literaki/index.ts +0 -1
- package/src/literaki/literaki.ts +0 -30
- package/src/literaki/tiles/index.ts +0 -6
- package/src/literaki/tiles/tilesDe.ts +0 -33
- package/src/literaki/tiles/tilesEn.ts +0 -30
- package/src/literaki/tiles/tilesEs.ts +0 -32
- package/src/literaki/tiles/tilesFa.ts +0 -36
- package/src/literaki/tiles/tilesFr.ts +0 -30
- package/src/literaki/tiles/tilesPl.ts +0 -36
- package/src/scrabble/bonuses.ts +0 -67
- package/src/scrabble/index.ts +0 -1
- package/src/scrabble/scrabble.ts +0 -30
- package/src/scrabble/tiles/index.ts +0 -6
- package/src/scrabble/tiles/tilesDe.ts +0 -33
- package/src/scrabble/tiles/tilesEn.ts +0 -30
- package/src/scrabble/tiles/tilesEs.ts +0 -32
- package/src/scrabble/tiles/tilesFa.ts +0 -36
- package/src/scrabble/tiles/tilesFr.ts +0 -30
- package/src/scrabble/tiles/tilesPl.ts +0 -36
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const tilesEs = [
|
|
2
|
-
{ character: 'a', count: 12, score: 1 },
|
|
3
|
-
{ character: 'b', count: 2, score: 3 },
|
|
4
|
-
{ character: 'c', count: 4, score: 3 },
|
|
5
|
-
{ character: 'ch', count: 1, score: 5 },
|
|
6
|
-
{ character: 'd', count: 5, score: 2 },
|
|
7
|
-
{ character: 'e', count: 12, score: 1 },
|
|
8
|
-
{ character: 'f', count: 1, score: 4 },
|
|
9
|
-
{ character: 'g', count: 2, score: 2 },
|
|
10
|
-
{ character: 'h', count: 2, score: 4 },
|
|
11
|
-
{ character: 'i', count: 6, score: 1 },
|
|
12
|
-
{ character: 'j', count: 1, score: 8 },
|
|
13
|
-
{ character: 'll', count: 1, score: 8 },
|
|
14
|
-
{ character: 'l', count: 4, score: 1 },
|
|
15
|
-
{ character: 'm', count: 2, score: 3 },
|
|
16
|
-
{ character: 'n', count: 5, score: 1 },
|
|
17
|
-
{ character: 'ñ', count: 1, score: 8 },
|
|
18
|
-
{ character: 'o', count: 9, score: 1 },
|
|
19
|
-
{ character: 'p', count: 2, score: 3 },
|
|
20
|
-
{ character: 'q', count: 1, score: 5 },
|
|
21
|
-
{ character: 'r', count: 5, score: 1 },
|
|
22
|
-
{ character: 'rr', count: 1, score: 8 },
|
|
23
|
-
{ character: 's', count: 6, score: 1 },
|
|
24
|
-
{ character: 't', count: 4, score: 1 },
|
|
25
|
-
{ character: 'u', count: 5, score: 1 },
|
|
26
|
-
{ character: 'v', count: 1, score: 4 },
|
|
27
|
-
{ character: 'x', count: 1, score: 8 },
|
|
28
|
-
{ character: 'y', count: 1, score: 4 },
|
|
29
|
-
{ character: 'z', count: 1, score: 10 },
|
|
30
|
-
];
|
|
31
|
-
|
|
32
|
-
export default tilesEs;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const tilesFa = [
|
|
2
|
-
{ character: 'ا', count: 12, score: 1 },
|
|
3
|
-
{ character: 'ب', count: 4, score: 1 },
|
|
4
|
-
{ character: 'پ', count: 1, score: 6 },
|
|
5
|
-
{ character: 'ت', count: 4, score: 1 },
|
|
6
|
-
{ character: 'ث', count: 1, score: 10 },
|
|
7
|
-
{ character: 'ج', count: 2, score: 5 },
|
|
8
|
-
{ character: 'چ', count: 1, score: 6 },
|
|
9
|
-
{ character: 'ح', count: 1, score: 6 },
|
|
10
|
-
{ character: 'خ', count: 2, score: 5 },
|
|
11
|
-
{ character: 'د', count: 6, score: 1 },
|
|
12
|
-
{ character: 'ذ', count: 1, score: 10 },
|
|
13
|
-
{ character: 'ر', count: 7, score: 1 },
|
|
14
|
-
{ character: 'ز', count: 3, score: 4 },
|
|
15
|
-
{ character: 'ژ', count: 1, score: 10 },
|
|
16
|
-
{ character: 'س', count: 3, score: 2 },
|
|
17
|
-
{ character: 'ش', count: 3, score: 3 },
|
|
18
|
-
{ character: 'ص', count: 1, score: 6 },
|
|
19
|
-
{ character: 'ض', count: 1, score: 8 },
|
|
20
|
-
{ character: 'ط', count: 1, score: 8 },
|
|
21
|
-
{ character: 'ظ', count: 1, score: 10 },
|
|
22
|
-
{ character: 'ع', count: 2, score: 5 },
|
|
23
|
-
{ character: 'غ', count: 1, score: 8 },
|
|
24
|
-
{ character: 'ف', count: 2, score: 4 },
|
|
25
|
-
{ character: 'ق', count: 2, score: 5 },
|
|
26
|
-
{ character: 'ک', count: 3, score: 3 },
|
|
27
|
-
{ character: 'گ', count: 2, score: 4 },
|
|
28
|
-
{ character: 'ل', count: 3, score: 2 },
|
|
29
|
-
{ character: 'م', count: 5, score: 1 },
|
|
30
|
-
{ character: 'ن', count: 6, score: 1 },
|
|
31
|
-
{ character: 'و', count: 5, score: 1 },
|
|
32
|
-
{ character: 'ه', count: 5, score: 1 },
|
|
33
|
-
{ character: 'ی', count: 8, score: 1 },
|
|
34
|
-
];
|
|
35
|
-
|
|
36
|
-
export default tilesFa;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const tilesFr = [
|
|
2
|
-
{ character: 'a', count: 9, score: 1 },
|
|
3
|
-
{ character: 'b', count: 2, score: 3 },
|
|
4
|
-
{ character: 'c', count: 2, score: 3 },
|
|
5
|
-
{ character: 'd', count: 3, score: 2 },
|
|
6
|
-
{ character: 'e', count: 15, score: 1 },
|
|
7
|
-
{ character: 'f', count: 2, score: 1 },
|
|
8
|
-
{ character: 'g', count: 2, score: 2 },
|
|
9
|
-
{ character: 'h', count: 2, score: 4 },
|
|
10
|
-
{ character: 'i', count: 8, score: 1 },
|
|
11
|
-
{ character: 'j', count: 1, score: 8 },
|
|
12
|
-
{ character: 'k', count: 1, score: 10 },
|
|
13
|
-
{ character: 'l', count: 5, score: 1 },
|
|
14
|
-
{ character: 'm', count: 3, score: 2 },
|
|
15
|
-
{ character: 'n', count: 6, score: 1 },
|
|
16
|
-
{ character: 'o', count: 6, score: 1 },
|
|
17
|
-
{ character: 'p', count: 2, score: 3 },
|
|
18
|
-
{ character: 'q', count: 1, score: 8 },
|
|
19
|
-
{ character: 'r', count: 6, score: 1 },
|
|
20
|
-
{ character: 's', count: 6, score: 1 },
|
|
21
|
-
{ character: 't', count: 6, score: 1 },
|
|
22
|
-
{ character: 'u', count: 6, score: 1 },
|
|
23
|
-
{ character: 'v', count: 2, score: 4 },
|
|
24
|
-
{ character: 'w', count: 1, score: 10 },
|
|
25
|
-
{ character: 'x', count: 1, score: 10 },
|
|
26
|
-
{ character: 'y', count: 1, score: 10 },
|
|
27
|
-
{ character: 'z', count: 1, score: 10 },
|
|
28
|
-
];
|
|
29
|
-
|
|
30
|
-
export default tilesFr;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const tilesPl = [
|
|
2
|
-
{ character: 'a', count: 9, score: 1 },
|
|
3
|
-
{ character: 'ą', count: 1, score: 5 },
|
|
4
|
-
{ character: 'b', count: 2, score: 3 },
|
|
5
|
-
{ character: 'c', count: 3, score: 2 },
|
|
6
|
-
{ character: 'ć', count: 1, score: 5 },
|
|
7
|
-
{ character: 'd', count: 3, score: 2 },
|
|
8
|
-
{ character: 'e', count: 7, score: 1 },
|
|
9
|
-
{ character: 'ę', count: 1, score: 5 },
|
|
10
|
-
{ character: 'f', count: 1, score: 5 },
|
|
11
|
-
{ character: 'g', count: 2, score: 3 },
|
|
12
|
-
{ character: 'h', count: 2, score: 3 },
|
|
13
|
-
{ character: 'i', count: 8, score: 1 },
|
|
14
|
-
{ character: 'j', count: 2, score: 3 },
|
|
15
|
-
{ character: 'k', count: 3, score: 2 },
|
|
16
|
-
{ character: 'l', count: 3, score: 2 },
|
|
17
|
-
{ character: 'ł', count: 2, score: 3 },
|
|
18
|
-
{ character: 'm', count: 3, score: 2 },
|
|
19
|
-
{ character: 'n', count: 5, score: 1 },
|
|
20
|
-
{ character: 'ń', count: 1, score: 5 },
|
|
21
|
-
{ character: 'o', count: 6, score: 1 },
|
|
22
|
-
{ character: 'ó', count: 1, score: 5 },
|
|
23
|
-
{ character: 'p', count: 3, score: 2 },
|
|
24
|
-
{ character: 'r', count: 4, score: 1 },
|
|
25
|
-
{ character: 's', count: 4, score: 1 },
|
|
26
|
-
{ character: 'ś', count: 1, score: 5 },
|
|
27
|
-
{ character: 't', count: 3, score: 2 },
|
|
28
|
-
{ character: 'u', count: 2, score: 3 },
|
|
29
|
-
{ character: 'w', count: 4, score: 1 },
|
|
30
|
-
{ character: 'y', count: 4, score: 2 },
|
|
31
|
-
{ character: 'z', count: 5, score: 1 },
|
|
32
|
-
{ character: 'ź', count: 1, score: 5 },
|
|
33
|
-
{ character: 'ż', count: 1, score: 5 },
|
|
34
|
-
];
|
|
35
|
-
|
|
36
|
-
export default tilesPl;
|
package/src/scrabble/bonuses.ts
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { BONUS_CHARACTER, BONUS_WORD } from '@scrabble-solver/constants';
|
|
2
|
-
|
|
3
|
-
const bonuses = [
|
|
4
|
-
{ multiplier: 3, type: BONUS_WORD, x: 0, y: 0 },
|
|
5
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 3, y: 0 },
|
|
6
|
-
{ multiplier: 3, type: BONUS_WORD, x: 7, y: 0 },
|
|
7
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 11, y: 0 },
|
|
8
|
-
{ multiplier: 3, type: BONUS_WORD, x: 14, y: 0 },
|
|
9
|
-
{ multiplier: 2, type: BONUS_WORD, x: 1, y: 1 },
|
|
10
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 5, y: 1 },
|
|
11
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 9, y: 1 },
|
|
12
|
-
{ multiplier: 2, type: BONUS_WORD, x: 13, y: 1 },
|
|
13
|
-
{ multiplier: 2, type: BONUS_WORD, x: 2, y: 2 },
|
|
14
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 6, y: 2 },
|
|
15
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 8, y: 2 },
|
|
16
|
-
{ multiplier: 2, type: BONUS_WORD, x: 12, y: 2 },
|
|
17
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 0, y: 3 },
|
|
18
|
-
{ multiplier: 2, type: BONUS_WORD, x: 3, y: 3 },
|
|
19
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 7, y: 3 },
|
|
20
|
-
{ multiplier: 2, type: BONUS_WORD, x: 11, y: 3 },
|
|
21
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 14, y: 3 },
|
|
22
|
-
{ multiplier: 2, type: BONUS_WORD, x: 4, y: 4 },
|
|
23
|
-
{ multiplier: 2, type: BONUS_WORD, x: 10, y: 4 },
|
|
24
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 1, y: 5 },
|
|
25
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 5, y: 5 },
|
|
26
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 9, y: 5 },
|
|
27
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 13, y: 5 },
|
|
28
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 2, y: 6 },
|
|
29
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 6, y: 6 },
|
|
30
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 8, y: 6 },
|
|
31
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 12, y: 6 },
|
|
32
|
-
{ multiplier: 3, type: BONUS_WORD, x: 0, y: 7 },
|
|
33
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 3, y: 7 },
|
|
34
|
-
{ multiplier: 2, type: BONUS_WORD, x: 7, y: 7 },
|
|
35
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 11, y: 7 },
|
|
36
|
-
{ multiplier: 3, type: BONUS_WORD, x: 14, y: 7 },
|
|
37
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 2, y: 8 },
|
|
38
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 6, y: 8 },
|
|
39
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 8, y: 8 },
|
|
40
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 12, y: 8 },
|
|
41
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 1, y: 9 },
|
|
42
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 5, y: 9 },
|
|
43
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 9, y: 9 },
|
|
44
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 13, y: 9 },
|
|
45
|
-
{ multiplier: 2, type: BONUS_WORD, x: 4, y: 10 },
|
|
46
|
-
{ multiplier: 2, type: BONUS_WORD, x: 10, y: 10 },
|
|
47
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 0, y: 11 },
|
|
48
|
-
{ multiplier: 2, type: BONUS_WORD, x: 3, y: 11 },
|
|
49
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 7, y: 11 },
|
|
50
|
-
{ multiplier: 2, type: BONUS_WORD, x: 11, y: 11 },
|
|
51
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 14, y: 11 },
|
|
52
|
-
{ multiplier: 2, type: BONUS_WORD, x: 2, y: 12 },
|
|
53
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 6, y: 12 },
|
|
54
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 8, y: 12 },
|
|
55
|
-
{ multiplier: 2, type: BONUS_WORD, x: 12, y: 12 },
|
|
56
|
-
{ multiplier: 2, type: BONUS_WORD, x: 1, y: 13 },
|
|
57
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 5, y: 13 },
|
|
58
|
-
{ multiplier: 3, type: BONUS_CHARACTER, x: 9, y: 13 },
|
|
59
|
-
{ multiplier: 2, type: BONUS_WORD, x: 13, y: 13 },
|
|
60
|
-
{ multiplier: 3, type: BONUS_WORD, x: 0, y: 14 },
|
|
61
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 3, y: 14 },
|
|
62
|
-
{ multiplier: 3, type: BONUS_WORD, x: 7, y: 14 },
|
|
63
|
-
{ multiplier: 2, type: BONUS_CHARACTER, x: 11, y: 14 },
|
|
64
|
-
{ multiplier: 3, type: BONUS_WORD, x: 14, y: 14 },
|
|
65
|
-
];
|
|
66
|
-
|
|
67
|
-
export default bonuses;
|
package/src/scrabble/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './scrabble';
|
package/src/scrabble/scrabble.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Config, Locale } from '@scrabble-solver/types';
|
|
2
|
-
|
|
3
|
-
import bonuses from './bonuses';
|
|
4
|
-
import { tilesDe, tilesEn, tilesEs, tilesFa, tilesFr, tilesPl } from './tiles';
|
|
5
|
-
|
|
6
|
-
const base = {
|
|
7
|
-
allTilesBonusScore: 50,
|
|
8
|
-
blankScore: 0,
|
|
9
|
-
blanksCount: 2,
|
|
10
|
-
boardHeight: 15,
|
|
11
|
-
boardWidth: 15,
|
|
12
|
-
bonuses,
|
|
13
|
-
id: 'scrabble',
|
|
14
|
-
maximumCharactersCount: 7,
|
|
15
|
-
name: 'Scrabble',
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
const scrabble = {
|
|
19
|
-
id: base.id,
|
|
20
|
-
name: base.name,
|
|
21
|
-
[Locale.EN_GB]: Config.fromJson({ ...base, locale: Locale.EN_GB, tiles: tilesEn }),
|
|
22
|
-
[Locale.DE_DE]: Config.fromJson({ ...base, locale: Locale.DE_DE, tiles: tilesDe }),
|
|
23
|
-
[Locale.EN_US]: Config.fromJson({ ...base, locale: Locale.EN_US, tiles: tilesEn }),
|
|
24
|
-
[Locale.ES_ES]: Config.fromJson({ ...base, locale: Locale.ES_ES, tiles: tilesEs }),
|
|
25
|
-
[Locale.FA_IR]: Config.fromJson({ ...base, locale: Locale.FA_IR, tiles: tilesFa }),
|
|
26
|
-
[Locale.FR_FR]: Config.fromJson({ ...base, locale: Locale.FR_FR, tiles: tilesFr }),
|
|
27
|
-
[Locale.PL_PL]: Config.fromJson({ ...base, locale: Locale.PL_PL, tiles: tilesPl }),
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export default scrabble;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as tilesEn } from './tilesEn';
|
|
2
|
-
export { default as tilesEs } from './tilesEs';
|
|
3
|
-
export { default as tilesFa } from './tilesFa';
|
|
4
|
-
export { default as tilesFr } from './tilesFr';
|
|
5
|
-
export { default as tilesPl } from './tilesPl';
|
|
6
|
-
export { default as tilesDe } from './tilesDe';
|
|
@@ -1,33 +0,0 @@
|
|
|
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;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const tilesEn = [
|
|
2
|
-
{ character: 'a', count: 9, score: 1 },
|
|
3
|
-
{ character: 'b', count: 2, score: 3 },
|
|
4
|
-
{ character: 'c', count: 2, score: 3 },
|
|
5
|
-
{ character: 'd', count: 4, score: 2 },
|
|
6
|
-
{ character: 'e', count: 12, score: 1 },
|
|
7
|
-
{ character: 'f', count: 2, score: 4 },
|
|
8
|
-
{ character: 'g', count: 3, score: 2 },
|
|
9
|
-
{ character: 'h', count: 2, score: 4 },
|
|
10
|
-
{ character: 'i', count: 9, score: 1 },
|
|
11
|
-
{ character: 'j', count: 1, score: 8 },
|
|
12
|
-
{ character: 'k', count: 1, score: 5 },
|
|
13
|
-
{ character: 'l', count: 4, score: 1 },
|
|
14
|
-
{ character: 'm', count: 2, score: 3 },
|
|
15
|
-
{ character: 'n', count: 6, score: 1 },
|
|
16
|
-
{ character: 'o', count: 8, score: 1 },
|
|
17
|
-
{ character: 'p', count: 2, score: 3 },
|
|
18
|
-
{ character: 'q', count: 1, score: 10 },
|
|
19
|
-
{ character: 'r', count: 6, score: 1 },
|
|
20
|
-
{ character: 's', count: 4, score: 1 },
|
|
21
|
-
{ character: 't', count: 6, score: 1 },
|
|
22
|
-
{ character: 'u', count: 4, score: 1 },
|
|
23
|
-
{ character: 'v', count: 2, score: 4 },
|
|
24
|
-
{ character: 'w', count: 2, score: 4 },
|
|
25
|
-
{ character: 'x', count: 1, score: 8 },
|
|
26
|
-
{ character: 'y', count: 2, score: 4 },
|
|
27
|
-
{ character: 'z', count: 1, score: 10 },
|
|
28
|
-
];
|
|
29
|
-
|
|
30
|
-
export default tilesEn;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
const tilesEs = [
|
|
2
|
-
{ character: 'a', count: 12, score: 1 },
|
|
3
|
-
{ character: 'b', count: 2, score: 3 },
|
|
4
|
-
{ character: 'c', count: 4, score: 3 },
|
|
5
|
-
{ character: 'ch', count: 1, score: 5 },
|
|
6
|
-
{ character: 'd', count: 5, score: 2 },
|
|
7
|
-
{ character: 'e', count: 12, score: 1 },
|
|
8
|
-
{ character: 'f', count: 1, score: 4 },
|
|
9
|
-
{ character: 'g', count: 2, score: 2 },
|
|
10
|
-
{ character: 'h', count: 2, score: 4 },
|
|
11
|
-
{ character: 'i', count: 6, score: 1 },
|
|
12
|
-
{ character: 'j', count: 1, score: 8 },
|
|
13
|
-
{ character: 'll', count: 1, score: 8 },
|
|
14
|
-
{ character: 'l', count: 4, score: 1 },
|
|
15
|
-
{ character: 'm', count: 2, score: 3 },
|
|
16
|
-
{ character: 'n', count: 5, score: 1 },
|
|
17
|
-
{ character: 'ñ', count: 1, score: 8 },
|
|
18
|
-
{ character: 'o', count: 9, score: 1 },
|
|
19
|
-
{ character: 'p', count: 2, score: 3 },
|
|
20
|
-
{ character: 'q', count: 1, score: 5 },
|
|
21
|
-
{ character: 'r', count: 5, score: 1 },
|
|
22
|
-
{ character: 'rr', count: 1, score: 8 },
|
|
23
|
-
{ character: 's', count: 6, score: 1 },
|
|
24
|
-
{ character: 't', count: 4, score: 1 },
|
|
25
|
-
{ character: 'u', count: 5, score: 1 },
|
|
26
|
-
{ character: 'v', count: 1, score: 4 },
|
|
27
|
-
{ character: 'x', count: 1, score: 8 },
|
|
28
|
-
{ character: 'y', count: 1, score: 4 },
|
|
29
|
-
{ character: 'z', count: 1, score: 10 },
|
|
30
|
-
];
|
|
31
|
-
|
|
32
|
-
export default tilesEs;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const tilesFa = [
|
|
2
|
-
{ character: 'ا', count: 12, score: 1 },
|
|
3
|
-
{ character: 'ب', count: 4, score: 1 },
|
|
4
|
-
{ character: 'پ', count: 1, score: 6 },
|
|
5
|
-
{ character: 'ت', count: 4, score: 1 },
|
|
6
|
-
{ character: 'ث', count: 1, score: 10 },
|
|
7
|
-
{ character: 'ج', count: 2, score: 5 },
|
|
8
|
-
{ character: 'چ', count: 1, score: 6 },
|
|
9
|
-
{ character: 'ح', count: 1, score: 6 },
|
|
10
|
-
{ character: 'خ', count: 2, score: 5 },
|
|
11
|
-
{ character: 'د', count: 6, score: 1 },
|
|
12
|
-
{ character: 'ذ', count: 1, score: 10 },
|
|
13
|
-
{ character: 'ر', count: 7, score: 1 },
|
|
14
|
-
{ character: 'ز', count: 3, score: 4 },
|
|
15
|
-
{ character: 'ژ', count: 1, score: 10 },
|
|
16
|
-
{ character: 'س', count: 3, score: 2 },
|
|
17
|
-
{ character: 'ش', count: 3, score: 3 },
|
|
18
|
-
{ character: 'ص', count: 1, score: 6 },
|
|
19
|
-
{ character: 'ض', count: 1, score: 8 },
|
|
20
|
-
{ character: 'ط', count: 1, score: 8 },
|
|
21
|
-
{ character: 'ظ', count: 1, score: 10 },
|
|
22
|
-
{ character: 'ع', count: 2, score: 5 },
|
|
23
|
-
{ character: 'غ', count: 1, score: 8 },
|
|
24
|
-
{ character: 'ف', count: 2, score: 4 },
|
|
25
|
-
{ character: 'ق', count: 2, score: 5 },
|
|
26
|
-
{ character: 'ک', count: 3, score: 3 },
|
|
27
|
-
{ character: 'گ', count: 2, score: 4 },
|
|
28
|
-
{ character: 'ل', count: 3, score: 2 },
|
|
29
|
-
{ character: 'م', count: 5, score: 1 },
|
|
30
|
-
{ character: 'ن', count: 6, score: 1 },
|
|
31
|
-
{ character: 'و', count: 5, score: 1 },
|
|
32
|
-
{ character: 'ه', count: 5, score: 1 },
|
|
33
|
-
{ character: 'ی', count: 8, score: 1 },
|
|
34
|
-
];
|
|
35
|
-
|
|
36
|
-
export default tilesFa;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const tilesFr = [
|
|
2
|
-
{ character: 'a', count: 9, score: 1 },
|
|
3
|
-
{ character: 'b', count: 2, score: 3 },
|
|
4
|
-
{ character: 'c', count: 2, score: 3 },
|
|
5
|
-
{ character: 'd', count: 3, score: 2 },
|
|
6
|
-
{ character: 'e', count: 15, score: 1 },
|
|
7
|
-
{ character: 'f', count: 2, score: 4 },
|
|
8
|
-
{ character: 'g', count: 2, score: 2 },
|
|
9
|
-
{ character: 'h', count: 2, score: 4 },
|
|
10
|
-
{ character: 'i', count: 8, score: 1 },
|
|
11
|
-
{ character: 'j', count: 1, score: 8 },
|
|
12
|
-
{ character: 'k', count: 1, score: 10 },
|
|
13
|
-
{ character: 'l', count: 5, score: 1 },
|
|
14
|
-
{ character: 'm', count: 3, score: 2 },
|
|
15
|
-
{ character: 'n', count: 6, score: 1 },
|
|
16
|
-
{ character: 'o', count: 6, score: 1 },
|
|
17
|
-
{ character: 'p', count: 2, score: 3 },
|
|
18
|
-
{ character: 'q', count: 1, score: 8 },
|
|
19
|
-
{ character: 'r', count: 6, score: 1 },
|
|
20
|
-
{ character: 's', count: 6, score: 1 },
|
|
21
|
-
{ character: 't', count: 6, score: 1 },
|
|
22
|
-
{ character: 'u', count: 6, score: 1 },
|
|
23
|
-
{ character: 'v', count: 2, score: 4 },
|
|
24
|
-
{ character: 'w', count: 1, score: 10 },
|
|
25
|
-
{ character: 'x', count: 1, score: 10 },
|
|
26
|
-
{ character: 'y', count: 1, score: 10 },
|
|
27
|
-
{ character: 'z', count: 1, score: 10 },
|
|
28
|
-
];
|
|
29
|
-
|
|
30
|
-
export default tilesFr;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const tilesPl = [
|
|
2
|
-
{ character: 'a', count: 9, score: 1 },
|
|
3
|
-
{ character: 'ą', count: 1, score: 5 },
|
|
4
|
-
{ character: 'b', count: 2, score: 3 },
|
|
5
|
-
{ character: 'c', count: 3, score: 2 },
|
|
6
|
-
{ character: 'ć', count: 1, score: 6 },
|
|
7
|
-
{ character: 'd', count: 3, score: 2 },
|
|
8
|
-
{ character: 'e', count: 7, score: 1 },
|
|
9
|
-
{ character: 'ę', count: 1, score: 5 },
|
|
10
|
-
{ character: 'f', count: 1, score: 5 },
|
|
11
|
-
{ character: 'g', count: 2, score: 3 },
|
|
12
|
-
{ character: 'h', count: 2, score: 3 },
|
|
13
|
-
{ character: 'i', count: 8, score: 1 },
|
|
14
|
-
{ character: 'j', count: 2, score: 3 },
|
|
15
|
-
{ character: 'k', count: 3, score: 2 },
|
|
16
|
-
{ character: 'l', count: 3, score: 2 },
|
|
17
|
-
{ character: 'ł', count: 2, score: 3 },
|
|
18
|
-
{ character: 'm', count: 3, score: 2 },
|
|
19
|
-
{ character: 'n', count: 5, score: 1 },
|
|
20
|
-
{ character: 'ń', count: 1, score: 7 },
|
|
21
|
-
{ character: 'o', count: 6, score: 1 },
|
|
22
|
-
{ character: 'ó', count: 1, score: 5 },
|
|
23
|
-
{ character: 'p', count: 3, score: 2 },
|
|
24
|
-
{ character: 'r', count: 4, score: 1 },
|
|
25
|
-
{ character: 's', count: 4, score: 1 },
|
|
26
|
-
{ character: 'ś', count: 1, score: 5 },
|
|
27
|
-
{ character: 't', count: 3, score: 2 },
|
|
28
|
-
{ character: 'u', count: 2, score: 3 },
|
|
29
|
-
{ character: 'w', count: 4, score: 1 },
|
|
30
|
-
{ character: 'y', count: 4, score: 2 },
|
|
31
|
-
{ character: 'z', count: 5, score: 1 },
|
|
32
|
-
{ character: 'ź', count: 1, score: 9 },
|
|
33
|
-
{ character: 'ż', count: 1, score: 5 },
|
|
34
|
-
];
|
|
35
|
-
|
|
36
|
-
export default tilesPl;
|