Looking forward to giving this a shot [with hopefully minimal swearing at java]
ARENA – Java Package for Simulating Original D&D Combat
This code package provides routines for simulating combat in a tabletop Fantasy Role-Playing Game (FRPG) similar to Original D&D or closely-related games. Combat is done as per “theater of the mind” without tracking exact spatial locations; targets of attacks are chosen by random method (as per 1E AD&D DMG). In most cases, the intent here is to output aggregate statistics based on many trials of the game between men and monsters. This package provides only command-line, text output; there are no graphics or visualizations, and generally few options for output regarding individual combats.
For a precompiled JAR executable made from this package, and full JavaDoc pages, visit: