This video shows an a simple exercice, i.e. the Gem Puzzle. This application can be realized in many different ways.