This program uses Python's random number library to create various simulated dice rolls. The current dice combinations are limited since the CMRPG doesn't require a lot of different "dice", but it's easy enough to modify it. You can download the source code.
Additionally, it's not object-oriented. I'm still not well versed on OOP so my current programs are procedurally based. When my OOP skills get better I plan on rewriting my procedural codes with OOP practices, if necessary.