Use the right and left arrows to move the diver. To collect treasure, the green diver has to be touching the treasure chest (and not the red diver) and press the up and down keys alternatively. However, if the red diver is touching, the green diver loses health points. Press "l" to turn the lamp off and on again to perhaps learn a few extra hints.