NetHack/NetHack
FreeOfficial NetHack Git Repository
FreeFree tier
About NetHack/NetHack
NetHack is a single-player dungeon exploration game, a distant descendant of Rogue and Hack, and a direct descendant of NetHack 3.6. The 5.0.0 release introduces enhancements including C99-compliant source code, cross-compiling support, and Lua-based level and dungeon compilers that replace the previous build-time tools. The game features automatic annotation for certain dungeon areas and strives for architectural improvements. The repository contains source code, documentation, and build files for the NetHack community.
Key Features
C99-compliant source code for improved portability
Cross-compiling support for building on one platform and running on another
Lua-based level compiler and dungeon compiler replaced yacc/lex-based tools
Automatic annotation of the vibrating square level once its location is known
19,116 commits and active community development
Pros & Cons
Pros
- Open source with permissive license
- Active development with frequent commits (19,116 as of repository)
- Cross-platform potential due to C99 compliance and cross-compiling support
- Rich history and large community of players and developers
Cons
- As a .0 version may contain bugs
- Some documentation entries may be considered spoilers for gameplay
- Requires familiarity with roguelike mechanics for effective play
Best For
Playing a classic dungeon exploration roguelike gameContributing to NetHack development via bug reports, pull requests, or suggestionsStudying game source code for educational purposes or porting to new platforms
FAQ
What is NetHack?
NetHack is a single-player dungeon exploration game, a descendant of Rogue and Hack, and the direct successor of NetHack 3.6.
What is new in NetHack 5.0?
NetHack 5.0 includes C99-compliant source code, cross-compiling support, and Lua-based level/dungeon compilers that replace the old yacc/lex-based tools. It also adds automatic annotation for the vibrating square level.
How can I contribute to NetHack?
Contributions are welcome via GitHub pull requests, bug reports, and constructive suggestions. The repository also provides files like 'Contributing.md' for guidance.