Rogue
From Computer History Wiki
Rogue is largely inspired by Dungeons and Dragons, and influenced many RPG games in the 1980's that were tile based. It was given widespread releas with the inclusion in the 4.2 BSD operating system.
There is an excellent article about the history of rogue here: http://www.gamasutra.com/view/feature/4013/the_history_of_rogue_have__you_.php
A popular fork of rouge is hack.