They relied on cleverness. You know that because they came up with the plan to leave a large wooden horse and they pretended to sail away. This made the Trojans think the Greeks were surrendering so they celebrated. But as we know the horse was filled with Greek soldiers prepared to attack.