says
def win(has_eaten_all_dots, power_pellet_active, touching_ghost):
"""Trigger the victory event when all dots have been eaten.
I don’t get the logic
Trigger the victory event when all dots have been eaten is exactly 1 condition under which the function should return True.
So, how are 3 parameters required to successfully do this?
Neither the state of power_pellet_active nor touching_ghost should matter when the condition to fulfill is: “Has the player eaten all dots or not?”