Basic turn base combat system in C++