The kind of simulation game that I have in mind is the kind where you have things to build in various locations and workers/transporters that connect such locations.
Something more like the Settlers series.
Let's assume I don't want any graphics at the moment, that I think I can manage.
So my doubts are the following:
- Should every entity be a class and each one have a thread?
- Should entities be grouped in lists inside classes and each one have a thread?
If one takes implementation 1, it's going to be very hard to run on low spec machines and does not scale well for large numbers.
If one takes implementation 2, it's going to be better in terms of resources but then...
How should I group the entities?
- Have a class for houses in general and have an Interface List to manage that?
- Have a class for specific groups of houses and have an Object List to manage that?
and what about threads?
- Should I have the simplistic main game loop?
- Should I have a thread for each class group?
- How do workers/transporters fit in the picture?