Bird
0
0

A game designer wrote this rule: Players must collect 5 coins to win. But players can win without coins. What is the likely problem?

medium📝 Analysis Q14 of 15
LLD - Design — Tic-Tac-Toe Game
A game designer wrote this rule: Players must collect 5 coins to win. But players can win without coins. What is the likely problem?
AThe game has too many levels
BThe requirement is missing
CThe rule is not enforced in the game logic
DThe game has a syntax error
Step-by-Step Solution
Solution:
  1. Step 1: Understand the problem

    The rule says players must collect coins, but they can win without doing so.
  2. Step 2: Identify cause

    This means the game logic does not enforce the rule properly.
  3. Final Answer:

    The rule is not enforced in the game logic -> Option C
  4. Quick Check:

    Rule enforcement = game logic implementation [OK]
Quick Trick: If rule ignored, check game logic enforcement [OK]
Common Mistakes:
MISTAKES
  • Confusing missing requirement with rule enforcement
  • Assuming syntax error causes rule failure
  • Ignoring game logic role

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes