How countries fight their wars