A snake game on 3D cube using OpenGL with phong shading