# Detective (Matt Barringer / AGT; Inform port by Stuart Moore, Release 1, # serial 000715, Z-machine V5) # VERIFIED COMPLETE SOLVE: 360/360, won=True, died=False # # Reproduce with the RNG-pinned replay harness (free, no API): # cd ~/src/zwalker # python3 scripts/replay_solve.py games/zcode/detective.z5 walkthroughs/detective_verified_360.txt --seeds 4 --out solutions/detective_verified.json # => detective_verified_360.txt: VERIFIED 360/360 at seed 1 | 45 cmds | died=False | won=True # # Ending: the detective walks into Room 30 on the Holiday Inn's 15th floor, # conks the Mayor's killer on the head after "a harrowing gun battle", gets # promoted (+100 points, "Jurrasic Park" theme playing), and goes UP into the # Exile Games info page: "*** You have won ***" at 360 of a possible 360 in # 45 turns. # # Full-score notes: the game pays +10 the first time you enter each of 21 # scoring rooms (including the boot into the Chief's office), +100 for Room # 30, and +10 apiece for picking up its five pointless props - the white # paper (Chief's office), the small black pistol (west of the office), the # paper note and the "wooden wood" (the two rooms flanking the Mayor's # house), and the "food hamburger" (south of the second Outside stretch). # 210 + 100 + 50 = 360, so the infamous claim of "a possible 360" is # actually reachable - but only if you also detour into the no-point side # room west of the upstairs bedroom corridor (+10 hallway), grab both # Doughnut King and Wall (+10 each) off the Outside hub, and never step # into any of the eight instant-death rooms (Restraunt, Murderer's Lounge, # House, Drug House, Mob House, Dead End, Pool, Sauna) that gate the route. # The whole map was machine-mapped exhaustively (all 10 compass/updown # exits from every one of the 47 reachable rooms, plus a "take all" sweep # in each) to prove no point source was missed. # # Deterministic, no RNG on route: Detective rolls no random events at all - # every exit, death, and score award is fixed, and this command list # replays identically at every seed tried. The seed pin is just the # harness's standard reproducibility guarantee. # #% MAX_SCORE: 360 #% WIN_TEXT: \*\*\* You have won \*\*\* # # Generated by exhaustive machine mapping of the game binary (BFS over all # exits + per-room item sweep); replay-verified by scripts/replay_solve.py. get paper w get pistol e n w e w get note e e get wood w n n w n n w e n e e e s get hamburger n n e n n n n e w w e n n w n w n n u