I am actually having fun doing some programming right now. There is actually a problem I have I can solve with programming lol. Something that helps when I want to learn new stuff.
Allow me a quick tangent to explain what the goal is....
I really like playing the konosuba TRPG at the moment. I found two comfy groups to play with keeping me busy at the weekends (for 2 of any given month atleast)
I kinda was not the biggest fan of all the math I needed to do to create a character (especially since you have to redo lots of math when leveling up)
Since I don't really know any programming language. I made what everyone would do. Create a Spreadsheet. That was ... fun. I did get it to work how I wanted in the end. Which is cool. Really proud of what I made.
There is one problem. If I have to update the sheet for any reason (like wrong formulas or correct and add new skills) my players need to rebuild their character in the new sheet from scratch. It does not take too much time to do. But is something one could avoid.
I had that idea for a long time now to create a little program for this instead with a GUI component that is separate from the database portion (even a proper one!). So I could update the database any time I wanted and the players just need to drop in the new database and be done.
(And yes I did use the spreadsheet as a sudo-database maybe not the best decision oh well)
I have choosen python for the project since its all I really know even the tiniest bit (not that I know that much of it anyway, but debugging it is kinda nice I suppose...) from building a web scraper with it once.
I knew you could build GUIs with python. So I started searching around. Found pySimpleGUI and started with that only to get limited quite quickly and throwing that idea in the bin.
I found tkinter, which is a standard library in any python install. This is great since my players only would need python on their PCs as of now. I will likely need to add a dependency later for sqlite anyway, but why pull more stuff then necessary right?
The tkinter-GUI looks kinda bland and dated but it works so
I am starting to figure out some stuff and have made some progress. Right now I am just building the GUI without (much) logic behind it. Just so I have everything in place in terms of variables later. The screenshot shows my progress so far.
I already figured out how to make Input Boxes, Labels, Dropdowns and Tabs (weee)
That table at the bottom is built likely absolutely horribly but I needed many variables to do math with... So each column and row has its own variables. with lovely names as "Base_Stat_Attribute_Strength" and "Class_Mod_Strength" and "Class_Mod_Strength_Number"
That should help me atleast to implement the logic easier later.
I started using Code-OSS for this project and have to say that microsoft does have build a nice editor for code. I could even add a Python debugger later which makes testing the file easier (instead typing commands to start the file into a terminal).
The one thing I saw in pyCharm which Code-OSS does not seem to have (yet?) is a nice list of all the variables I have defined which might be nice to implement the logic later.
If anyone of you has some ideas for useful stuff in Code-OSS let me know. I only know by now I won't use PyCharm since it seems like really heavy on processing power (Laptop fans spun up for sure when I started that lol)