warfactoryracine/engines/Factory-Engine
StillHammer 5bdd072117 Complete 10-engine architecture with CMake build system
 All 10 engines now build successfully:
- Designer, Economy, Event, Factory, Intelligence
- Logistic, MacroEntity, Map, Operation, War

🚀 Features implemented:
- FAST_BUILD vs FULL_BUILD presets for efficient development
- Comprehensive defensive programming (sanitizers, contracts)
- 16 C++ libraries integrated via FetchContent
- GCC-compatible configuration with stack protection
- Unified CMake system across all engines

🛠️ Build commands:
- Fast: cmake -DFAST_BUILD=ON .. && make claude-workflow-fast
- Full: cmake .. && make (all sanitizers + validation)
- Single engine: make economy-engine

🔧 Development workflow optimized for daily iteration.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 14:19:25 +08:00
..
include/factory Add complete C++ structure for all 10 engines 2025-09-19 02:07:17 +08:00
src Complete 10-engine architecture with CMake build system 2025-09-19 14:19:25 +08:00
CMakeLists.txt Complete 10-engine architecture with CMake build system 2025-09-19 14:19:25 +08:00
README.md Complete 10-engine architecture structure 2025-09-19 01:49:39 +08:00

Factory Engine

Engine autonome gérant les usines et production industrielle.

Responsabilités

  • Simulation usines Factorio-like (belts, assemblers, inserters)
  • Calculs production, input/output, energy, qualité
  • Optimisation automatique vs manuel joueur (skip-ability)
  • Gestion multi-usines et coordination production

Architecture

  • Autonome : Simulations production indépendantes
  • Communication : Demandes materials vers Logistic, output vers Economy
  • Performance : 60fps simulation factory, algorithmes optimisés
  • Scope : Production locale, chaînes assemblage

Features

  • Système qualité (placement optimal vs lookup tables)
  • Energy management facile (pas bottleneck)
  • Extraction simplifiée (focus sur assemblage)
  • Automation complète ou contrôle manuel joueur