@pompidup/kingdomino-engine 3.5.0 → 3.6.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 +1376 -676
- package/dist/index.js +4038 -2393
- package/dist/index.js.map +1 -1
- package/dist/index.universal.js +4038 -2393
- package/dist/wasm-bridge.js +3769 -2200
- package/package.json +1 -9
package/README.md
CHANGED
|
@@ -232,7 +232,7 @@ See [API Reference](docs/api-reference.md) for complete method signatures, types
|
|
|
232
232
|
|
|
233
233
|
## Additional Features
|
|
234
234
|
|
|
235
|
-
- **Bot / AI**: 4 built-in strategies (`randomStrategy`, `greedyStrategy`, `advancedStrategy`, `expertStrategy`) with `playBotTurn()` helper
|
|
235
|
+
- **Bot / AI**: 4 built-in strategies (`randomStrategy`, `greedyStrategy`, `advancedStrategy`, `expertStrategy`) with `playBotTurn()` helper; mode-aware (they evaluate with the mode-aware score and play the Queendomino, Origins and Age of Giants actions — see [Bot Strategies](docs/api-reference.md#bot-strategies))
|
|
236
236
|
- **Mixed games**: Human and bot players in the same game via `bot: { strategyName }` on player input
|
|
237
237
|
- **Undo / Redo**: Snapshot-based history with `createGameHistory()`, `pushState()`, `undo()`, `redo()`
|
|
238
238
|
- **Action Log**: Immutable log via `wrapWithActionLog(engine)` for replay with `replayActions()`
|