NetHack Code

You can find multiple versions of the NetHack Code at http://www.nicolaas.net/erebus/nhcode/