This is Rogue, as presented in chapter 2 of the Fatal Distractions CD. This is the 1986 public domain release.
Rogue is a turn-based dungeon crawler in
which the player controls an adventurer who must explore the dangerous
Dungeon of Doom in order to retrieve the precious Amulet of Yendor and
make it out alive. The player character starts on the upper-most level
and slowly makes his way downwards.
The game uses ASCII
characters to represent locations, items, monsters, and the protagonist
himself. There are twenty-six different types of monsters, symbolized by
their initial letters (e.g. L for Leprechaun). Monsters have different
abilities and modes of attack. The dungeon and the items in it are
randomly generated each time the player begins a new game. Each dungeon
level contains a grid of three by three rooms and dead ends.
get progressively more complex and maze-like, and monsters grow in
strength the deeper the hero ventures into the dungeon. The player
character can acquire better weapons and armor, gain experience points
and level up. Should the protagonist perish in the dungeon, the player
must restart the game anew. (Description from MobyGames.