This game is a version of Rogue 3.6. It was originally written by Michael Toy, Ken Arnold, and Glenn Wichman, released in June 1981, and distributed with BSD. This was the first widely-played version of Rogue.
The Roguelike Restoration Project updated Rogue 3.6 to run on modern systems.
The Roguelike Gallery's version has been further modified to work with dgamelaunch and to log the results of all games.
The source code can be downloaded.