Usually you can install rogue with Homebrew(
brew install rogue). However, when you want to read the source code, you may want to compile it by hand. Here's how (based on the recipe file).
- Download http://pkgs.fedoraproject.org/repo/pkgs/rogue/rogue5.4.4-src.tar.gz/033288f46444b06814c81ea69d96e075/rogue5.4.4-src.tar.gz and extract it
- (Optionally run
git init; git add .; git ci -m "untar"so that you can easily check what you've changed)
brew install ncurses
./rogueand the game will start.