3 ms·
Yes! https://github.com/krajj7/BotHack https://github.com/krajj7/BotHack https://www.reddit.com/r/nethack/comments/2tluxv/yaap_fullauto_bot_ascension_bothack/
by schoen 9y ago
Yes!
https://github.com/krajj7/BotHack https://github.com/krajj7/BotHack
https://www.reddit.com/r/nethack/comments/2tluxv/yaap_fullauto_bot_ascension_bothack/ https://www.reddit.com/r/nethack/comments/2tluxv/yaap_fullau...
Edit: I remember looking at BotHack at the time and being surprised at how extensively and elaborately hard-coded the strategy and evaluations were. This is definitely not machine learning!
Edit 2: HN discussion at the time: https://news.ycombinator.com/item?id=8990869 https://news.ycombinator.com/item?id=8990869
- Twirrim 9y agoI 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/behaviors.clj#L43 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)))))