2D Cricket game using SDL library in C++