Kihagyás

Pattern Spotting

Goal

Find and justify which design patterns best fit a real piece of student code — and reflect on how you recognize reusable solution structures in your own work.

Setup

  • Each team gets the design pattern cards from the full design pattern cards deck.
  • The tutor projects or displays a short code chunk from one of the projects.
  • Each team uses cards and markers to show their picks.

Play

Round 1 — Pick the Pattern Type

  1. Observe: Study the displayed code together.
  2. Select: Each team secretly picks the design pattern type they think fits best:
    • Creational
    • Structural
    • Behavioral
  3. Hide & Reveal: Teams place their choice face down on the table (or hand it to the tutor).
  4. Discuss: The tutor flips the cards, compares answers, and leads a short discussion:
    • Why that type?
    • What signs support your choice?
    • What other types were plausible?

Round 2 — Pick the Concrete Pattern

  1. Observe Again: Revisit the same code with the chosen pattern type in mind.
  2. Select: Each team secretly picks 1 concrete design pattern card from that type they think applies best.
  3. Hide & Reveal: Teams place their cards face down on the table (or hand them to the tutor).
  4. Discuss: The tutor flips the cards, compares answers, and leads a short discussion:
    • Why that pattern?
    • What signs support your choice?
    • What alternatives might work better?

Scoring

Round 1

  • +1 point if two teams suggest the same type.
  • +1 point if the code’s author team and one other team suggest the same type.
  • +1 point if at least half of all teams + 1 choose the same type.
  • +1 point if the tutor’s choice matches your team’s.

Round 2

  • +2 points if two teams suggest the same pattern.
  • +2 points if the code’s author team and one other team suggest the same pattern.
  • +2 points if at least half of all teams + 1 choose the same pattern.
  • +2 points if the tutor’s choice matches your team’s.

Points add up — reasoning and shared insight matter more than luck.