WP-031: The suspects and clues, the accusation, and Big Head (Gen 1)

Status: ✅ Done (2026-11-14) Phase: 4 (game logic: room classes) Depends on: WP-024 ✅ (suspects met), WP-027 ✅ (room classes), WP-029 (room setup, music; fork pushed, docs in PR #68), WP-030 ✅ (Credits) Companion EC: none (inline checklist under Exit criteria) Estimated effort: Day Pre-flight: pre-flight-WP-031-2026-11-14


Result (2026-11-14)

The reference is wp031_ref.py, written from the trace. It reads the art and the sound indexes through the repo’s probes, and never runs the engine. At script level 3 the engine drives both rooms through their classes and logs 14 lines; the reference prints the same 14 on each title, none different. The test game has Artie (Phantom: Wizard) as the villain, three clues in slots 0, 1 and 3, and pictures 1, 3 and 4 met.

Exit criteria:

  1. Against the reference: ✅ On both titles:
    • The clue book. The three clues sit at their slots’ places with hotspots 1–3; the clue in slot 3 gets hotspot 3. Only the met suspects are buttons. With the final clue there is a final-clue button and hotspot 6, and the exit is gone.
    • Cards and lines. Every card and every Scrappy line match: the clues’, the final clue’s, and the suspects’ (Chuck, ICDouble, Artie; Phantom Ewan, Maria, Wizard). The idle line comes on tick 361, and not with the final clue.
    • The new clue. It holds input until Scrappy names CluesFound2, which is empty here: the original’s slot gap. The exit goes back to the first story room.
    • The accusation. All five suspects accused get the true villain’s movie (Showdown 9, Phantom 17), then 720 for the villain and 730 for the others, on BIG_HEAD_BG_P03 (P16), then the credits.
    • Big Head. Six lines with their partners and backgrounds. Showdown: Shaggy with Scooby, Artie, Velma, Fred with Daphne, Scooby with Shaggy, Daphne with Fred. Then the credits.
  2. Live, Showdown: ✅ From an original-format profile (start_profile), through test_script, minimized:
    • The clue book. It opened in solve mode, and the map’s card showed under the mouse.
    • The accusation. Artie’s poster accused him. Movie 9 (6.5 s) played, then Big Head: Shaggy beside Scooby on the P03 ruins, then Velma’s line showing Artie’s archaeology class list (clue picture 7), then Fred with Daphne.
    • The credits. After six lines, Artie’s movie 33 and movie 58, then the credits rolled.
  3. Build and diff: ✅

Deviations and gaps:


Goal

End the story the way the original does:

Background

Credits (WP-030) is entered from Big Head, but neither Big Head nor the suspects and clues has a class yet (details in scooby-exe):

Scope

In scope (fork, engines/scooby/ only):

Out of scope:

Exit criteria

  1. Both discs match an independent reference line for line:
    • the clues’ buttons, places and hotspots;
    • the met suspects’ pictures;
    • the final clue and the exit;
    • every card and Scrappy line;
    • the idle line;
    • the new clue;
    • the way back;
    • each suspect accused, with the movie and the reveal;
    • Big Head’s speakers, partners and backgrounds, line by line.
  2. Live, in Showdown, from an original-format profile with the final clue: the clue book, a clue’s card, the accusation, the movie, Big Head (heads, partner, a clue picture) and the credits.
  3. Scooby-only build: 0 errors and 0 warnings. The earlier checks and the room check are unchanged. The fork diff stays inside engines/scooby/, staged by name.

Deliverables