2d game implemented in OpenGl