Source code for pirate adventure game for iOS learning