Reflex Training
Mechanic Sector
(Engage card to reveal Pilot's Intelligence.)
The Pilot's Audit
"The AI Trap: "The Invisible Data""
// AI-Generated Code: Valid C#, but Invisible in Unity
public class ItemStats {
public int weight;
public int cost;
}
public class Inventory : MonoBehaviour {
public ItemStats stats; // Audit Fail: Won't show up!
}
Protocol Analysis
This is "Inspector Blindness." The code compiles, but the `stats` field will not appear in the Unity Editor, making it impossible for designers to balance the game.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Rapid Fire""
// AI-Generated Code: Game-Breaking Speed
void OnTriggerStay(Collider other) {
// Audit Fail: Heals 60 HP per second.
// Instantly refills health to max.
player.Heal(10);
}
Protocol Analysis
This is "Frequency Overload." Without a timer, the mechanic is unbalanced and uncontrollable.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Teleporting Bullet""
// AI-Generated Code: Reuse Error
public GameObject bullet;
void Fire() {
// Audit Fail: This moves the ORIGINAL bullet blueprint.
// It doesn't create a new one.
bullet.transform.position = gunTip.position;
}
Protocol Analysis
This is "Asset Modification." You are moving the "Blueprint" itself, or a single existing bullet, instead of creating a new one.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Hard-Coded Anchor""
// AI-Generated Code: Hard-coded and rigid
public class Enemy : MonoBehaviour {
public float health = 100f; // Audit Fail: This is logic + data
public float speed = 5f;
}
Protocol Analysis
If you want a "Boss" with 1000 health and a "Minion" with 10 health, you have to create separate scripts or manually change them on every object. It creates a maintenance nightmare as your game grows.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Memory Spike""
// AI-Generated Code: Garbage Generator
void Update() {
// Audit Fail: Creates a NEW array [] 60 times a second.
Collider[] hits = Physics.OverlapSphere(pos, 5f);
}
Protocol Analysis
This is "Garbage Generation." Doing this every frame causes the Garbage Collector to stutter the game frame rate.
Audit Complete
The Pilot's Audit
"The AI Trap: "The Open Book""
// AI-Generated Code: Obfuscation
// "Name the file something hidden like .system"
// Audit Fail: Security through obscurity fails instantly.
Protocol Analysis
This is "Fake Security." Hiding the file does not stop a user from finding and editing it.
Audit Complete
Scanning database for new traps