RPG turn-based fight engine, for cpp basic course