Source code
Source code |
---|
1.0 - 1.3d - 1.4f - 2.2a - 2.3e - 3.0.0 - 3.1.0 - 3.2.0 - 3.3.0 - 3.4.0 - 3.4.3 - 3.6.0 - 3.6.1 |
SLASH'EM 0.0.7E7F2 - SLASH'EM 0.0.7E7F3 (incomplete) |
Statistics - Source diving - Annotations |
Source code is the code of a program that is not yet compiled into an OS-usable binary. NetHack is programmed in C, a portable language that compiles on many systems. The NetHack programmers, the DevTeam, are a dedicated but conservative bunch, releasing new versions very infrequently. The latest NetHack sources are available at (https://www.nethack.org/v367/download-src.html). Earlier versions are available at (https://www.nethack.org/common/index.html).
NetHackWiki provides an annotated version of the NetHack 3.6.1 source code. The original source code is distributed under the NetHack General Public License; our annotations use the GNU Free Documentation License. Read Project:Copyrights for detailed copyright information.
Most source files are marked up with line numbers that can be directly linked to - see NetHackWiki:Source file line numbers.
Here at NetHackWiki, anyone, including you, can annotate the source code. You can get an overview of the sources by reading the Beginner's Guide To NetHack Sources or just dive in!
Files that are annotated should have an indicator, e.g. "(20% annotated)", that displays how much of the code is documented for that file - anyone that is capable and willing to help along the process should do so when they can. We at NetHackWiki appreciate your efforts!