Question
Write a program to play Three Button Monte. Your program should draw three buttons labeled Door 1' Door 2' and Door 3
Write a program to play "Three Button Monte." Your program should draw
three buttons labeled "Door 1' " " Door 2' " and "Door 3" in a window and
randomly select one of the buttons (without telling the user which one
is selected) . The program then prompts the user to click on one of the
buttons. A click on the special button is a win, and a click on one of the
other two is a loss. You should tell the user whether they won or lost, and
in the case of a loss, which was the correct button. Your program should be
entirely graphical; that is, all prompts and messages should be displayed
in the graphics window.
Chapter 10, Programming Exercises #3, pg 359. Draw a mock-up of the GUI--a hand-drawn picture is fine. Write the pseudocode for this program and submit that as part of your answer. Do not write Python code for this.
How would you modify the Button class in the chapter to create oval buttons instead of square buttons? Just state what you would change, do not submit source code.
the Program is python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started