Here's the source code if anyone's interested in building off this: https://github.com/wadlo/open-combat-engine