HexCompiler (DnD Coder) Update [WIP]

Posted by Nara39@reddit | Python | View on Reddit | 1 comments

HexCompiler here, back after being quiet for a few months. A lot of progress has been made on the dnd5e code.

In case you do not remember my code aims to collect various information from a player in dnd5e and generate a character sheet using that information.

After my previous post that did gain traction, I changed the code to be Object-oriented-based and also refactored it.

But after that in my Update version, I continued refactoring it, moved all level-based information to its own update file, added a save/load feature, and at long last proofing my choice-making loops against incorrect choices (like a number outside a range, or a letter instead of a number), and adding Weapons from the Inventory into an Attack/Spellcasting Dictionary, combining those with race weapons, and filling out the AttackSpellcasting section.

I wanted to provide an update but I am also seeking assistance with testing this code and wanted to advertise both my new repository (I am using a 'proper-dnd_code' repository) and a discord where chatting is a bit easier.

On the repository is 5 versions of my code, emphasizing the steps taken thus far; each complimented with a Dev-Log trying to detail what each folder does. The most current code is v5.

To appease the Python Mods (thank you for notifying me)

This code is still and will be a work in progress for a very long time, but I am determined to make this as best as I can.
I will be posting this on both this and the dnd subreddits.

If you want to review the code...
Repository: https://github.com/JJNara39/dndcode_proper

At the moment I am just one person, but if you want to join a discord and discuss this with me, perhaps offer tips or offer ideas to modify the code, please DM me for the discord link.