feat: implement war engine with unit types, battle mechanics, and logging

- Added types for war engine configuration, battle input, and outcomes.
- Implemented core war unit classes for generals and cities, including combat logic.
- Introduced utility functions for managing meta data and conflict resolution.
- Developed tests for war triggers and battle resolution scenarios.
This commit is contained in:
2025-12-30 10:25:48 +00:00
parent d599d94a7b
commit b0c4f84656
11 changed files with 2560 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
export * from './types.js';
export * from './actions.js';
export * from './engine.js';
export * from './units.js';
export * from './triggers.js';
export * from './triggersChePilsal.js';
export * from './crewType.js';
export * from './utils.js';