Final game in C++