A modular terminal-based C project designed to model, simulate, and analyze tactical naval engagements between a primary Allied Battleship and Axis Escort Ships across customizable battlefield environments, paths, and gun degradation mechanics.
This project simulates complex naval combat scenarios in a 2D grid space based on ballistic physics formulas (projectile elevation, velocity, and reach limits).
- Customizable Battleships: Choose from historical class vessels (USS Iowa, MS King George V, Richelieu, Sovetsky Soyuz-class), each equipped with authentic primary armaments.
- Dynamic Escort Ship Fleet: Generates up to 100 escort ships (Destroyers, Corvettes, Kaibōkan) with procedural speeds, gun angle boundaries, and impact coefficients.
- 5 Simulation Modes: Supports static single-point combat, multi-waypoint path tracking, jammed path vectors, cumulative damage mechanics, and exponential weapon degradation over repeated firings.
- Persistent Performance Tracking: Automatically updates overall wins, losses, and battle counts across executions while overwriting session history logs cleanly.
├── header.h # Core data structures, constants, and function prototypes
├── menu.h # Menu display and user input validation function headers
├── simulation.h # Physics equations and combat simulation engine headers
├── main.c # System entry point
├── menu.c # Interactive CLI menu navigation & active configuration view
└── simulation.c # Ballistics solver, target selection AI, and file I/O operations