Use the arrow keys to move around, collect all the "treasure" and go out the exit. Don't be crushed by falling boulders, click restart if you get trapped (restarting loses a life).
A context menu should be shown when right-clicking or, on touch devices, long-pressing in the game. This menu especially allows to play in full screen and control the volume.