I am making a administration sport within the vein of Anno or Stellaris, however I am uncertain the best way to handle all my information effectively.
Quick instance: the participant controls a number of islands. Every island has factories on it. A manufacturing facility has inputs, a course of that does one thing with the inputs, and outputs. The method will depend on the inputs and the outputs and different parameters. The outputs could possibly be one other factories enter. A manufacturing facility wants human employees. Human employees have stamina … … …
So the query is: how do you handle a lot information and processes programmatically? And it isn’t solely about working many processes concurrently, in addition they rely on one another and the information, use one another, inform one another – on every tick. You additionally want the flexibility to get info out of these sub processes and put information into it at any time.
I am struggling to give you a system/codebase that might deal with these issues. I’ve select C#/dotnet core since I assume it has one thing to do with threading, however I nonetheless have not bought something that works.