The NetHack source code has grown considerably since Hack 1.0:

VersionLines of code
Hack 1.014,652
NetHack 1.3d28,916
NetHack 1.4f29,525
NetHack 2.2a31,334
NetHack 2.3e32,891
NetHack 3.0.060,939
NetHack 3.1.096,688
NetHack 3.2.0115,858
NetHack 3.3.0132,643
NetHack 3.4.0145,530

Method: wc -l src/*.c include/*.h

For comparison, the Linux kernel source is 1,322,955 lines.

Community content is available under CC-BY-SA unless otherwise noted.