The artificial intelligence that commanded the armies