Reflex Training
Mechanic Sector
(Engage card to reveal Pilot's Intelligence.)
The Pilot's Audit
"The AI Trap: "The Script Slider""
// AI-Generated Code: Hard References
public AudioSource musicSource;
public void SetVolume(float vol) {
// Audit Fail: This only controls ONE song.
// What about the menu music? The boss music?
musicSource.volume = vol;
}
Protocol Analysis
This is "Scope Myopia." The setting only applies to the current object, not the system.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Blind Optimization""
// AI-Generated Code: Refactoring blindly
void Update() {
// Audit Fail: We don't know if "CalculatePath" is the slow part.
// Maybe "UpdateUI" is the actual problem?
CalculatePath();
UpdateUI();
}
Protocol Analysis
This is "Shotgun Optimization." You might spend 3 days rewriting the pathfinding, only to discover the lag was actually caused by the UI text update.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Manual Mover""
// AI-Generated Code: The "Dumb" Walker
void Update() {
// Audit Fail: This moves in a straight line.
// It will walk through walls and get stuck on corners.
transform.position = Vector3.MoveTowards(transform.position,
player.position,
speed * Time.deltaTime);
}
Protocol Analysis
This is "Dumb Movement." The AI has no awareness of the environment. It will try to walk through a mountain to get to the player.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Absolute Anchor""
// AI-Generated Code: Rigid Positioning
radar.style.position = Position.Absolute;
radar.style.left = 1024;
radar.style.top = 768;
// Audit Fail: On a 4K screen, this will be in the top-left center.
Protocol Analysis
This is "Resolution Fragility." The UI breaks completely if the screen aspect ratio changes.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Input Manager Menu""
// AI-Generated Code: The Old Launcher
// "Use the Unity Launch Dialog."
// Audit Fail: That dialog was removed years ago.
// Or: Manually mapping KeyCodes in a Dictionary.
Protocol Analysis
This is "Legacy Reliance." Modern games need in-game menus, not external launchers.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Hidden Hook""
// AI-Generated Code: Fragile Dependency
// The AI adds an "Animation Event" to frame 12 of "Walk.anim".
// Function: PlayFootstep()
Protocol Analysis
This is "The Silent Crash." If an artist shortens the clip to 10 frames, the event is deleted, and the sound breaks with no error message.
Audit Complete
Scanning database for new traps