Ships don\'t have a timeout on their target.
Status: Pre-Alpha
Brought to you by:
megagun
When you spawn many ships belonging to multiple factions, it often happens that they all happen to \"go in a circle\", since each ship is targetting another ship that is effectively \'escaping\' the attacking ship.
Consider the following scenario of ships targetting other ships:
A -> B
B -> C
C -> D
D -> A
If one of these ships starts moving clockwise relative to the center of the universe, all other ships will likely follow, causing none of the ships to eventually destroy another. For an example of this, see the attached screenshot.
Proposed solution: have a \'timeout\' on the Order class that specifies for how many game ticks this Order is valid. If the order times out, remove it from the order queue.
Ships escaping other ships. They'll never destroy eachother.