General c++ console game