2D game written in C++ with Xlib