HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
krajj7
BotHack
Clojure2015–2022
krajj7 / BotHack · Archived

BotHack

BotHack – A Nethack Bot Framework

10Distinct people
13Mentions
0Explicit recommenders
239GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

BotHack – A Nethack Bot Framework

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year13 dated mentions

Observed mentions: 2015-02-02 22:40:08 UTC to 2022-11-12 22:03:39 UTC.

012342015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 4 mentions; 2 submissions, 2 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2022

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC422
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC202
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC404

What Hacker News says

13 sources
The first known full-auto bot ascension happened back in 2015. https://www.reddit.com/r/nethack/comments/2tluxv/yaap_fullau... Previously discussed: https://news.ycombinator.com/item?id=8990869 The code: https://github.com/krajj7/BotHack It was very carefully written in Clojure, and the result is some beautiful and fairly self explanatory code. The bit that ties everything together to define the way the bot behaves: https://github.com/krajj7/BotHack/blob/master/src/bothack/bo...
In The NetHack Learning Environment
I found the source code to be absolutely fascinating, beautifully written, easy to parse and understand why and how various actions will happen. Here's an example method: https://github.com/krajj7/BotHack/blob/master/src/bothack/be... (defn- read-book [game] {:pre [(have game book #{:noncursed})]} (if-not (invocation-complete? game) (if-let [[slot _] (have game "Book of the Dead")] (with-reason "reading the book" (->Read slot)))))
In The NetHack dev team is happy to announce the release of NetHack 3.6.1
That's a shame. For a human, each game played helps to make the person better at all games. Play enough adventure games, for example, and one begins to recognize so many of the patterns and tropes at work that the solutions to puzzles jump out obviously and immediately in a single play-through. Moreover, we already have machines that are extremely proficient at solving very complex games when given enough context: expert systems. One very notable example is the bot which successfully completed the game NetHack [0]. Would DeepMind's novelty-based reward technique work for NetHack? [0] https://github.com/krajj7/BotHack
In Deep Mind Playing Montezuma's Revenge with Intrinsic Motivation [video]
Since I'm not a Go player but am a NetHack player, I got more personal appreciation out of BotHack's achievement from last year than from AlphaGo's victory. That was also something that I hadn't expected to see for years to come; you can see from the bot comparison page https://taeb.github.io/bots.html that no other bot had really come anywhere close to ascending before BotHack pulled it off. It's interesting to see that the winning approach was GOFAI https://en.wikipedia.org/wiki/Symbolic_artificial_intelligen... -- that is, the author taught the bot human-level rules and concepts based on human knowledge about the game. It wasn't a deep learning or neural net system; there is specific code about what altars do, how to fight mind flayers, or whatever. For instance, here's a hard-coded list of corpses to avoid eating. https://github.com/k
Read the rest
In NetHack: The Greatest Game You Will Ever Play

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.