how to create a simple animation game..(beginer)

who can help or teach me write a program about game by using OpenGL?i really confuse with it…can show me a example?