Tunnels & Trolls Combat Simulator - 07 May 2019
===============================================
Introduction
------------
I made a quick *Tunnels and Trolls* combat simulator in Python today. It computes a few statistics for a straight-up battle, assuming no stunts or advanced tactics. It uses an input file to define the combat parameters, and can run a user-selectable number of trials for gross statistics. It reports percentage of wins and average hits taken.
Usage
-----
`python tnt_combat.py <combat file> [#trials]`
Obtaining
---------
The source code and a commented scenario file may be found at
[Source](
gopher://sdf.org:70/1/users/marcuson/gaming/tnt_combat.py)
[Example Combat](
gopher://sdf.org:70/1/users/marcuson/gaming/combat1.txt)
Note that the PCs's statistics must come before the monsters's statistics in the scenario file.