Press the green flag and wait for the treasure map to be created. One of the tiles contains the hidden treasure (can be in the sea). Click on the tile to investigate. You will get a clue depending upon how close you are: cold -> warm -> hot -> boiling. Try to find it in as few guesses as possible!
Creating projects from "The little book of programming challenges" for the children at my school to use for help.