set the slider to either switching or no switching, then press the green flag. press space to pause the simulation to see one instance of the actual game. you'll understand the project a lot better if you know what the monty hall problem is. after reading about it, you can use this simulation to see that switching from your initial choice gives you better odds.
read about the monty hall problem here: https://en.wikipedia.org/wiki/Monty_Hall_problem the monty hall problem is based on a game show and goes like this: there are three doors. behind one is a car, and behind the other two are goats, which were placed randomly. your goal is to choose the door with the car. you first choose any door, and then one of the two other doors that contains a goat is opened. you have a choice whether or not you want to switch your selection to the other door that has not been opened, or if you want to keep the one you already picked. would it be to your advantage to switch, or to stay?