Sunday, August 03, 2025

Traveller System Generator Update 18

I had a bit of time this weekend and cleaned up the planet details page to include the hex code and names for a few more things, and added the service to generate a system to create from an existing main world or from a system ID.

some better information and generate system option

The plan (and I've not done more than update the controllers and views to verify things will get called and go to the right place) for the service is that it can be initiated from two places:

  1. from the planet details page. Selecting this will:
    1. see if the main planet is attached to a system already. if not, exit with "we need a system" type of error
    2. if the system has any planets other than that main one already created, just return the system ID and go to the system details page
    3. else create a new system based (initially) on Book 6 Star System Generation Checklist (p24) and return the system ID and go to the system details page
  2. from the system details page, similarly:
    1. if there are any planets already in that system, return the ID and go to the system details page
    2. generate the system from scratch and go to the details view with that ID
I also created a "Contracts" folder in the services directory to put all the interfaces (which are basically a contract for the software to know what things are supposed to do. Never really used them much before but now I am finally seeing their usefulness for this type of development). Just an organizational thing - I've repeated many times I do like organizing things, but sadly I am really bad at it most of the time.

Anyway - did make some progress at least. Slow as it is just for me to play as there are already several systems out there, some really nice ones hooked into the TravellerMap site. But I just like to play with things like this. Always interesting to see how other people do things. Mine is probably more enterprise-like in a few ways though, as that is what I do for a living (the author of the TravellerMap I want to say works at Google and think his map is also very enterprise-grade software, and one of these days I am going to have to download his GitHub repo as it is written in .NET (an older version based on the read me) and so I should be able to figure it out!

Related Posts for Traveller System Generator

https://traveller-ct.blogspot.com/2025/04/traveller-system-generator-part-1-of.html

https://traveller-ct.blogspot.com/2025/04/traveller-system-generator-part-2-of.html

https://traveller-ct.blogspot.com/2025/04/traveller-system-generator-part-3-of.html

https://traveller-ct.blogspot.com/2025/04/traveller-system-generator-part-4-of.html

https://traveller-ct.blogspot.com/2025/04/traveller-system-generator-part-5-and.html

https://traveller-ct.blogspot.com/2025/04/traveller-system-generator-part-6.html

Part 7 towards the bottom here

https://traveller-ct.blogspot.com/2025/05/traveller-system-generator-part-8.html

https://traveller-ct.blogspot.com/2025/05/traveller-system-generator-part-9.html

https://traveller-ct.blogspot.com/2025/05/traveller-system-generator-part-10.html

https://traveller-ct.blogspot.com/2025/05/traveller-system-generator-part-11-and.html

https://traveller-ct.blogspot.com/2025/05/game-switching-traveller-system.html

https://traveller-ct.blogspot.com/2025/05/traveller-generator-part-13-settings.html

https://traveller-ct.blogspot.com/2025/06/traveller-system-generator-part-14.html

https://traveller-ct.blogspot.com/2025/06/traveller-system-generator-part-15-and.html

https://traveller-ct.blogspot.com/2025/06/traveller-system-generator-part-16.html

https://traveller-ct.blogspot.com/2025/07/traveller-system-generator-17-minor.html

No comments: