This is not really a game. This computer model shows the Monty Hall problem. Here you can read more about it - "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. You pick a door, say No. 1, and the host, who knows what's behind the doors, opens another door, say No. 3, which has a goat. He then says to you, "Do you want to pick door No. 2?" Is it to your advantage to switch your choice?" [attachment=0:2kna438n][/attachment:2kna438n] .
I put everything together with the source code.
p/s. You certainly can fix and change anything. All in your hands.
Sorry but the text of the annex Russian, but some things can be understood. That is the principle of work.
and yes I am sorry for my english, I am from Russia. Thank you for your attention.
download here [attachment=1:2kna438n][/attachment:2kna438n]