Smash Up the game in c++