It is a bit difficult to learn, but you can start at this outstanding
OpenGL tutorial. But you have also the problems of networking and data protocol for interaction at both players. So be sure that the online features are working
before you dive into some OpenGL fine tuning.