Linux command
nethack 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start new game
nethack
Start with specific role
nethack -p [Wizard]
Start with specific race
nethack -r [Elf]
Restore saved game
nethack -u [playername]
Show version
nethack --version
说明
nethack is a classic roguelike dungeon exploration game. Players descend through procedurally generated dungeons to retrieve the Amulet of Yendor, facing monsters, traps, and challenges. The game features permadeath, ASCII graphics, and an incredibly deep gameplay system with countless interactions between items, monsters, and the environment.
参数
- -p _role_
- Character role/class.
- -r _race_
- Character race.
- -u _name_
- Player name.
- -s
- Show high scores.
- -n
- Start with no stripes (simpler display).
- -D
- Debug/wizard mode.
FAQ
What is the nethack command used for?
nethack is a classic roguelike dungeon exploration game. Players descend through procedurally generated dungeons to retrieve the Amulet of Yendor, facing monsters, traps, and challenges. The game features permadeath, ASCII graphics, and an incredibly deep gameplay system with countless interactions between items, monsters, and the environment.
How do I run a basic nethack example?
Run `nethack` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p _role_ do in nethack?
Character role/class.