scrabble-solver 2.14.0 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nx/cache/nx_files.nxt +0 -0
- package/.nx/workspace-data/file-map.json +440 -408
- package/.nx/workspace-data/lockfile.hash +1 -1
- package/README.md +12 -10
- package/lerna.json +1 -1
- package/package.json +12 -3
- package/packages/configs/build/games/index.d.ts +4 -3
- package/packages/configs/build/games/index.js +17 -9
- package/packages/configs/build/games/kelimelik.d.ts +16 -0
- package/packages/configs/build/games/kelimelik.js +64 -0
- package/packages/configs/build/games/literaki.d.ts +1 -2
- package/packages/configs/build/games/literaki.js +2 -2
- package/packages/configs/build/games/scrabble.d.ts +1 -2
- package/packages/configs/build/games/scrabble.js +2 -2
- package/packages/configs/build/games/superScrabble.d.ts +1 -2
- package/packages/configs/build/games/superScrabble.js +2 -2
- package/packages/configs/build/languages/index.d.ts +1 -0
- package/packages/configs/build/languages/index.js +1 -0
- package/packages/configs/build/languages/turkish.d.ts +3 -0
- package/packages/configs/build/languages/turkish.js +75 -0
- package/packages/configs/package.json +3 -3
- package/packages/configs/src/games/index.ts +4 -3
- package/packages/configs/src/games/kelimelik.ts +62 -0
- package/packages/configs/src/games/literaki.ts +1 -3
- package/packages/configs/src/games/scrabble.ts +1 -3
- package/packages/configs/src/games/superScrabble.ts +1 -3
- package/packages/configs/src/languages/index.ts +1 -0
- package/packages/configs/src/languages/turkish.ts +75 -0
- package/packages/constants/build/index.js +2 -2
- package/packages/constants/package.json +1 -1
- package/packages/constants/src/index.ts +2 -2
- package/packages/dictionaries/package-lock.json +2 -2
- package/packages/dictionaries/package.json +4 -4
- package/packages/logger/package-lock.json +2 -2
- package/packages/logger/package.json +1 -1
- package/packages/scrabble-solver/.next/BUILD_ID +1 -1
- package/packages/scrabble-solver/.next/build-manifest.json +5 -5
- package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
- package/packages/scrabble-solver/.next/cache/eslint/.cache_8dgz12 +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/prerender-manifest.js +1 -1
- package/packages/scrabble-solver/.next/prerender-manifest.json +1 -1
- package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/chunks/807.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/911.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/977.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 +2 -2
- 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/{TxfjxrH5h31sPQxPhrJzG → C0yfLTukP3L3iDqdXbbBv}/_buildManifest.js +1 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-e73bbdbc75537614.js +17 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/{index-86d9ad372c48c8b7.js → index-4143525ec0fa83bb.js} +1 -1
- package/packages/scrabble-solver/.next/static/css/{14625ff7b4d265d0.css → ac3349339fcf58f2.css} +1 -1
- package/packages/scrabble-solver/.next/trace +45 -45
- package/packages/scrabble-solver/package-lock.json +2 -2
- package/packages/scrabble-solver/package.json +8 -8
- 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/Board.tsx +3 -3
- package/packages/scrabble-solver/src/components/Radio/Radio.module.scss +3 -2
- package/packages/scrabble-solver/src/i18n/constants.ts +12 -1
- package/packages/scrabble-solver/src/i18n/i18n.ts +2 -0
- package/packages/scrabble-solver/src/i18n/languages/turkish.json +78 -0
- package/packages/scrabble-solver/src/icons/FlagTr.svg +4 -0
- package/packages/scrabble-solver/src/icons/index.ts +1 -0
- package/packages/scrabble-solver/src/pages/_app.tsx +11 -2
- package/packages/solver/package-lock.json +2 -2
- package/packages/solver/package.json +5 -5
- package/packages/types/build/Game.d.ts +1 -0
- package/packages/types/build/Game.js +1 -0
- package/packages/types/build/Locale.d.ts +2 -1
- package/packages/types/build/Locale.js +1 -0
- package/packages/types/package.json +2 -2
- package/packages/types/src/Game.ts +1 -0
- package/packages/types/src/Locale.ts +1 -0
- package/packages/word-definitions/build/crawl.js +1 -0
- package/packages/word-definitions/build/index.d.ts +1 -1
- package/packages/word-definitions/build/index.js +1 -3
- package/packages/word-definitions/build/languages/index.d.ts +1 -0
- package/packages/word-definitions/build/languages/index.js +2 -1
- package/packages/word-definitions/build/languages/turkish.d.ts +3 -0
- package/packages/word-definitions/build/languages/turkish.js +31 -0
- package/packages/word-definitions/build/lib/index.d.ts +3 -3
- package/packages/word-definitions/build/lib/index.js +17 -7
- package/packages/word-definitions/build/parse.js +1 -0
- package/packages/word-definitions/package-lock.json +2 -2
- package/packages/word-definitions/package.json +2 -2
- package/packages/word-definitions/src/__tests__/expected/tr-TR.lojik.json +4 -0
- package/packages/word-definitions/src/__tests__/input/tr-TR.lojik.html +1 -0
- package/packages/word-definitions/src/crawl.ts +2 -1
- package/packages/word-definitions/src/index.ts +1 -2
- package/packages/word-definitions/src/languages/index.ts +1 -0
- package/packages/word-definitions/src/languages/turkish.ts +32 -0
- package/packages/word-definitions/src/lib/index.ts +3 -3
- package/packages/word-definitions/src/parse.test.ts +1 -0
- package/packages/word-definitions/src/parse.ts +2 -1
- package/packages/word-lists/build/getWordList.js +1 -0
- package/packages/word-lists/build/languages/index.d.ts +1 -0
- package/packages/word-lists/build/languages/index.js +2 -1
- package/packages/word-lists/build/languages/turkish.d.ts +1 -0
- package/packages/word-lists/build/languages/turkish.js +10 -0
- package/packages/word-lists/package-lock.json +2 -2
- package/packages/word-lists/package.json +2 -2
- package/packages/word-lists/src/getWordList.ts +2 -1
- package/packages/word-lists/src/languages/index.ts +1 -0
- package/packages/word-lists/src/languages/turkish.ts +9 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-2912876c7b6e698e.js +0 -17
- /package/packages/scrabble-solver/.next/static/{TxfjxrH5h31sPQxPhrJzG → C0yfLTukP3L3iDqdXbbBv}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2729177625168397799
|
package/README.md
CHANGED
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
<img height="32" src="https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1f5-1f1f1.svg" alt="Flag of Poland" title="Polish" />
|
|
31
31
|
<img height="32" src="https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1f7-1f1f4.svg" alt="Flag of Romania" title="Romanian" />
|
|
32
32
|
<img height="32" src="https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1ea-1f1f8.svg" alt="Flag of Spain" title="Spanish" />
|
|
33
|
+
<img height="32" src="https://raw.githubusercontent.com/twitter/twemoji/master/assets/svg/1f1f9-1f1f7.svg" alt="Flag of Turkey" title="Turkish" />
|
|
33
34
|
</p>
|
|
34
35
|
|
|
35
36
|
<p>
|
|
@@ -67,16 +68,17 @@
|
|
|
67
68
|
|
|
68
69
|
## Dictionaries
|
|
69
70
|
|
|
70
|
-
| Language | Word list | Word definitions
|
|
71
|
-
|
|
72
|
-
| 🇬🇧 English | [💾](https://www.wordgamedictionary.com/sowpods/download/sowpods.txt) [SOWPODS](https://en.wikipedia.org/wiki/Collins_Scrabble_Words) | [Merriam-Webster](https://www.merriam-webster.com/)
|
|
73
|
-
| 🇺🇸 English | [💾](https://www.wordgamedictionary.com/twl06/download/twl06.txt) [TWL06](https://en.wikipedia.org/wiki/NASPA_Word_List) | [Merriam-Webster](https://www.merriam-webster.com/)
|
|
74
|
-
| 🇫🇷 French | [💾](https://raw.githubusercontent.com/Thecoolsim/French-Scrabble-ODS8/main/French%20ODS%20dictionary.txt) [ODS8](https://github.com/Thecoolsim/French-Scrabble-ODS8) | [CNRTL](https://www.cnrtl.fr/)
|
|
75
|
-
| 🇩🇪 German | [💾](https://raw.githubusercontent.com/hippler/german-wordlist/master/words.txt) [hippler/german-wordlist](https://github.com/hippler/german-wordlist) | [DWDS](https://www.dwds.de)
|
|
76
|
-
| 🇮🇷 Persian | [💾](https://raw.githubusercontent.com/MansourM/persian-to-persian-dictionary/main/moein/words.txt) [MansourM/persian-to-persian-dictionary](https://github.com/MansourM/persian-to-persian-dictionary) | [واژه یاب](https://vajehyab.com)
|
|
77
|
-
| 🇵🇱 Polish | [💾](https://sjp.pl/slownik/growy/) [SJP.PL](https://sjp.pl/slownik/dp.phtml) | [SJP.PL](https://sjp.pl)
|
|
78
|
-
| 🇷🇴 Romanian | [💾](https://dexonline.ro/static/download/scrabble/loc-flexiuni-5.0.zip) [LOC 5](https://dexonline.ro/scrabble) | [dexonline](https://dexonline.ro/)
|
|
79
|
-
| 🇪🇸 Spanish | [💾](https://github.com/kamilmielnik/scrabble-dictionaries/blob/master/spanish/file-2017.txt) [FILE 2017](https://www.facebook.com/Escrablistica) | [Diccionarios.com](https://www.diccionarios.com/)
|
|
71
|
+
| Language | Word list | Word definitions | [Highest-scoring word](https://codesandbox.io/s/highest-scoring-words-in-scrabble-vbj1ns?file=/src/index.js) |
|
|
72
|
+
|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
|
|
73
|
+
| 🇬🇧 English | [💾](https://www.wordgamedictionary.com/sowpods/download/sowpods.txt) [SOWPODS](https://en.wikipedia.org/wiki/Collins_Scrabble_Words) | [Merriam-Webster](https://www.merriam-webster.com/) | oxyphenbutazone (1458) |
|
|
74
|
+
| 🇺🇸 English | [💾](https://www.wordgamedictionary.com/twl06/download/twl06.txt) [TWL06](https://en.wikipedia.org/wiki/NASPA_Word_List) | [Merriam-Webster](https://www.merriam-webster.com/) | oxyphenbutazone (1458) |
|
|
75
|
+
| 🇫🇷 French | [💾](https://raw.githubusercontent.com/Thecoolsim/French-Scrabble-ODS8/main/French%20ODS%20dictionary.txt) [ODS8](https://github.com/Thecoolsim/French-Scrabble-ODS8) | [CNRTL](https://www.cnrtl.fr/) | schizothymiques (1566) |
|
|
76
|
+
| 🇩🇪 German | [💾](https://raw.githubusercontent.com/hippler/german-wordlist/master/words.txt) [hippler/german-wordlist](https://github.com/hippler/german-wordlist) | [DWDS](https://www.dwds.de) | polytoxikomanem (1512) |
|
|
77
|
+
| 🇮🇷 Persian | [💾](https://raw.githubusercontent.com/MansourM/persian-to-persian-dictionary/main/moein/words.txt) [MansourM/persian-to-persian-dictionary](https://github.com/MansourM/persian-to-persian-dictionary) | [واژه یاب](https://vajehyab.com) | (756) اگزیستانسیالیست |
|
|
78
|
+
| 🇵🇱 Polish | [💾](https://sjp.pl/slownik/growy/) [SJP.PL](https://sjp.pl/slownik/dp.phtml) | [SJP.PL](https://sjp.pl) | współposiądźmyż (1512) |
|
|
79
|
+
| 🇷🇴 Romanian | [💾](https://dexonline.ro/static/download/scrabble/loc-flexiuni-5.0.zip) [LOC 5](https://dexonline.ro/scrabble) | [dexonline](https://dexonline.ro/) | luxemburghezele (1944) |
|
|
80
|
+
| 🇪🇸 Spanish | [💾](https://github.com/kamilmielnik/scrabble-dictionaries/blob/master/spanish/file-2017.txt) [FILE 2017](https://www.facebook.com/Escrablistica) | [Diccionarios.com](https://www.diccionarios.com/) | flexibilizabais (1323) |
|
|
81
|
+
| 🇹🇷 Turkish | [💾](https://github.com/kamilmielnik/scrabble-dictionaries/blob/master/turkish/turkish.txt) Turkish | [Türk Dil Kurumu Sözlükleri](https://sozluk.gov.tr/) | |
|
|
80
82
|
|
|
81
83
|
## Run
|
|
82
84
|
|
package/lerna.json
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scrabble-solver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"description": "Scrabble Solver 2 - Free, open-source, cross-platform, and multi-language analysis tool for Scrabble, Super Scrabble & Literaki. Quickly find top scoring words using given board & tiles.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Scrabble",
|
|
7
7
|
"Super Scrabble",
|
|
8
|
+
"Kelimelik",
|
|
8
9
|
"Literaki",
|
|
9
10
|
"Solver",
|
|
10
11
|
"Finder",
|
|
@@ -12,11 +13,19 @@
|
|
|
12
13
|
"Word",
|
|
13
14
|
"English",
|
|
14
15
|
"Français",
|
|
16
|
+
"French",
|
|
15
17
|
"Deutsch",
|
|
18
|
+
"German",
|
|
16
19
|
"Polski",
|
|
17
|
-
"
|
|
20
|
+
"Polish",
|
|
21
|
+
"فارسی",
|
|
18
22
|
"Farsi",
|
|
23
|
+
"Español",
|
|
24
|
+
"Spanish",
|
|
19
25
|
"Română",
|
|
26
|
+
"Romanian",
|
|
27
|
+
"Türkçe",
|
|
28
|
+
"Turkish",
|
|
20
29
|
"SOWPODS",
|
|
21
30
|
"TWL06",
|
|
22
31
|
"SJP",
|
|
@@ -84,7 +93,7 @@
|
|
|
84
93
|
"packages/scrabble-solver"
|
|
85
94
|
],
|
|
86
95
|
"dependencies": {
|
|
87
|
-
"@scrabble-solver/scrabble-solver": "^2.
|
|
96
|
+
"@scrabble-solver/scrabble-solver": "^2.15.0",
|
|
88
97
|
"concurrently": "^8.2.2",
|
|
89
98
|
"open-cli": "^8.0.0"
|
|
90
99
|
},
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './kelimelik';
|
|
2
|
+
export * from './literaki';
|
|
3
|
+
export * from './scrabble';
|
|
4
|
+
export * from './superScrabble';
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
4
15
|
};
|
|
5
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Object.defineProperty(exports, "scrabble", { enumerable: true, get: function () { return __importDefault(scrabble_1).default; } });
|
|
11
|
-
var superScrabble_1 = require("./superScrabble");
|
|
12
|
-
Object.defineProperty(exports, "superScrabble", { enumerable: true, get: function () { return __importDefault(superScrabble_1).default; } });
|
|
17
|
+
__exportStar(require("./kelimelik"), exports);
|
|
18
|
+
__exportStar(require("./literaki"), exports);
|
|
19
|
+
__exportStar(require("./scrabble"), exports);
|
|
20
|
+
__exportStar(require("./superScrabble"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Game } from '@scrabble-solver/types';
|
|
2
|
+
export declare const kelimelik: {
|
|
3
|
+
bingoScore: number;
|
|
4
|
+
blankScore: number;
|
|
5
|
+
blanksCount: number;
|
|
6
|
+
boardSize: number;
|
|
7
|
+
game: Game;
|
|
8
|
+
name: string;
|
|
9
|
+
rackSize: number;
|
|
10
|
+
bonuses: {
|
|
11
|
+
multiplier: number;
|
|
12
|
+
type: string;
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.kelimelik = void 0;
|
|
4
|
+
const constants_1 = require("@scrabble-solver/constants");
|
|
5
|
+
const types_1 = require("@scrabble-solver/types");
|
|
6
|
+
exports.kelimelik = {
|
|
7
|
+
bingoScore: 30,
|
|
8
|
+
blankScore: 0,
|
|
9
|
+
blanksCount: 2,
|
|
10
|
+
boardSize: 15,
|
|
11
|
+
game: types_1.Game.Kelimelik,
|
|
12
|
+
name: 'Kelimelik',
|
|
13
|
+
rackSize: 7,
|
|
14
|
+
bonuses: [
|
|
15
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 2, y: 0 },
|
|
16
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 5, y: 0 },
|
|
17
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 9, y: 0 },
|
|
18
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 12, y: 0 },
|
|
19
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 1, y: 1 },
|
|
20
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 6, y: 1 },
|
|
21
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 8, y: 1 },
|
|
22
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 13, y: 1 },
|
|
23
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 0, y: 2 },
|
|
24
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 7, y: 2 },
|
|
25
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 14, y: 2 },
|
|
26
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 3, y: 3 },
|
|
27
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 11, y: 3 },
|
|
28
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 4, y: 4 },
|
|
29
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 10, y: 4 },
|
|
30
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 0, y: 5 },
|
|
31
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 5, y: 5 },
|
|
32
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 9, y: 5 },
|
|
33
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 14, y: 5 },
|
|
34
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 1, y: 6 },
|
|
35
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 6, y: 6 },
|
|
36
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 8, y: 6 },
|
|
37
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 13, y: 6 },
|
|
38
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 2, y: 7 },
|
|
39
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 12, y: 7 },
|
|
40
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 1, y: 8 },
|
|
41
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 6, y: 8 },
|
|
42
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 8, y: 8 },
|
|
43
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 13, y: 8 },
|
|
44
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 0, y: 9 },
|
|
45
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 5, y: 9 },
|
|
46
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 9, y: 9 },
|
|
47
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 14, y: 9 },
|
|
48
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 4, y: 10 },
|
|
49
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 10, y: 10 },
|
|
50
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 3, y: 11 },
|
|
51
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 11, y: 11 },
|
|
52
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 0, y: 12 },
|
|
53
|
+
{ multiplier: 2, type: constants_1.BONUS_WORD, x: 7, y: 12 },
|
|
54
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 14, y: 12 },
|
|
55
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 1, y: 13 },
|
|
56
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 6, y: 13 },
|
|
57
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 8, y: 13 },
|
|
58
|
+
{ multiplier: 3, type: constants_1.BONUS_CHARACTER, x: 13, y: 13 },
|
|
59
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 2, y: 14 },
|
|
60
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 5, y: 14 },
|
|
61
|
+
{ multiplier: 2, type: constants_1.BONUS_CHARACTER, x: 9, y: 14 },
|
|
62
|
+
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 12, y: 14 },
|
|
63
|
+
],
|
|
64
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Game } from '@scrabble-solver/types';
|
|
2
|
-
declare const literaki: {
|
|
2
|
+
export declare const literaki: {
|
|
3
3
|
bingoScore: number;
|
|
4
4
|
blankScore: number;
|
|
5
5
|
blanksCount: number;
|
|
@@ -21,4 +21,3 @@ declare const literaki: {
|
|
|
21
21
|
score?: undefined;
|
|
22
22
|
})[];
|
|
23
23
|
};
|
|
24
|
-
export default literaki;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.literaki = void 0;
|
|
3
4
|
const constants_1 = require("@scrabble-solver/constants");
|
|
4
5
|
const types_1 = require("@scrabble-solver/types");
|
|
5
|
-
|
|
6
|
+
exports.literaki = {
|
|
6
7
|
bingoScore: 50,
|
|
7
8
|
blankScore: 0,
|
|
8
9
|
blanksCount: 2,
|
|
@@ -106,4 +107,3 @@ const literaki = {
|
|
|
106
107
|
{ multiplier: 3, score: 5, type: constants_1.BONUS_CHARACTER, x: 14, y: 14 },
|
|
107
108
|
],
|
|
108
109
|
};
|
|
109
|
-
exports.default = literaki;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Game } from '@scrabble-solver/types';
|
|
2
|
-
declare const scrabble: {
|
|
2
|
+
export declare const scrabble: {
|
|
3
3
|
bingoScore: number;
|
|
4
4
|
blankScore: number;
|
|
5
5
|
blanksCount: number;
|
|
@@ -14,4 +14,3 @@ declare const scrabble: {
|
|
|
14
14
|
y: number;
|
|
15
15
|
}[];
|
|
16
16
|
};
|
|
17
|
-
export default scrabble;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.scrabble = void 0;
|
|
3
4
|
const constants_1 = require("@scrabble-solver/constants");
|
|
4
5
|
const types_1 = require("@scrabble-solver/types");
|
|
5
|
-
|
|
6
|
+
exports.scrabble = {
|
|
6
7
|
bingoScore: 50,
|
|
7
8
|
blankScore: 0,
|
|
8
9
|
blanksCount: 2,
|
|
@@ -74,4 +75,3 @@ const scrabble = {
|
|
|
74
75
|
{ multiplier: 3, type: constants_1.BONUS_WORD, x: 14, y: 14 },
|
|
75
76
|
],
|
|
76
77
|
};
|
|
77
|
-
exports.default = scrabble;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Game } from '@scrabble-solver/types';
|
|
2
|
-
declare const superScrabble: {
|
|
2
|
+
export declare const superScrabble: {
|
|
3
3
|
bingoScore: number;
|
|
4
4
|
blankScore: number;
|
|
5
5
|
blanksCount: number;
|
|
@@ -14,4 +14,3 @@ declare const superScrabble: {
|
|
|
14
14
|
y: number;
|
|
15
15
|
}[];
|
|
16
16
|
};
|
|
17
|
-
export default superScrabble;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.superScrabble = void 0;
|
|
3
4
|
const constants_1 = require("@scrabble-solver/constants");
|
|
4
5
|
const types_1 = require("@scrabble-solver/types");
|
|
5
|
-
|
|
6
|
+
exports.superScrabble = {
|
|
6
7
|
bingoScore: 50,
|
|
7
8
|
blankScore: 0,
|
|
8
9
|
blanksCount: 4,
|
|
@@ -137,4 +138,3 @@ const superScrabble = {
|
|
|
137
138
|
{ multiplier: 4, type: constants_1.BONUS_WORD, x: 20, y: 20 },
|
|
138
139
|
],
|
|
139
140
|
};
|
|
140
|
-
exports.default = superScrabble;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.turkishScrabble = exports.turkishKelimelik = void 0;
|
|
4
|
+
const types_1 = require("@scrabble-solver/types");
|
|
5
|
+
const games_1 = require("../games");
|
|
6
|
+
exports.turkishKelimelik = new types_1.Config({
|
|
7
|
+
...games_1.kelimelik,
|
|
8
|
+
locale: types_1.Locale.TR_TR,
|
|
9
|
+
tiles: [
|
|
10
|
+
{ character: 'a', count: 12, score: 1 },
|
|
11
|
+
{ character: 'b', count: 2, score: 3 },
|
|
12
|
+
{ character: 'c', count: 2, score: 4 },
|
|
13
|
+
{ character: 'ç', count: 2, score: 4 },
|
|
14
|
+
{ character: 'd', count: 2, score: 3 },
|
|
15
|
+
{ character: 'e', count: 8, score: 1 },
|
|
16
|
+
{ character: 'f', count: 1, score: 7 },
|
|
17
|
+
{ character: 'g', count: 1, score: 5 },
|
|
18
|
+
{ character: 'ğ', count: 1, score: 8 },
|
|
19
|
+
{ character: 'h', count: 1, score: 5 },
|
|
20
|
+
{ character: 'ı', count: 4, score: 2 },
|
|
21
|
+
{ character: 'i', count: 7, score: 1 },
|
|
22
|
+
{ character: 'j', count: 1, score: 10 },
|
|
23
|
+
{ character: 'k', count: 7, score: 1 },
|
|
24
|
+
{ character: 'l', count: 7, score: 1 },
|
|
25
|
+
{ character: 'm', count: 4, score: 2 },
|
|
26
|
+
{ character: 'n', count: 5, score: 1 },
|
|
27
|
+
{ character: 'o', count: 3, score: 2 },
|
|
28
|
+
{ character: 'ö', count: 1, score: 7 },
|
|
29
|
+
{ character: 'p', count: 1, score: 5 },
|
|
30
|
+
{ character: 'r', count: 6, score: 1 },
|
|
31
|
+
{ character: 's', count: 3, score: 2 },
|
|
32
|
+
{ character: 'ş', count: 2, score: 4 },
|
|
33
|
+
{ character: 't', count: 5, score: 1 },
|
|
34
|
+
{ character: 'u', count: 3, score: 2 },
|
|
35
|
+
{ character: 'ü', count: 2, score: 3 },
|
|
36
|
+
{ character: 'v', count: 1, score: 7 },
|
|
37
|
+
{ character: 'y', count: 2, score: 3 },
|
|
38
|
+
{ character: 'z', count: 2, score: 4 },
|
|
39
|
+
],
|
|
40
|
+
});
|
|
41
|
+
exports.turkishScrabble = new types_1.Config({
|
|
42
|
+
...games_1.scrabble,
|
|
43
|
+
locale: types_1.Locale.TR_TR,
|
|
44
|
+
tiles: [
|
|
45
|
+
{ character: 'a', count: 12, score: 1 },
|
|
46
|
+
{ character: 'b', count: 2, score: 3 },
|
|
47
|
+
{ character: 'c', count: 2, score: 4 },
|
|
48
|
+
{ character: 'ç', count: 2, score: 4 },
|
|
49
|
+
{ character: 'd', count: 2, score: 3 },
|
|
50
|
+
{ character: 'e', count: 8, score: 1 },
|
|
51
|
+
{ character: 'f', count: 1, score: 7 },
|
|
52
|
+
{ character: 'g', count: 1, score: 5 },
|
|
53
|
+
{ character: 'ğ', count: 1, score: 8 },
|
|
54
|
+
{ character: 'h', count: 1, score: 5 },
|
|
55
|
+
{ character: 'ı', count: 4, score: 2 },
|
|
56
|
+
{ character: 'i', count: 7, score: 1 },
|
|
57
|
+
{ character: 'j', count: 1, score: 10 },
|
|
58
|
+
{ character: 'k', count: 7, score: 1 },
|
|
59
|
+
{ character: 'l', count: 7, score: 1 },
|
|
60
|
+
{ character: 'm', count: 4, score: 2 },
|
|
61
|
+
{ character: 'n', count: 5, score: 1 },
|
|
62
|
+
{ character: 'o', count: 3, score: 2 },
|
|
63
|
+
{ character: 'ö', count: 1, score: 7 },
|
|
64
|
+
{ character: 'p', count: 1, score: 5 },
|
|
65
|
+
{ character: 'r', count: 6, score: 1 },
|
|
66
|
+
{ character: 's', count: 3, score: 2 },
|
|
67
|
+
{ character: 'ş', count: 2, score: 4 },
|
|
68
|
+
{ character: 't', count: 5, score: 1 },
|
|
69
|
+
{ character: 'u', count: 3, score: 2 },
|
|
70
|
+
{ character: 'ü', count: 2, score: 3 },
|
|
71
|
+
{ character: 'v', count: 1, score: 7 },
|
|
72
|
+
{ character: 'y', count: 2, score: 3 },
|
|
73
|
+
{ character: 'z', count: 2, score: 4 },
|
|
74
|
+
],
|
|
75
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/configs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
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.
|
|
27
|
-
"@scrabble-solver/types": "^2.
|
|
26
|
+
"@scrabble-solver/constants": "^2.15.0",
|
|
27
|
+
"@scrabble-solver/types": "^2.15.0"
|
|
28
28
|
},
|
|
29
29
|
"gitHead": "1e2d1ad49a288d4a44196d8e3336740da132c637"
|
|
30
30
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export * from './kelimelik';
|
|
2
|
+
export * from './literaki';
|
|
3
|
+
export * from './scrabble';
|
|
4
|
+
export * from './superScrabble';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { BONUS_CHARACTER, BONUS_WORD } from '@scrabble-solver/constants';
|
|
2
|
+
import { Game } from '@scrabble-solver/types';
|
|
3
|
+
|
|
4
|
+
export const kelimelik = {
|
|
5
|
+
bingoScore: 30,
|
|
6
|
+
blankScore: 0,
|
|
7
|
+
blanksCount: 2,
|
|
8
|
+
boardSize: 15,
|
|
9
|
+
game: Game.Kelimelik,
|
|
10
|
+
name: 'Kelimelik',
|
|
11
|
+
rackSize: 7,
|
|
12
|
+
bonuses: [
|
|
13
|
+
{ multiplier: 3, type: BONUS_WORD, x: 2, y: 0 },
|
|
14
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 5, y: 0 },
|
|
15
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 9, y: 0 },
|
|
16
|
+
{ multiplier: 3, type: BONUS_WORD, x: 12, y: 0 },
|
|
17
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 1, y: 1 },
|
|
18
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 6, y: 1 },
|
|
19
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 8, y: 1 },
|
|
20
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 13, y: 1 },
|
|
21
|
+
{ multiplier: 3, type: BONUS_WORD, x: 0, y: 2 },
|
|
22
|
+
{ multiplier: 2, type: BONUS_WORD, x: 7, y: 2 },
|
|
23
|
+
{ multiplier: 3, type: BONUS_WORD, x: 14, y: 2 },
|
|
24
|
+
{ multiplier: 2, type: BONUS_WORD, x: 3, y: 3 },
|
|
25
|
+
{ multiplier: 2, type: BONUS_WORD, x: 11, y: 3 },
|
|
26
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 4, y: 4 },
|
|
27
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 10, y: 4 },
|
|
28
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 0, y: 5 },
|
|
29
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 5, y: 5 },
|
|
30
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 9, y: 5 },
|
|
31
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 14, y: 5 },
|
|
32
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 1, y: 6 },
|
|
33
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 6, y: 6 },
|
|
34
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 8, y: 6 },
|
|
35
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 13, y: 6 },
|
|
36
|
+
{ multiplier: 2, type: BONUS_WORD, x: 2, y: 7 },
|
|
37
|
+
{ multiplier: 2, type: BONUS_WORD, x: 12, y: 7 },
|
|
38
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 1, y: 8 },
|
|
39
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 6, y: 8 },
|
|
40
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 8, y: 8 },
|
|
41
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 13, y: 8 },
|
|
42
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 0, y: 9 },
|
|
43
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 5, y: 9 },
|
|
44
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 9, y: 9 },
|
|
45
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 14, y: 9 },
|
|
46
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 4, y: 10 },
|
|
47
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 10, y: 10 },
|
|
48
|
+
{ multiplier: 2, type: BONUS_WORD, x: 3, y: 11 },
|
|
49
|
+
{ multiplier: 2, type: BONUS_WORD, x: 11, y: 11 },
|
|
50
|
+
{ multiplier: 3, type: BONUS_WORD, x: 0, y: 12 },
|
|
51
|
+
{ multiplier: 2, type: BONUS_WORD, x: 7, y: 12 },
|
|
52
|
+
{ multiplier: 3, type: BONUS_WORD, x: 14, y: 12 },
|
|
53
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 1, y: 13 },
|
|
54
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 6, y: 13 },
|
|
55
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 8, y: 13 },
|
|
56
|
+
{ multiplier: 3, type: BONUS_CHARACTER, x: 13, y: 13 },
|
|
57
|
+
{ multiplier: 3, type: BONUS_WORD, x: 2, y: 14 },
|
|
58
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 5, y: 14 },
|
|
59
|
+
{ multiplier: 2, type: BONUS_CHARACTER, x: 9, y: 14 },
|
|
60
|
+
{ multiplier: 3, type: BONUS_WORD, x: 12, y: 14 },
|
|
61
|
+
],
|
|
62
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BONUS_CHARACTER, BONUS_WORD } from '@scrabble-solver/constants';
|
|
2
2
|
import { Game } from '@scrabble-solver/types';
|
|
3
3
|
|
|
4
|
-
const literaki = {
|
|
4
|
+
export const literaki = {
|
|
5
5
|
bingoScore: 50,
|
|
6
6
|
blankScore: 0,
|
|
7
7
|
blanksCount: 2,
|
|
@@ -105,5 +105,3 @@ const literaki = {
|
|
|
105
105
|
{ multiplier: 3, score: 5, type: BONUS_CHARACTER, x: 14, y: 14 },
|
|
106
106
|
],
|
|
107
107
|
};
|
|
108
|
-
|
|
109
|
-
export default literaki;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BONUS_CHARACTER, BONUS_WORD } from '@scrabble-solver/constants';
|
|
2
2
|
import { Game } from '@scrabble-solver/types';
|
|
3
3
|
|
|
4
|
-
const scrabble = {
|
|
4
|
+
export const scrabble = {
|
|
5
5
|
bingoScore: 50,
|
|
6
6
|
blankScore: 0,
|
|
7
7
|
blanksCount: 2,
|
|
@@ -73,5 +73,3 @@ const scrabble = {
|
|
|
73
73
|
{ multiplier: 3, type: BONUS_WORD, x: 14, y: 14 },
|
|
74
74
|
],
|
|
75
75
|
};
|
|
76
|
-
|
|
77
|
-
export default scrabble;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BONUS_CHARACTER, BONUS_WORD } from '@scrabble-solver/constants';
|
|
2
2
|
import { Game } from '@scrabble-solver/types';
|
|
3
3
|
|
|
4
|
-
const superScrabble = {
|
|
4
|
+
export const superScrabble = {
|
|
5
5
|
bingoScore: 50,
|
|
6
6
|
blankScore: 0,
|
|
7
7
|
blanksCount: 4,
|
|
@@ -136,5 +136,3 @@ const superScrabble = {
|
|
|
136
136
|
{ multiplier: 4, type: BONUS_WORD, x: 20, y: 20 },
|
|
137
137
|
],
|
|
138
138
|
};
|
|
139
|
-
|
|
140
|
-
export default superScrabble;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Config, Locale } from '@scrabble-solver/types';
|
|
2
|
+
|
|
3
|
+
import { kelimelik, scrabble } from '../games';
|
|
4
|
+
|
|
5
|
+
export const turkishKelimelik = new Config({
|
|
6
|
+
...kelimelik,
|
|
7
|
+
locale: Locale.TR_TR,
|
|
8
|
+
tiles: [
|
|
9
|
+
{ character: 'a', count: 12, score: 1 },
|
|
10
|
+
{ character: 'b', count: 2, score: 3 },
|
|
11
|
+
{ character: 'c', count: 2, score: 4 },
|
|
12
|
+
{ character: 'ç', count: 2, score: 4 },
|
|
13
|
+
{ character: 'd', count: 2, score: 3 },
|
|
14
|
+
{ character: 'e', count: 8, score: 1 },
|
|
15
|
+
{ character: 'f', count: 1, score: 7 },
|
|
16
|
+
{ character: 'g', count: 1, score: 5 },
|
|
17
|
+
{ character: 'ğ', count: 1, score: 8 },
|
|
18
|
+
{ character: 'h', count: 1, score: 5 },
|
|
19
|
+
{ character: 'ı', count: 4, score: 2 },
|
|
20
|
+
{ character: 'i', count: 7, score: 1 },
|
|
21
|
+
{ character: 'j', count: 1, score: 10 },
|
|
22
|
+
{ character: 'k', count: 7, score: 1 },
|
|
23
|
+
{ character: 'l', count: 7, score: 1 },
|
|
24
|
+
{ character: 'm', count: 4, score: 2 },
|
|
25
|
+
{ character: 'n', count: 5, score: 1 },
|
|
26
|
+
{ character: 'o', count: 3, score: 2 },
|
|
27
|
+
{ character: 'ö', count: 1, score: 7 },
|
|
28
|
+
{ character: 'p', count: 1, score: 5 },
|
|
29
|
+
{ character: 'r', count: 6, score: 1 },
|
|
30
|
+
{ character: 's', count: 3, score: 2 },
|
|
31
|
+
{ character: 'ş', count: 2, score: 4 },
|
|
32
|
+
{ character: 't', count: 5, score: 1 },
|
|
33
|
+
{ character: 'u', count: 3, score: 2 },
|
|
34
|
+
{ character: 'ü', count: 2, score: 3 },
|
|
35
|
+
{ character: 'v', count: 1, score: 7 },
|
|
36
|
+
{ character: 'y', count: 2, score: 3 },
|
|
37
|
+
{ character: 'z', count: 2, score: 4 },
|
|
38
|
+
],
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export const turkishScrabble = new Config({
|
|
42
|
+
...scrabble,
|
|
43
|
+
locale: Locale.TR_TR,
|
|
44
|
+
tiles: [
|
|
45
|
+
{ character: 'a', count: 12, score: 1 },
|
|
46
|
+
{ character: 'b', count: 2, score: 3 },
|
|
47
|
+
{ character: 'c', count: 2, score: 4 },
|
|
48
|
+
{ character: 'ç', count: 2, score: 4 },
|
|
49
|
+
{ character: 'd', count: 2, score: 3 },
|
|
50
|
+
{ character: 'e', count: 8, score: 1 },
|
|
51
|
+
{ character: 'f', count: 1, score: 7 },
|
|
52
|
+
{ character: 'g', count: 1, score: 5 },
|
|
53
|
+
{ character: 'ğ', count: 1, score: 8 },
|
|
54
|
+
{ character: 'h', count: 1, score: 5 },
|
|
55
|
+
{ character: 'ı', count: 4, score: 2 },
|
|
56
|
+
{ character: 'i', count: 7, score: 1 },
|
|
57
|
+
{ character: 'j', count: 1, score: 10 },
|
|
58
|
+
{ character: 'k', count: 7, score: 1 },
|
|
59
|
+
{ character: 'l', count: 7, score: 1 },
|
|
60
|
+
{ character: 'm', count: 4, score: 2 },
|
|
61
|
+
{ character: 'n', count: 5, score: 1 },
|
|
62
|
+
{ character: 'o', count: 3, score: 2 },
|
|
63
|
+
{ character: 'ö', count: 1, score: 7 },
|
|
64
|
+
{ character: 'p', count: 1, score: 5 },
|
|
65
|
+
{ character: 'r', count: 6, score: 1 },
|
|
66
|
+
{ character: 's', count: 3, score: 2 },
|
|
67
|
+
{ character: 'ş', count: 2, score: 4 },
|
|
68
|
+
{ character: 't', count: 5, score: 1 },
|
|
69
|
+
{ character: 'u', count: 3, score: 2 },
|
|
70
|
+
{ character: 'ü', count: 2, score: 3 },
|
|
71
|
+
{ character: 'v', count: 1, score: 7 },
|
|
72
|
+
{ character: 'y', count: 2, score: 3 },
|
|
73
|
+
{ character: 'z', count: 2, score: 4 },
|
|
74
|
+
],
|
|
75
|
+
});
|
|
@@ -8,5 +8,5 @@ exports.BONUS_CHARACTER = 'BONUS_CHARACTER';
|
|
|
8
8
|
exports.BONUS_WORD = 'BONUS_WORD';
|
|
9
9
|
exports.EMPTY_CELL = ' ';
|
|
10
10
|
exports.NO_BONUS = { characterMultiplier: 1, wordMultiplier: 1 };
|
|
11
|
-
exports.CONSONANTS = '
|
|
12
|
-
exports.VOWELS = '
|
|
11
|
+
exports.CONSONANTS = 'bcçćdfgğhjklłmnńñpqrsşśtvwxzźż'.split('');
|
|
12
|
+
exports.VOWELS = 'aąäeęioóöuüyı'.split('');
|