subject

Implement a tkinter-based GUI program for a simple math game. Your program should present randomly generated simple math problems involving addition, subtraction, multiplication, and division of whole numbers. For addition, subtraction, division, both operands should be non-negative integers should be less than 1000. For multiplication, both should be less than 100. All problems should have positive integer answers. Do not generate problems having negative, floating point, or undefined results. Thus, for example, 4 - 6, 23 / 2, and 1 / 0 are all disallowed. You may design your user-interface however you'd like but it must:provide a way to display the current problem (this could be a Label widget, for example)provide a place for the player/user to enter their answer (this could be an Entry widget)provide a way for the user to indicate that their answer should be checked for correctness (this could be a Button widget)provide feedback on whether or not the player's answer is correctallow the player to enter and test a new proposed answer if the current answer is wrong. disallow entry of new answers for the current problem once a correct answer has been entered. keep track of the number of incorrect answers for the current problem, and display that number (with text that makes it clear what it is) in the GUI. provides a way for the player to request a new problem. Important note: your program must never presents a problem that has been presented earlier in the current game. provide a way to quit the gamesave the history of number of problems attempted, the number solved, and the average number of incorrect answer attempts per problem, and print text with this information in the Python shell when the player quits the game.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:00, tyneshiajones124
Duplicating objects creates copies that a. move differently than the original object b. erase the original object c. look and act like the original object d. add events to a game
Answers: 1
image
Computers and Technology, 23.06.2019 23:30, yasarhan2
Match the following errors with their definitions. a. #name b. #value c. #ref d. 1. when a formula produces output that is too lengthy to fit in the spreadsheet cell 2. when you enter an invalid cell reference in a formula 3. when you type text in cells that accept numeric data 4. when you type in a cell reference that doesn’t exist
Answers: 1
image
Computers and Technology, 24.06.2019 23:00, alyssa337
What is a current gdp and what is a real gdp?
Answers: 1
image
Computers and Technology, 25.06.2019 08:00, groverparham3
The heart of a computer. basic input/output systemselectmain memoryserial portcentral processing unit (cpu)
Answers: 3
You know the right answer?
Implement a tkinter-based GUI program for a simple math game. Your program should present randomly g...

Questions in other subjects:

Konu
Mathematics, 28.07.2019 09:00