How hutsell-games/civil-war-strategy works
Game Engine Layer
• Represented by CWSTRAT.BAS (the main game file)
Data Storage Components
• ALTLEAD.DAT / CWSLEAD.DAT (leader data)
• HISCORE.CWS (high scores)
Configuration Layer
• Configuration files:
• CWS.CFG
• CWS.INI
• ALTMAP.INI
Asset Resources
• FACE1-5.VGA (character faces)
• FORT0-2.VGA (fortification graphics)
• MTN.VGA (mountain graphics)
System
• Map-related files:
• ALTMAP.GRD
• ALTMAP.BAT
• CITIES.GRD
• Connection to the game engine
Core Architecture
• Game engine (CWSTRAT.BAS) in the center
• Other components in logical groups around the core
Data Flow
• User input → Game Engine
• Game Engine → Display Output
• Game Engine ↔ Data Storage
• Configuration → Game Engine
• Assets → Game Engine
Component Relationships
• Clear dependencies between components
• Critical paths with thicker lines
Special Considerations:
QB64 Specific Elements
• QB64 compiler/runtime environment as a foundational layer
• How the BASIC source code compiles to executable
Game State Management
• How game state flows between components
• Save/load mechanics with data files
Resource Management
• Demonstrate how visual assets are loaded and managed
• Configuration file processing
• Component groupings
Level of Detail:
• Version information (main/minimal-changes branches)