1560s, "idle vagrant," perhaps a shortened form of roger (with a hard -g-), thieves' slang for a begging vagabond who pretends to be a poor scholar from Oxford or Cambridge, which is perhaps an agent noun in English from Latin rogare "to ask." Another theory [Klein] traces it to Celtic (cf. Breton rog "haughty"); OED says, "There is no evidence of connexion with F. rogue 'arrogant.' "
In playful or affectionate use, "one who is mischievous," 1590s. Meaning "large wild beast living apart from the herd" is from 1859, originally of elephants. Meaning "something uncontrolled or undisciplined" is from 1964. Also common in 17c. as a verb. Rogue's gallery "police collection of mug shots" is attested from 1859.
games
[Unix] A Dungeons-and-Dragons-like game using character graphics, written under BSD Unix and subsequently ported to other Unix systems. The original BSD "curses(3)" screen-handling package was hacked together by Ken Arnold to support "rogue(6)" and has since become one of Unix's most important and heavily used application libraries. Nethack, Omega, Larn, and an entire subgenre of computer dungeon games all took off from the inspiration provided by "rogue(6)". See also nethack.
[Jargon File]