Computers and Technology

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:40, math31343
Gabe wants to move text from one document to another document. he should copy the text, paste the text, and open the new document highlight the text, select the cut command, move to the new document, make sure the cursor is in the correct location, and select the paste command select the save as command, navigate to the new document, and click save highlight the text, open the new document, and press ctrl and v
Answers: 1
image
Computers and Technology, 23.06.2019 12:00, xojade
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
image
Computers and Technology, 23.06.2019 15:30, Dweath50
The processing of data in a computer involves the interplay between its various hardware components.
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
Do you know the correct answer?
Implement a tkinter-based GUI program for a simple math game. Your program should present randomly g...

Questions in other subjects:

Konu
Mathematics, 10.02.2021 07:20
Konu
Mathematics, 10.02.2021 07:20