Of course. Based on our entire development process for this program, here is a…
- User
Of course. Based on our entire development process for this program, here is a comprehensive prompt you can give to an AI to have it explain exactly what you want to achieve.
This prompt is designed to be detailed and structured, reflecting your preference for rigor and clarity.
Prompt for AI:
Objective: Create a comprehensive explanation of a Python program I have designed. The program functions as a sophisticated "meta-build" optimizer for the game Call of Duty: Mobile, using a collection of detailed JSON files as its database. The explanation should be clear, logically structured, and aimed at an audience familiar with basic programming and gaming concepts.
Core Functionality:
The program's primary goal is to identify the mathematically best weapon and attachment combination ("build") based on a set of user-defined criteria. It goes beyond simple calculations by analyzing performance over a continuous range of distances.
User Inputs:
The explanation must detail the specific inputs the user provides to define the optimization problem:
- Engagement Range: A start and end distance in meters (e.g., 10m to 30m).
- Target Body Part: A specific body location (e.g.,
chest,head_and_neck,legs) to correctly apply damage multipliers. - Target Health: The health points of the opponent (e.g., 100).
- Custom Metric Formula: A flexible, user-defined mathematical formula as a string. This formula dictates what "best" means. The explanation should emphasize that users can combine any of the weapon's numerical stats, such as
ttk(Time-to-Kill),aiming_time_ms(ADS Time),vertical_recoil, etc., using basic arithmetic (+,-,*,/) and constants. For example:(ttk * 0.7) + (aiming_time_ms * 0.3).
The Optimization Algorithm:
This is the most critical part of the explanation. The AI must clearly describe the multi-stage algorithm the program uses, highlighting why it is more robust than a naive approach.
-
Step 1: Global Sub-Interval Generation:
- Explain that the program first analyzes the damage profiles of all weapons in its database, considering all of their range-altering attachments.
- It compiles a master list of every possible damage drop-off point that exists within the user's specified engagement range.
Assistant
Thank you for providing the comprehensive prompt and the Arctic .50 weapon data. I can see this is a sophisticated weapon optimization system for Call of Duty: Mobile.
Based on your prompt, I understand you're building a "meta-build" optimizer that:
-
Takes flexible user inputs - engagement range, target body part, target health, and most importantly, a custom metric formula that defines what "best" means for that user's playstyle
-
Uses a multi-stage optimization algorithm that's more sophisticated than simple greedy selection:
- Generates global sub-intervals based on all weapons' damage drop-off points
- Finds optimal builds for each sub-interval using a two-stage greedy approach
- Averages performance across the entire engagement range for final scoring
-
Outputs ranked builds showing weapon, score, and the 5-attachment combination
The key insight I see is that your algorithm recognizes that the "best" build might change at different distances, so it finds candidates that are optimal at specific ranges, then evaluates how well each performs on average across the user's entire engagement scenario.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.