Sub topic 6
Making Failure Fair and Readable
Assumptions
You already understand a game's core loop, common mechanics, and basic conditionals and functions. This chapter focuses on failure that the player can understand, predict, and recover from. It does not define the game's complete win or lose rules.
A failure is fair when the player had a reasonable chance to recognize the danger and respond. A failure is readable when the game clearly explains what happened and what the player can do next. These qualities are separate. A hazard can be visible but still give too little time to react. A generous warning can still be confusing if the game does not identify the cause.
Make the cause understandable
A player should be able to answer three questions after a failure:
- What caused the failure?
- Which decision or action could have prevented it?
- What can I try differently?
Use consistent signals before and after the event. A dangerous enemy might glow before attacking, play a distinct sound, and show the attack's area. When the attack lands, the same visual language should appear in the failure message.
A warning is called telegraphing when the game gives advance information about an upcoming danger. Telegraphing can use animation, sound, interface changes, enemy behavior, or level layout. The warning must arrive early enough for the player's available actions to matter.
Randomness does not automatically make failure unfair. Random events should have bounded consequences and visible rules. If an unavoidable random event can instantly remove a long attempt, players may blame the system instead of learning from it.
Give the player a response window
A response window is the time between recognizing a threat and needing to act. Its length depends on the action required, the camera, the player's movement options, and the cost of failure.
For example, a quick visual cue may be enough for a player who only needs to press one button. The same cue is insufficient if the player must identify a target, navigate around an obstacle, and choose an ability.
Check the complete chain:
- The player can see or hear the warning.
- The player can understand its meaning.
- The player has a usable response.
- The response can succeed before the deadline.
- The game confirms whether the response worked.
If any link fails, the outcome may feel arbitrary. Add more warning time, reduce the required actions, or lower the consequence.
Separate cause, consequence, and recovery
Present failure in three layers:
- Cause: identify the hazard, rule, or resource that ended the attempt.
- Consequence: show what was lost, such as health, time, items, or position.
- Recovery: state the next available action, such as retrying from a checkpoint.
This structure prevents a common error: showing a dramatic failure effect without useful information. The player may know that the character died but not whether an attack, timer, or environmental rule caused it.
Keep feedback timely and specific
Feedback should occur close to the event that caused it. Delayed feedback makes it difficult to connect an action with its result. Use several channels when the event matters:
- Animation shows the immediate physical result.
- Sound confirms damage or loss.
- Interface text names the rule or resource.
- A pause or slow effect gives the player time to read important information.
Avoid messages that describe only the final state. “You lost” is less useful than “The gate closed while you were outside. Restart at the last checkpoint.”
The following function keeps the explanation tied to the event data:
from dataclasses import dataclass
@dataclass
class FailureNotice:
cause: str
consequence: str
recovery: str
def describe_failure(hazard, lost, recovery_point):
return FailureNotice(
cause=f"{hazard} caused the failure.",
consequence=f"You lost {lost}.",
recovery=f"Retry from {recovery_point}.",
)
if __name__ == "__main__":
notice = describe_failure("The falling platform", "one life", "the last checkpoint")
print(notice.cause)
print(notice.consequence)
print(notice.recovery)| Failure problem | Player's likely interpretation | Design adjustment |
|---|---|---|
| No warning before damage | “That was unavoidable.” | Telegraph the hazard earlier |
| Warning uses unfamiliar symbols | “I did not know what it meant.” | Teach the signal in a safe context |
| Cause is hidden after failure | “I do not know what to change.” | Name the event and lost resource |
| Retry takes a long time | “Learning costs too much.” | Shorten the restart path or add a checkpoint |
Test readability during playtests
Ask players to describe the failure immediately after it happens. Do not explain the intended cause first. Record whether they identify the hazard, the missed response, and the recovery option.
Useful observations include:
- How many seconds pass between the warning and the failure.
- Whether players look at the correct interface element.
- Whether they repeat the same mistake for the same reason.
- Whether they choose a recovery action without help.
- Whether they call the result unlucky, confusing, or deserved.
A failure is ready when players can explain what happened in their own words and can name a reasonable change for the next attempt.
Exercise
A trap has a clear animation, but it kills the player immediately when triggered. Testers see the animation but still call the trap unfair. What should you change first?
Show answer
Increase the response window or make the trap's trigger area and escape action clearer. Visibility alone does not make a failure fair if the player cannot respond in time.