nethack

Help me to port this NetHack function to Python please!

Hi, I am trying to write a Python function which returns the same moon phase value as in the game NetHack. This is found in hacklib.c. I have tried to simply copy the corresponding function from the NetHack code but I don't believe I am getting the correct results. The function which I have written is phase_of_the_moon(). The functio...

Building a NetHack bot: is Bayesian Analysis a good strategy?

A friend of mine is beginning to build a NetHack bot (a bot that plays the Roguelike game: NetHack). There is a very good working bot for the similar game Angband, but it works partially because of the ease in going back to the town and always being able to scum low levels to gain items. In NetHack, the problem is much more difficult, ...