A shared, dynamic AI module for freeciv