@gamepark/rules-api 7.5.1 → 7.6.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.
@@ -174,7 +174,7 @@ export class MaterialRules extends Rules {
174
174
  * @returns a random rolled value, by default a value between 0 and 5 (cubic dice result)
175
175
  */
176
176
  roll(_move) {
177
- return randomInt(5);
177
+ return randomInt(6);
178
178
  }
179
179
  /**
180
180
  * Execution of the Material Moves. See {@link Rules.play}.
@@ -8,4 +8,9 @@ export type OptionsSpec<Options> = (Options extends WithPlayersOptions<infer P>
8
8
  validate?: (options: Partial<Options>, t: TFunction) => void;
9
9
  } & {
10
10
  subscriberRequired?: boolean;
11
+ } & {
12
+ competitivePlayers?: {
13
+ min: number;
14
+ max: number;
15
+ };
11
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gamepark/rules-api",
3
- "version": "7.5.1",
3
+ "version": "7.6.1",
4
4
  "description": "API to implement the rules of a board game",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "devDependencies": {
30
30
  "@types/node": "^24.5.1",
31
31
  "es-toolkit": "^1.39.10",
32
- "i18next": "^25.5.2",
32
+ "i18next": "^25.10.9",
33
33
  "typescript": "^5.9.2",
34
34
  "vitest": "^4.0.10"
35
35
  },