Switch or Stay?

A Monty Hall Game

Behind three doors are two goats and one car. Pick a door to try to win the car. The host, who knows what's behind every door, opens a different one to show you a goat. Then you decide: keep your door, or switch to the one still closed?

Setting up the game engine (loading Python in your browser)…