@scrabble-solver/configs 2.9.3 → 2.10.1

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.
@@ -6,6 +6,7 @@ declare const literaki: {
6
6
  "en-GB": Config;
7
7
  "en-US": Config;
8
8
  "es-ES": Config;
9
+ "fa-IR": Config;
9
10
  "fr-FR": Config;
10
11
  "pl-PL": Config;
11
12
  };
@@ -24,6 +24,7 @@ const literaki = {
24
24
  [types_1.Locale.EN_GB]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesEn }),
25
25
  [types_1.Locale.EN_US]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesEn }),
26
26
  [types_1.Locale.ES_ES]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesEs }),
27
+ [types_1.Locale.FA_IR]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesFa }),
27
28
  [types_1.Locale.FR_FR]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesFr }),
28
29
  [types_1.Locale.PL_PL]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesPl }),
29
30
  };
@@ -1,5 +1,6 @@
1
1
  export { default as tilesEn } from './tilesEn';
2
2
  export { default as tilesEs } from './tilesEs';
3
+ export { default as tilesFa } from './tilesFa';
3
4
  export { default as tilesFr } from './tilesFr';
4
5
  export { default as tilesPl } from './tilesPl';
5
6
  export { default as tilesDe } from './tilesDe';
@@ -3,11 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.tilesDe = exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
6
+ exports.tilesDe = exports.tilesPl = exports.tilesFr = exports.tilesFa = exports.tilesEs = exports.tilesEn = void 0;
7
7
  var tilesEn_1 = require("./tilesEn");
8
8
  Object.defineProperty(exports, "tilesEn", { enumerable: true, get: function () { return __importDefault(tilesEn_1).default; } });
9
9
  var tilesEs_1 = require("./tilesEs");
10
10
  Object.defineProperty(exports, "tilesEs", { enumerable: true, get: function () { return __importDefault(tilesEs_1).default; } });
11
+ var tilesFa_1 = require("./tilesFa");
12
+ Object.defineProperty(exports, "tilesFa", { enumerable: true, get: function () { return __importDefault(tilesFa_1).default; } });
11
13
  var tilesFr_1 = require("./tilesFr");
12
14
  Object.defineProperty(exports, "tilesFr", { enumerable: true, get: function () { return __importDefault(tilesFr_1).default; } });
13
15
  var tilesPl_1 = require("./tilesPl");
@@ -0,0 +1,6 @@
1
+ declare const tilesFa: {
2
+ character: string;
3
+ count: number;
4
+ score: number;
5
+ }[];
6
+ export default tilesFa;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tilesFa = [
4
+ { character: 'ا', count: 12, score: 1 },
5
+ { character: 'ب', count: 4, score: 1 },
6
+ { character: 'پ', count: 1, score: 6 },
7
+ { character: 'ت', count: 4, score: 1 },
8
+ { character: 'ث', count: 1, score: 10 },
9
+ { character: 'ج', count: 2, score: 5 },
10
+ { character: 'چ', count: 1, score: 6 },
11
+ { character: 'ح', count: 1, score: 6 },
12
+ { character: 'خ', count: 2, score: 5 },
13
+ { character: 'د', count: 6, score: 1 },
14
+ { character: 'ذ', count: 1, score: 10 },
15
+ { character: 'ر', count: 7, score: 1 },
16
+ { character: 'ز', count: 3, score: 4 },
17
+ { character: 'ژ', count: 1, score: 10 },
18
+ { character: 'س', count: 3, score: 2 },
19
+ { character: 'ش', count: 3, score: 3 },
20
+ { character: 'ص', count: 1, score: 6 },
21
+ { character: 'ض', count: 1, score: 8 },
22
+ { character: 'ط', count: 1, score: 8 },
23
+ { character: 'ظ', count: 1, score: 10 },
24
+ { character: 'ع', count: 2, score: 5 },
25
+ { character: 'غ', count: 1, score: 8 },
26
+ { character: 'ف', count: 2, score: 4 },
27
+ { character: 'ق', count: 2, score: 5 },
28
+ { character: 'ک', count: 3, score: 3 },
29
+ { character: 'گ', count: 2, score: 4 },
30
+ { character: 'ل', count: 3, score: 2 },
31
+ { character: 'م', count: 5, score: 1 },
32
+ { character: 'ن', count: 6, score: 1 },
33
+ { character: 'و', count: 5, score: 1 },
34
+ { character: 'ه', count: 5, score: 1 },
35
+ { character: 'ی', count: 8, score: 1 },
36
+ ];
37
+ exports.default = tilesFa;
@@ -6,6 +6,7 @@ declare const scrabble: {
6
6
  "de-DE": Config;
7
7
  "en-US": Config;
8
8
  "es-ES": Config;
9
+ "fa-IR": Config;
9
10
  "fr-FR": Config;
10
11
  "pl-PL": Config;
11
12
  };
@@ -24,6 +24,7 @@ const scrabble = {
24
24
  [types_1.Locale.DE_DE]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesDe }),
25
25
  [types_1.Locale.EN_US]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesEn }),
26
26
  [types_1.Locale.ES_ES]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesEs }),
27
+ [types_1.Locale.FA_IR]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesFa }),
27
28
  [types_1.Locale.FR_FR]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesFr }),
28
29
  [types_1.Locale.PL_PL]: types_1.Config.fromJson({ ...base, tiles: tiles_1.tilesPl }),
29
30
  };
@@ -1,5 +1,6 @@
1
1
  export { default as tilesEn } from './tilesEn';
2
2
  export { default as tilesEs } from './tilesEs';
3
+ export { default as tilesFa } from './tilesFa';
3
4
  export { default as tilesFr } from './tilesFr';
4
5
  export { default as tilesPl } from './tilesPl';
5
6
  export { default as tilesDe } from './tilesDe';
@@ -3,11 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.tilesDe = exports.tilesPl = exports.tilesFr = exports.tilesEs = exports.tilesEn = void 0;
6
+ exports.tilesDe = exports.tilesPl = exports.tilesFr = exports.tilesFa = exports.tilesEs = exports.tilesEn = void 0;
7
7
  var tilesEn_1 = require("./tilesEn");
8
8
  Object.defineProperty(exports, "tilesEn", { enumerable: true, get: function () { return __importDefault(tilesEn_1).default; } });
9
9
  var tilesEs_1 = require("./tilesEs");
10
10
  Object.defineProperty(exports, "tilesEs", { enumerable: true, get: function () { return __importDefault(tilesEs_1).default; } });
11
+ var tilesFa_1 = require("./tilesFa");
12
+ Object.defineProperty(exports, "tilesFa", { enumerable: true, get: function () { return __importDefault(tilesFa_1).default; } });
11
13
  var tilesFr_1 = require("./tilesFr");
12
14
  Object.defineProperty(exports, "tilesFr", { enumerable: true, get: function () { return __importDefault(tilesFr_1).default; } });
13
15
  var tilesPl_1 = require("./tilesPl");
@@ -0,0 +1,6 @@
1
+ declare const tilesFa: {
2
+ character: string;
3
+ count: number;
4
+ score: number;
5
+ }[];
6
+ export default tilesFa;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tilesFa = [
4
+ { character: 'ا', count: 12, score: 1 },
5
+ { character: 'ب', count: 4, score: 1 },
6
+ { character: 'پ', count: 1, score: 6 },
7
+ { character: 'ت', count: 4, score: 1 },
8
+ { character: 'ث', count: 1, score: 10 },
9
+ { character: 'ج', count: 2, score: 5 },
10
+ { character: 'چ', count: 1, score: 6 },
11
+ { character: 'ح', count: 1, score: 6 },
12
+ { character: 'خ', count: 2, score: 5 },
13
+ { character: 'د', count: 6, score: 1 },
14
+ { character: 'ذ', count: 1, score: 10 },
15
+ { character: 'ر', count: 7, score: 1 },
16
+ { character: 'ز', count: 3, score: 4 },
17
+ { character: 'ژ', count: 1, score: 10 },
18
+ { character: 'س', count: 3, score: 2 },
19
+ { character: 'ش', count: 3, score: 3 },
20
+ { character: 'ص', count: 1, score: 6 },
21
+ { character: 'ض', count: 1, score: 8 },
22
+ { character: 'ط', count: 1, score: 8 },
23
+ { character: 'ظ', count: 1, score: 10 },
24
+ { character: 'ع', count: 2, score: 5 },
25
+ { character: 'غ', count: 1, score: 8 },
26
+ { character: 'ف', count: 2, score: 4 },
27
+ { character: 'ق', count: 2, score: 5 },
28
+ { character: 'ک', count: 3, score: 3 },
29
+ { character: 'گ', count: 2, score: 4 },
30
+ { character: 'ل', count: 3, score: 2 },
31
+ { character: 'م', count: 5, score: 1 },
32
+ { character: 'ن', count: 6, score: 1 },
33
+ { character: 'و', count: 5, score: 1 },
34
+ { character: 'ه', count: 5, score: 1 },
35
+ { character: 'ی', count: 8, score: 1 },
36
+ ];
37
+ exports.default = tilesFa;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/configs",
3
- "version": "2.9.3",
3
+ "version": "2.10.1",
4
4
  "description": "Scrabble Solver 2 - Configs",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -24,8 +24,8 @@
24
24
  "clean:force": "npm run clean && rimraf package-lock.json"
25
25
  },
26
26
  "dependencies": {
27
- "@scrabble-solver/constants": "^2.9.3",
28
- "@scrabble-solver/types": "^2.9.3"
27
+ "@scrabble-solver/constants": "^2.10.1",
28
+ "@scrabble-solver/types": "^2.10.1"
29
29
  },
30
- "gitHead": "ef8d030cbb76256a377f747f7ebe4b85b7eba61e"
30
+ "gitHead": "506586e8bb9e71f9f784dabffae2229c587c5e5a"
31
31
  }
@@ -1,7 +1,7 @@
1
1
  import { Config, Locale } from '@scrabble-solver/types';
2
2
 
3
3
  import bonuses from './bonuses';
4
- import { tilesDe, tilesEn, tilesEs, tilesFr, tilesPl } from './tiles';
4
+ import { tilesDe, tilesEn, tilesEs, tilesFa, tilesFr, tilesPl } from './tiles';
5
5
 
6
6
  const base = {
7
7
  allTilesBonusScore: 50,
@@ -22,6 +22,7 @@ const literaki = {
22
22
  [Locale.EN_GB]: Config.fromJson({ ...base, tiles: tilesEn }),
23
23
  [Locale.EN_US]: Config.fromJson({ ...base, tiles: tilesEn }),
24
24
  [Locale.ES_ES]: Config.fromJson({ ...base, tiles: tilesEs }),
25
+ [Locale.FA_IR]: Config.fromJson({ ...base, tiles: tilesFa }),
25
26
  [Locale.FR_FR]: Config.fromJson({ ...base, tiles: tilesFr }),
26
27
  [Locale.PL_PL]: Config.fromJson({ ...base, tiles: tilesPl }),
27
28
  };
@@ -1,5 +1,6 @@
1
1
  export { default as tilesEn } from './tilesEn';
2
2
  export { default as tilesEs } from './tilesEs';
3
+ export { default as tilesFa } from './tilesFa';
3
4
  export { default as tilesFr } from './tilesFr';
4
5
  export { default as tilesPl } from './tilesPl';
5
6
  export { default as tilesDe } from './tilesDe';
@@ -0,0 +1,36 @@
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,7 +1,7 @@
1
1
  import { Config, Locale } from '@scrabble-solver/types';
2
2
 
3
3
  import bonuses from './bonuses';
4
- import { tilesEn, tilesEs, tilesFr, tilesPl, tilesDe } from './tiles';
4
+ import { tilesEn, tilesEs, tilesFa, tilesFr, tilesPl, tilesDe } from './tiles';
5
5
 
6
6
  const base = {
7
7
  allTilesBonusScore: 50,
@@ -22,6 +22,7 @@ const scrabble = {
22
22
  [Locale.DE_DE]: Config.fromJson({ ...base, tiles: tilesDe }),
23
23
  [Locale.EN_US]: Config.fromJson({ ...base, tiles: tilesEn }),
24
24
  [Locale.ES_ES]: Config.fromJson({ ...base, tiles: tilesEs }),
25
+ [Locale.FA_IR]: Config.fromJson({ ...base, tiles: tilesFa }),
25
26
  [Locale.FR_FR]: Config.fromJson({ ...base, tiles: tilesFr }),
26
27
  [Locale.PL_PL]: Config.fromJson({ ...base, tiles: tilesPl }),
27
28
  };
@@ -1,5 +1,6 @@
1
1
  export { default as tilesEn } from './tilesEn';
2
2
  export { default as tilesEs } from './tilesEs';
3
+ export { default as tilesFa } from './tilesFa';
3
4
  export { default as tilesFr } from './tilesFr';
4
5
  export { default as tilesPl } from './tilesPl';
5
6
  export { default as tilesDe } from './tilesDe';
@@ -0,0 +1,36 @@
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;