I'm making a real-time risk-like game in Python. Players can move armies from one region to another. I want army movement to take time proportional to the distance between the two regions, therefore I need to keep a new timer every time an army moves from one region to another (until the army arrives).
I've thought of 2 ways to do this:
One way is to have a list of moving troops and do a for loop through this list every iteration of the main server loop to check if the time is up for each unit.
Another way is to create a new thread for each moving troop and have the run() method of the thread continuously check whether the time is up yet for the unit.
Which way is better?