Your goal is simple. Protect your castle from the invasion. The pirates also have a simple goal. Their goal is to penetrate your defenses and destroy your castle.