Source code

2,032pages on
this wiki
Add New Page
Add New Page Talk22
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
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 ( Earlier versions are available at (

Wikihack provides an annotated version of the NetHack 3.4.3 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.

Here at Wikihack, 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!

An indicator like "(20% annotated)" indicates that someone has documented about 20% of the code for that file. All others are not yet annotated. (Please help!)

nethack-3.4.3/include Edit

nethack-3.4.3/src Edit

Other files Edit


See SLASH'EM_0.0.7E7F2_source_code.

Also on Fandom

Random Wiki