Object-Oriented Dungeons & Dragons
Published in
9 min readMar 25, 2021
This post is a follow-up of a short exchange between BenMauss and me when I commented on his Dungeons & Dragons themed code to illustrate the principles of object-oriented programming: OOP with D&D: Inheritance.
When I was a teenager, I played Shadowrun with friends. I hold dear memories of that time, and I also always wanted to play these games on a computer, so I thought I might give it a shot and provide an example on my own.
I am not 100% familiar with the rules, so I might unintentionally implement these rules in the wrong way.