NetHack 2.2a/topten.c