Monty Hall Problem Game

Post your nifty GP projects here!

Moderator: MSandro

Post Reply
doloop
Posts: 3
Joined: May 24th, '17, 02:32

Monty Hall Problem Game

Post by doloop » May 25th, '17, 15:13

I'm familiarizing myself with GP. I created a project that plays out the famous "Monty Hall Problem". See Wikipedia and here.

It would be a good "starter project" for students using GP to learn programming because it is an interesting statistical problem and because it could use GP's graphical abilities (with sprites, costumes, etc) to "really dress it up."

By the way, the game is simply a sequence of steps but for some reason (unknown to me) when I used "wait" blocks (of 1 second) to slow things down a bit, the program seemed to stall. Therefore, I converted it to use message broadcasts to control the program flow.
Attachments
MontyHallProblem-msg.gpp
(16.55 KiB) Downloaded 58 times

Post Reply