knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Introduction

NetHack is a game released in 1987 that is still being played and developed today. NetHack is a roguelike game, meaning that is has procedurally generated dungeons and permadeath. If you die, you have to start over, and because the dungeons are procedurally generated, this means that you cannot learn the layout of the dungeons you're exploring or know when ennemies are going to attack or even what ennemies are going to attack. Ennemies are not the only thing that you have to be careful about; you can die from a lot of different events, as you will see in this post. Objects that you find, such as a silver ring, might be helpful in a run, but be cursed in the next run.

There are public servers where you can create an account and play the game.

The dataset

This dataset is a dump of extended log files from the alt.org public server that was generously provided to me by Pasi Kallinen. It contains 6855 rows and 22 columns:

It covers games played from the 28th of April 2018 to the 05th of November 2018.

The functions included

This package contains two functions:

NetHack produces extended log (xlog) files once the game is over. These files are the source of the data. You can find xlog files on public servers, for example here \url{http://archive.fo/NM96Z}, or use the ones generated from your own games. Get dumplog gets the associated dumplog file. A dumplog is a text file that is generated at the end of the game and which contains the last events that happened in the game. This is an example of dumplog \url{http://archive.is/7awsb}.



b-rodrigues/nethack documentation built on May 13, 2019, 5:21 p.m.