I’ve done some demos using OpenGL and the awesome toolkit GLUT.
A simple program, where the user can change RGB values in the bars and the background will change to the corresponding RGB value.
In this game we change the balls inside the transparent box in order to make 3 in a row of the same color. This simple game have some cool features, like, the selection box rotates, the balls have specular reflections of a rotating light in scene and the balls inside the selection box will shrink and expand in a animation loop.
If you want to mess with this programs get the source at: https://github.com/shaggy-spiral/sample-code