2D Game in C++