Core Modules (game-agnostic, reusable for WarFactory): - ResourceModule: Inventory, crafting system (465 lines) - StorageModule: Save/load with pub/sub state collection (424 lines) - CombatModule: Combat resolver, damage/armor/morale (580 lines) - EventModule: JSON event scripting with choices/outcomes (651 lines) MC-Specific Modules: - GameModule v2: State machine + event subscriptions (updated) - TrainBuilderModule: 3 wagons, 2-axis balance, performance malus (530 lines) - ExpeditionModule: A→B expeditions, team management, events integration (641 lines) Features: - All modules hot-reload compatible (state preservation) - Pure pub/sub architecture (zero direct coupling) - 7 config files (resources, storage, combat, events, train, expeditions) - 7 test suites (GameModuleTest: 12/12 PASSED) - CMakeLists.txt updated for all modules + tests Total: ~3,500 lines of production code + comprehensive tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
15 lines
269 B
JSON
15 lines
269 B
JSON
{
|
|
"version": "0.1.0",
|
|
"game": {
|
|
"name": "Mobile Command",
|
|
"targetFrameRate": 10
|
|
},
|
|
"debug": {
|
|
"logLevel": "debug",
|
|
"showFrameCount": true
|
|
},
|
|
"initialState": "MainMenu",
|
|
"tickRate": 10,
|
|
"debugMode": true
|
|
}
|