ID:156447
 
I'm making a strategy game that will run on a timer for turns. My question is how do i make a turn based on say 5 seconds of game time and make it generate the resources i mentioned in my Code Problems that are specific to certain cities,mines etc. (No this isnt a crosspost I'm sorry if it seems like that i need a basis for my turns)
You should make a skeleton of what you want and translate it in to DM - it is much easier than you think.

For example: [link]

As you can see, the turn part of the system is due to the while() loop.