I found the treasure!
Short but decently fun. :)
I wasn't certain what I was supposed to do with the bombs at first, on the first level I thought I could use one to blow open the locked door. I figured them out on the second level.
One bug to note, if you spawn a pirate while the key is unlocking the door, you'll take damage from them while you're in the buy menu which can result in a game over.