Tier 1
Series 1
1F: The Pilot's Exam
Capstone Exam
"You are the Lead Architect for JumpQuest. A Junior AI has just handed you the core Player Controller script. It technically compiles, and the player moves—but it is full of "Sanity Errors" that will crash the game's performance and security later."
Target Asset for Audit
FRAGILE_CODE_DETECTED
public class JumpQuestPlayer : MonoBehaviour {
// 1. Data Capacity Check?
public string health = "100";
// 2. Scope Authority Check?
public float jumpForce = 10f;
void Update() {
// 3. Efficiency Audit?
Rigidbody2D rb = GetComponent<Rigidbody2D>();
if (Input.GetKeyDown(KeyCode.Space)) {
// 4. Logic Gateway Check?
rb.AddForce(Vector2.up * jumpForce, ForceMode2D.Impulse);
}
// 5. Modular Blueprint Check?
// (This script also handles UI, Sound, and Enemy AI logic below...)
}
}