You could buy source for a version of rogue from the AT&T Software
Toolchest. We bought a copy and ran it on CTIX and 4.2BSD, among
others. I don't recall any portability issues, and have long forgotten
everything related to licensing, code provenance, etc.
--lyndon