The game /usr/games/hack is currently broken.
http://marc.info/?l=openbsd-cvs&m=147343518631317
A patch that fixes /usr/games/hack is included below. The patch moves
the hackdir from /var/games to a user-specified directory. Procedures
for specifying the directory (either on the command line,
I recently wrote a patch that makes /usr/games/hack playable again.
http://marc.info/?l=openbsd-tech&m=151986187422137
But now I've noticed that hack crashes with a segmentation fault when
the user requests the inventory list while playing a previously-saved
game. I've discovered that when hack
The following patch is a slight improvement of the patch that I posted
on Thursday. In particular, this patch places saved games exactly where
the man page says they should be placed.
This patch, together with the patch that prevents segmentation faults
(http://marc.info/?l=openbsd-tech&m=1520208
Today I have discovered a second segmentation fault in /usr/games/hack.
In particular, if a game is saved while a potion of levitation is in
effect, then the restored game may crash when the potion wears off.
This problem is caused by the same sort of issue that caused the
previously-reported segme