AI Command Lab // Flight Simulator
8F: The Double Negative
Initial AI Output (Fragile)
if (!isStunned && !isDead || (isGodMode && !isPaused)) {
Jump();
}
Initial AI Prompt
"Ask the AI to check if the player can jump."
Pilot Comm Link
Mission Objective: A skilled Mechanic directs the AI to simplify the boolean logic.
Optimized Protocol
bool isMobile = !isStunned && !isDead;
bool canOverride = isGodMode && !isPaused;
if (isMobile || canOverride) {
Jump();
}