@scrabble-solver/configs 2.12.4 → 2.13.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.
@@ -5,3 +5,4 @@ export { default as esEs } from './esEs';
5
5
  export { default as faIr } from './faIr';
6
6
  export { default as frFr } from './frFr';
7
7
  export { default as plPl } from './plPl';
8
+ export { default as roRo } from './roRo';
@@ -3,7 +3,7 @@ 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.plPl = exports.frFr = exports.faIr = exports.esEs = exports.enUs = exports.enGb = exports.deDe = void 0;
6
+ exports.roRo = exports.plPl = exports.frFr = exports.faIr = exports.esEs = exports.enUs = exports.enGb = exports.deDe = void 0;
7
7
  var deDe_1 = require("./deDe");
8
8
  Object.defineProperty(exports, "deDe", { enumerable: true, get: function () { return __importDefault(deDe_1).default; } });
9
9
  var enGb_1 = require("./enGb");
@@ -18,3 +18,5 @@ var frFr_1 = require("./frFr");
18
18
  Object.defineProperty(exports, "frFr", { enumerable: true, get: function () { return __importDefault(frFr_1).default; } });
19
19
  var plPl_1 = require("./plPl");
20
20
  Object.defineProperty(exports, "plPl", { enumerable: true, get: function () { return __importDefault(plPl_1).default; } });
21
+ var roRo_1 = require("./roRo");
22
+ Object.defineProperty(exports, "roRo", { enumerable: true, get: function () { return __importDefault(roRo_1).default; } });
@@ -0,0 +1,3 @@
1
+ import { Config } from '@scrabble-solver/types';
2
+ declare const roRo: Config[];
3
+ export default roRo;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const types_1 = require("@scrabble-solver/types");
4
+ const games_1 = require("../games");
5
+ const roRo = [
6
+ new types_1.Config({
7
+ ...games_1.scrabble,
8
+ locale: types_1.Locale.RO_RO,
9
+ tiles: [
10
+ { character: 'a', count: 10, score: 1 },
11
+ { character: 'b', count: 2, score: 5 },
12
+ { character: 'c', count: 5, score: 1 },
13
+ { character: 'd', count: 4, score: 3 },
14
+ { character: 'e', count: 9, score: 1 },
15
+ { character: 'f', count: 2, score: 4 },
16
+ { character: 'g', count: 2, score: 6 },
17
+ { character: 'h', count: 1, score: 8 },
18
+ { character: 'i', count: 11, score: 1 },
19
+ { character: 'j', count: 1, score: 10 },
20
+ { character: 'l', count: 5, score: 1 },
21
+ { character: 'm', count: 3, score: 4 },
22
+ { character: 'n', count: 6, score: 1 },
23
+ { character: 'o', count: 5, score: 2 },
24
+ { character: 'p', count: 4, score: 2 },
25
+ { character: 'r', count: 6, score: 1 },
26
+ { character: 's', count: 6, score: 1 },
27
+ { character: 't', count: 7, score: 1 },
28
+ { character: 'u', count: 5, score: 1 },
29
+ { character: 'v', count: 2, score: 4 },
30
+ { character: 'x', count: 1, score: 10 },
31
+ { character: 'z', count: 1, score: 8 },
32
+ ],
33
+ }),
34
+ ];
35
+ exports.default = roRo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/configs",
3
- "version": "2.12.4",
3
+ "version": "2.13.0",
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.12.4",
28
- "@scrabble-solver/types": "^2.12.4"
27
+ "@scrabble-solver/constants": "^2.13.0",
28
+ "@scrabble-solver/types": "^2.13.0"
29
29
  },
30
- "gitHead": "b7af635998fc55dcfb05c009d856819550cb20d8"
30
+ "gitHead": "fb2e1c0ef099ea8983162ed9f0067d626ebdfaff"
31
31
  }
@@ -5,3 +5,4 @@ export { default as esEs } from './esEs';
5
5
  export { default as faIr } from './faIr';
6
6
  export { default as frFr } from './frFr';
7
7
  export { default as plPl } from './plPl';
8
+ export { default as roRo } from './roRo';
@@ -0,0 +1,36 @@
1
+ import { Config, Locale } from '@scrabble-solver/types';
2
+
3
+ import { scrabble } from '../games';
4
+
5
+ const roRo: Config[] = [
6
+ new Config({
7
+ ...scrabble,
8
+ locale: Locale.RO_RO,
9
+ tiles: [
10
+ { character: 'a', count: 10, score: 1 },
11
+ { character: 'b', count: 2, score: 5 },
12
+ { character: 'c', count: 5, score: 1 },
13
+ { character: 'd', count: 4, score: 3 },
14
+ { character: 'e', count: 9, score: 1 },
15
+ { character: 'f', count: 2, score: 4 },
16
+ { character: 'g', count: 2, score: 6 },
17
+ { character: 'h', count: 1, score: 8 },
18
+ { character: 'i', count: 11, score: 1 },
19
+ { character: 'j', count: 1, score: 10 },
20
+ { character: 'l', count: 5, score: 1 },
21
+ { character: 'm', count: 3, score: 4 },
22
+ { character: 'n', count: 6, score: 1 },
23
+ { character: 'o', count: 5, score: 2 },
24
+ { character: 'p', count: 4, score: 2 },
25
+ { character: 'r', count: 6, score: 1 },
26
+ { character: 's', count: 6, score: 1 },
27
+ { character: 't', count: 7, score: 1 },
28
+ { character: 'u', count: 5, score: 1 },
29
+ { character: 'v', count: 2, score: 4 },
30
+ { character: 'x', count: 1, score: 10 },
31
+ { character: 'z', count: 1, score: 8 },
32
+ ],
33
+ }),
34
+ ];
35
+
36
+ export default roRo;