you can use gpu to calculate things and get return data, but that is beyond opengl
as for pawn, i would split pawn into 2 subclasses: PawnWhite and PawnBlack, since they move very differently
for selecting a piece, you would have to use a window-library that gives you mouse events and the like
java already has this
EDIT: i see now that you intend to use c++, then i recommend freeglut or glfw for opengl frontend
this should get you started though (if indeed you have to use c++, since its quite a bit harder learning curve for opengl)
sorry for the short reply, and good luck