First of all, either make treasure not appear again after player collects it or make a counter, which shows how many treasure you collected. Or do both of these things.
Secondly, make a check mark to appear above an island on which treasure has been collected and make an ending (at least print "you've won").
Thirdly, make more islands.
That would make your game much better. (If after you would want to make game even more better - you could create a shop with upgrades; other pirates/sailors, to fight with/to cooperate with; etc.)
P.S. There is also some white zone in the east you should get rid of.