Unit:
Tried to improve the AI a little bit further. Weak units wear too
fearful and ran away forever so I increased the attractive forces by the
factor of the value (minerals+gasToMinerals*gas) of the unit causing
this force. I also added some fear value to the BaseUnit class that can
be set to further individualize the unit behaviour.
One of the biggest problems currently is that units with low attack
range and dps behave stupid against units with high attack range and
dps. They should attack together in order to distribute the damage dealt
by the enemy unit among all units, instead at the moment one unit after
the other gets killed.