Source code statistics

From NetHackWiki
Jump to: navigation, search

The NetHack source code has grown considerably since Hack 1.0:

Version Lines of code Year
Hack 1.0 14,652 1984
Hack 1.0.3 19,261 1985
NetHack 1.3d 28,916 1987
NetHack 1.4f 29,525 1987
NetHack 2.2a 31,334 1987
NetHack 2.3e 32,891 1988
NetHack 3.0.0 60,939 1989
NetHack 3.1.0 96,688 1993
NetHack 3.2.0 115,858 1996
NetHack 3.3.0 132,643 1999
NetHack 3.4.0 145,530 2002
NetHack 3.4.3 152,673 2003
NetHack 3.6.0 189,649 2015

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

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