@pompidup/kingdomino-engine 3.0.0 → 3.1.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/README.md +1 -1
- package/dist/index.d.ts +700 -1
- package/dist/index.js +493 -102
- package/dist/index.js.map +1 -1
- package/package.json +13 -15
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ const engine = createGameEngine({});
|
|
|
115
115
|
Add players to the game by passing an array of player names:
|
|
116
116
|
|
|
117
117
|
```typescript
|
|
118
|
-
gameState = engine.addPlayers({gameState, ["Player 1", "Player 2", "Player 3"]});
|
|
118
|
+
gameState = engine.addPlayers({ game: gameState, players: ["Player 1", "Player 2", "Player 3"] });
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
### Getting Available Game Modes
|