Pirate themed JavaScript game