Skip to content

About

Modular terminal-based C naval combat simulator modeling 2D tactical engagements between Allied Battleships and procedural Axis Escort fleets using real ballistic physics, weapon degradation, and multi-mode path tracking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

⚓ Naval Battle Simulation System (C / GCC)

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.


📌 Project Overview

This project simulates complex naval combat scenarios in a 2D grid space based on ballistic physics formulas (projectile elevation, velocity, and reach limits).

Key Features

  • 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.

🛠️ Project Structure

├── 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

About

Modular terminal-based C naval combat simulator modeling 2D tactical engagements between Allied Battleships and procedural Axis Escort fleets using real ballistic physics, weapon degradation, and multi-mode path tracking.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages