Trying to find the treasure you can look at the map in your inventory.
It says: X marks the spot. Use the shovel in your inventory on the sticks in the sand. Underneath is indeed a treasure chest. Use the chest to find it locked and so you have to find a key. You wander off to find one. Will you?
Game source: A copy of the game was found here on the internet.