Glitchfinder
Staff
Coded by: Glitchfinder
Well, this was born through sheer boredom. It's a C++ project, and demonstrates the classical math paradox commonly known as the Monty Hall Problem. Although this doesn't fill the requisite 30+ minutes of game play, I hope that it's in the right place. The best description for the problem is as follows:
Suppose you're on a game show and you're given the choice of three doors. Behind one door is a car; behind the others, goats. The car and the goats were placed randomly behind the doors before the show. The rules of the game show are as follows: After you have chosen a door, the door remains closed for the time being. The game show host, Monty Hall, who knows what is behind the doors, now has to open one of the two remaining doors, and the door he opens must have a goat behind it. If both remaining doors have goats behind them, he chooses one randomly. After Monty Hall opens a door with a goat, he will ask you to decide whether you want to stay with your first choice or to switch to the last remaining door. Imagine that you chose Door 1 and the host opens Door 3, which has a goat. He then asks you "Do you want to switch to Door Number 2?" Is it to your advantage to change your choice?
Although this board requires 5 screenshots, the fact that this is entirely based in the CMD window means that, for the most part, there is no real difference between screenshots, aside from the actual results of the game. However, I will give 5 screens, in an attempt to actually follow the rules of this board.
Game play is actually very simple. You open the executable, and it shows some text and asks you to choose a door. You enter an integer from 1 to 3, and the game reveals the goat. Then, you will be prompted to select whether you want to change doors, or to stick with what you've got. Then, it will print out the results. I'm not entirely certain that it is working properly, so I'd like feedback on that matter. Anyway, the download is below.
Download Here