Tier 1 Series 1

1F: The Pilot's Exam

Capstone Exam
Pilot Record
Student Profile
"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...)
    }
}

Supervisor's Certification

Authenticated Pilot
pilot_fc620e15e0d7a3fa
Session Secure

Failure Point #1

Capacity Check (Lesson 1A)

Is "string health" the correct container for a number you need to subtract from?

Failure Point #2

Scope Authority (Lesson 1B)

Should "jumpForce" be public, or should we use [SerializeField] private?

Failure Point #3

Efficiency Audit (Lesson 1D)

Is calling GetComponent inside Update() creating performance drag?