Candy Sales models the competition of three different candy companies and the response of the consumer market.
Kids, represented by agents in the environment, are the consumers in the simulation. Each kid lives in one of five towns and always have a favorite type of candy. They will purchase this specific candy every day unless they switch to another type through the influence of another or by accident. Kids can only influence one another if they live in the same town. Therefore, kids have a random chance of moving to another town every time step as represented by their height.
The color of an agent represents the current favorite candy of a kid while height represents where the kid lives.