Rogue is Included in the Berkeley Standard Distribution UNIX Distritbution 4.2
A student at University of Berkeley, called Ken Arnold, had designed a library of C functions which allowed programs to do cursor addressing, which means that the programs could put a character at a specific location on the computer screen.
It was not "real" graphics, but you could use letters, numbers and other symbols to simulate pictures. The library was called curses .
Michael Toy and Glenn Wichman, two students in University of Santa Cruz, California, experimented with curses library. They both had enjoyed playing Adventure which was the first text adventure game. After making some simple games with curses, they began to write a graphical adventure game. Michael Toy did most of the programming and Glenn contributed ideas to the project and coined the name "Rogue".
Rogue is generally credited with being the first "graphical" adventure game, and it probably was at least one of the first (Wizardry could probably also make the claim). And its graphics have since been far surpassed by everything from Myst to Doom. But I think Rogue's biggest contribution, and one that still stands out to this day, is that the computer itself generated the adventure in Rogue. Every time you played, you got a new adventure. That's really what made it so popular for all those years in the early eighties.”— Glenn Wichman