Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Monday, June 24, 2019

Automating Architect of Worlds Update

Lately I've been learning a lot about Python and how it handles objects through another side project, and I'm starting to see where I should go back and rework what I have so far for Architect of Worlds. This comes at a good time, since I've gotten up to generating everything but moons, and that step is looking like it will be a bit more intensive than the text suggests - in terms of programming, that is.

So I think my next step will be to go through the original code, clean it up as much as possible and implement a cleaner data management system. I also want to break out a couple of bits into their own functions so they can be reused whenever necessary...I'm looking at you, orbital placement! Once this is done, I'll proceed to do moon placement.

I also have a couple of questions about the model being presented, since it doesn't appear capable of producing the insane number of moonlets our gas giants have (79 for Jupiter and 62 for Saturn). Mind you, in terms of storytelling, most of those moons are inconsequential, but knowing their total number is helpful, and if I know that, I can place them automatically and develop them from there. So, because my application doesn't involve a human rolling dice and interpreting results, I don't see an issue with rolling up 120+ moons no one will ever care about visiting.

Also, When you roll things up randomly, sometimes you get interesting results that spark creativity. So I'd rather roll up a bazillion moons and risk getting a GM's creative juices flowing than say, "There are a lot of them, and they probably won't be interesting enough to justify the time you'll spend rolling dice to generate them." But that's because of the medium, not a fault in Jon's system by any means.

So that's my plan. I'll keep you updated on progress. Hopefully I"ll have enough put together to use soon!

Monday, April 8, 2019

Automating Architect of Worlds: Update

I recently reached Step 10 - Place Dominant Gas Giant in my quest to automate Jon Zeigler's Architect of Worlds star system generation system when I read his post on how reality is impinging on his development plans. While I agree with his approach, it got me thinking about how I want to deal with this particular issues and future updates to the program.

Friday, March 8, 2019

Automating Architect of Worlds

I've been using the Architect of Worlds system as a small side project to get some extra experience doing non-numerical-solving things in Python, and I am up to Step Eight of the Star System Creation bit. So far, its going amoothly, but I think I'm reaching a point where I need to sort out how to handle all the data being generated.

I'm currently thinking that I'd like some sort of parent-child structure so moons belong to their planets, and planets belong to their primaries, which in turn belong to their systems. I've never had to do this sort of data handling before, so this will be a good learning experience.

I'm also hoping to round out the sequence by generating as much of the non-gaming-information available on a typical Wikipedia page as possible - stuff like flattening, surface area, etc. Ultimately, I'd love for this to output a database I can keep in Access and use to generate pretty system reports for players with a couple of button clicks. I have no idea if I can pull that off, but I'll definitely learn a lot trying.