# Source code statistics
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

NetHack 3.6.1
204,374
2018

Method: wc -l src/*.c include/*.h
For comparison, the Linux kernel source is 1,322,955 lines.

This page may need to be updated for the current version of NetHack.
It may contain text specific to NetHack 3.6.0. Information on this page may be out of date.
Editors: After reviewing this page and making necessary edits, please change the {{nethack-360}} tag to the current version's tag or {{noversion}} as appropriate.