The game of Nim in OpenGL