Which in turn took from rogue. Which in turn came from DnD first edition / advanced edition, when DnD was more about navigating dungeon traps than fighting monsters (and not at all similar to modern DnD, which resembles Besthesda RPGs much more than roguelikes)
But Original DnD is where my inspiration-knowledge stops
But Original DnD is where my inspiration-knowledge stops