Developing tetris game using c++ and openGL