Diplomacy engine in C++