509. Lesson identity
This lesson turns the Stage 1 micro-loop into a compact build contract. You will describe one interaction on a single artifact, expose an ownership gap, and revise the contract before implementation.
510. Learning objective
After this lesson, you can label the input, rule, presentation, and feedback of one intended game interaction, identify an ownership gap, and correct the contract with explicit evidence.
511. Why this matters
A game interaction becomes buildable when each part has a clear responsibility and a visible relationship to the other parts. Without that separation, an action can be detected but produce no defined state change, or the game can change without giving the player enough information to interpret the result.
A four-part contract gives you a precise way to direct implementation, inspect AI-generated work, and decide what needs correction. Preserving both the diagnosed gap and the corrected version also creates a stronger brief for the next implementation step.
512. Prior knowledge
The canonical entry prerequisites are modules 1.1–1.3, 1.checkpoints, 1.ai-partner, 1.4, and 1.12. You should be able to describe a small player action and its intended result using the Stage 1 sequence ACT → RESPOND → CHANGE → AGAIN.
The immediate prerequisite is 1.12 L2 — Feedback audit. You should have completed it or be able to distinguish clear confirmation from absent or ambiguous confirmation.
513. Core concept
Four-part ownership
A playable interaction has four implementation responsibilities:
- Input: what the player does and how the game detects it.
- Rule: the condition that is evaluated and the state change that follows.
- Presentation: the perceivable representation of the resulting state.
- Feedback: the immediate information that helps the player interpret success, failure, or the reason nothing changed.
These are four responsibilities within one interaction, not four unrelated features. A reader should be able to trace the player’s action through every responsibility and understand how another input becomes possible.
Presentation and feedback do not always require separate effects. The same perceivable event can fulfill both responsibilities when it both represents the changed state and clearly communicates the result. For example, a door visibly moving from closed to open can present the new state and confirm success. The contract should state both functions rather than assuming that one automatically guarantees the other.
514. Mental model
Use this contract for each small interaction:
| Part | Question | Evidence to record |
|---|---|---|
| Input | What does the player do, and what is detected? | One specific detectable action |
| Rule | What condition is checked, and what state changes? | The condition, successful result, and failure result when applicable |
| Presentation | How is the resulting state represented? | A visible, audible, or otherwise perceivable representation |
| Feedback | How can the player interpret the result immediately? | A cue or perceivable event that communicates success, failure, or no change |
Trace the implementation responsibilities as:
input → rule → presentation → feedback → next input
The player-facing experience is still described as ACT → RESPOND → CHANGE → AGAIN.
515. Concrete example
Consider a small interaction in which the player activates a powered door:
| Part | Example specification |
|---|---|
| Input | The player presses the interaction button while facing the door and standing within range. |
| Rule | If the door has power, its state changes from closed to open. If it has no power, it remains closed. |
| Presentation | When open, the door moves aside and the doorway becomes visibly clear. When unpowered, the door remains in its closed position. |
| Feedback | The visible opening confirms success. A brief warning cue communicates that an unpowered attempt failed. |
The visible opening performs two functions: it represents the open state and confirms that the action succeeded. The warning cue covers the failure case, in which the unchanged door alone might not explain why nothing happened.
516. Common mistakes
A common mistake is to label only the player action and visible result, then assume the rule is obvious. “Press interact to open the door” does not specify the condition, state transition, or failure result.
Another mistake is to treat feedback as decoration that must be added as a separate sound or effect. Feedback is a communication responsibility, not a required extra asset. An existing state change can also provide feedback if the player can perceive and interpret it immediately.
A third mistake is to write placeholders such as “the game handles it.” A placeholder hides who owns the condition, state change, representation, or confirmation and therefore cannot guide implementation.
517. Guided practice
Complete the planned practical assessment Ownership-gap diagnosis and corrected contract.
Choose one small interaction from your intended game. Do not choose a complete feature or a multi-step system. Suitable scopes include picking up one object, toggling one light, opening one container, or attempting one unavailable action.
Step 1: Write a first draft
Create a four-row contract:
| Part | First-draft specification |
|---|---|
| Input | What exact player action is detected? |
| Rule | What condition is checked, what state changes, and what happens if the condition is not met? |
| Presentation | How is the resulting state represented? |
| Feedback | How can the player immediately interpret success, failure, or no change? |
Do not silently improve the draft while diagnosing it. Preserve this version as evidence.
Step 2: Mark one ownership gap
Mark one phrase or row that is absent, ambiguous, or delegated to a placeholder. Name the affected responsibility: input, rule, presentation, or feedback.
Explain in one or two sentences what a developer would have to invent because of that gap. If the same event is intended to provide both presentation and feedback, explain how it fulfills each function.
Step 3: Correct the contract
Revise the marked phrase or row so the missing responsibility becomes explicit. Keep the other rows stable unless the correction requires a small consistency change.
Make one deliberate decision about whether the interaction communicates success, failure, or both. Justify that decision in one sentence.
Step 4: Trace the corrected cycle
Trace the corrected contract as:
input → rule → presentation → feedback → next input
If any link still depends on “the game handles it” or requires the reviewer to invent the central behavior, revise it again.
518. Validation and evidence
Submit or preserve:
- The first-draft four-row contract.
- One visibly marked ownership gap.
- A short explanation of what the gap leaves undefined.
- The corrected four-row contract.
- A trace from input to the next possible input.
- A one-sentence justification of the success, failure, or combined feedback decision.
The corrected artifact is sufficient when:
- The input identifies one detectable player action.
- The rule identifies a condition and resulting state change.
- The rule describes the unsuccessful result when failure is possible.
- The presentation gives the resulting state a perceivable form.
- The feedback lets the player interpret the result immediately.
- Any event serving as both presentation and feedback has both functions explained.
- A reader can trace all four responsibilities without inventing the interaction’s central behavior.
519. Key takeaways
- A micro-loop becomes actionable when its four responsibilities are written as one build contract.
- Input identifies the detected action; the rule determines what is allowed and what changes.
- Presentation represents the resulting state; feedback helps the player interpret the result.
- One perceivable event may satisfy both presentation and feedback when both functions are explicit.
- A preserved first draft, diagnosed gap, and corrected contract provide useful evidence for implementation review.
520. Next lesson
Next lesson: 1.micro-loop L2 — Direct a tiny implementation.
521. Knowledge check
Answer these items for yourself before reading the answers.
Which statement belongs to the rule responsibility?
Show answer and feedback
Answer: If the object is powered, its state changes from inactive to active.
Why: The rule specifies the evaluated condition and resulting state change. The other statements describe input, presentation, and feedback.
The same visible state change can serve as both presentation and feedback when it represents the new state and clearly confirms the result.
Show answer and feedback
Answer: True
Why: Presentation and feedback are separate responsibilities, but they do not always require separate effects. One perceivable event may fulfill both functions when the contract explains how.
A draft says, “Press the button; the game handles whether the container opens.” What is the clearest ownership gap?
Show answer and feedback
Answer: Rule, because the condition and state result are delegated to a placeholder
Why: The input is named, but the condition and state transition are not. “The game handles it” leaves the rule undefined.
Which evidence best demonstrates that an ownership gap was diagnosed and corrected?
Show answer and feedback
Answer: The first draft, a marked gap with an explanation, and the corrected contract
Why: Before-and-after evidence makes the diagnosis and revision visible instead of requiring a reviewer to infer what changed.