Official NetHack Git Repository (by NetHack)

NetHack Alternatives

Similar projects and alternatives to NetHack

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better NetHack alternative or higher similarity.

NetHack reviews and mentions

Posts with mentions or reviews of NetHack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-17.
  • Eglot + clangd not working for NetHack code base
    3 projects | /r/emacs | 17 Jun 2023
    My configuration of Eglot is simple: (use-package eglot :hook (c-mode . eglot-ensure)). And it works for a single c file. But when I use this setup to read the code of NetHack, it doesn't work for linting and definition finding (M-.), even though eglot connection has no problem. I observed the same problems when reading the code of SQLite. Some specific problems I observed:
  • First version of nethack with a bestiary?
    2 projects | /r/nethack | 3 Jun 2023
    Since nethack 3.1.0, the source for nethack's "bestiary" has been dat/data.base, in plain text, processed into a file named "data" when building the program. The unprocessed file intended for the nethack's next version can be seen at (it's quite long).
  • NetHack 3.6.7
    2 projects | | 16 Feb 2023
    Oh jeez, this fixes CVE-2023-24809 - i.e. nethack on shared systems may be risk due to buffer overflow in pre-3.6.7 versions.

    I was looking at the list of diffs with some confusion about why it's such a small point release ( ) before I re-read the release notes and saw the security issue.

  • Analyzer for Nethack idea - problem with getting data from another program
    2 projects | /r/roguelikedev | 16 Feb 2023
    For NetHack, part 1 comes up quite frequently because people like to port the game to new platforms / user interfaces, so there's a "windowport" system which exposes interfaces for gaining information about what the player can see – all the game's UI routines go through a small set of functions, which can be swapped out by recompiling the game (or you can even build NetHack as a library nowadays, so that you can link your own user interface against it). If you wanted to intercept part of the information about what the player could see, the easy way would be to modify an existing windowport to see that information and pass it to your interception tool (although this would require changing the game's source). If you were really set on not changing the source at all, you could probably use some sort of debugger API to intercept calls to the windowport, but changing the source is probably easier.
  • game development with c
    3 projects | /r/C_Programming | 26 Sep 2022
    Tangentially related, this repo contains one of the greatest games ever made in C and once you have your feet wet would be very educational to look over.
  • Ask HN: What's the best source code you've read?
    46 projects | | 10 Sep 2022
  • Good open source games written in C?
    8 projects | /r/C_Programming | 4 Sep 2022
    Rogue, nethack, and Abuse come to mind, and then pretty much all the old id software stuff, along with the raven engine. These SDL tutorials might be of interest to you too, they are basically in the format of game sources with detailed explanations.
  • C Roguelike Resources?
    8 projects | /r/roguelikedev | 15 Apr 2022
  • Note for Nethack Programmers
    3 projects | /r/nethack | 24 Mar 2022
    Congratulations! The dev team did something about your request. It's not what you wanted though.
    3 projects | /r/nethack | 24 Mar 2022
    EDIT: The relevant commit:
  • A note from our sponsor - WorkOS | 24 Feb 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →


Basic NetHack repo stats
3 days ago
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.