I took the java version from https://cosmicheroes.space/blog/index.php/2021/12/27/wilderness-simulator-stats/
and converted to python – there’s a jupyter notebook here:-
Remarkable, Incredible and Amazing nerdiness
I took the java version from https://cosmicheroes.space/blog/index.php/2021/12/27/wilderness-simulator-stats/
and converted to python – there’s a jupyter notebook here:-
https://deltasdnd.blogspot.com/2021/12/wilderness-simulator-stats.html
https://github.com/danielrcollins1/WildernessEncounterSim
“One more reflection on the Original D&D wilderness encounter charts. Last week we were using some tabulated charts to decide between two possible rules interpretations, and one was clearly much nicer. But that was based on just looking at the average EHD (Equivalent Hit Dice) for each encounter type, which is maybe a little sketchy. Since I’m obsessive about these things, I wrote a simulator program that actually rolls up the individual encounters (varying the number appearing by psuedo-random dice), and I had it spit out a thousand random encounters for each terrain type.”
This all looks like pretty reasonable results to me!
https://github.com/danielrcollins1/Arena
Looking forward to giving this a shot [with hopefully minimal swearing at java]
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: