What is the main conflict in "Charlie and the Chocolate Factory"?

The main conflict in "Charlie and the Chocolate Factory" is between Willy Wonka and some of the children who visit his chocolate factory. In particular, the conflict arises when the children, with their various flaws and negative traits, fail to follow the rules of the factory and end up suffering consequences for their actions. Willy Wonka, the eccentric and enigmatic owner of the factory, must navigate these conflicts and ultimately determine who is worthy of receiving his greatest prize: the keys to the factory.