a game in C++