ITS Algorithm and Python Assignment 1 ITS Python Assignment Objective: Take an existing working Python program and change it to have a Graphical User Interface. Program details: The program is a...

Rock paper scissors gamei will attach the codes for this game it is required to be Tkinter GUIAlso i need counter for winnings for both computer and playerAdd pic for each choice ( Rock, paper and scissor)and don't forget basics codes don't use professional style !
all what you need to do will be attached



ITS Algorithm and Python Assignment 1 ITS Python Assignment Objective: Take an existing working Python program and change it to have a Graphical User Interface. Program details: The program is a classic Rock, Paper, Scissors game. The user must select either Rock, Paper, Scissors or quit. Input: The user enters R for Rock, P for Paper, S for Scissors or Q to Quit. Processing: A random function is used to let the computer choose wither Rock, Paper or Scissors. The user’s choice and the computer’s choices are compared to see who wins, using the following rules:  Rock = Rock, Paper = Paper, Scissors = Scissors  draw  Rock beats Scissors  Paper beats Rock  Scissors beats Paper The game should be in a loop until the user selects Quit. Output: The program will tell the user who won the round. Modifications to be made: 1. Download the program RockPaperScissors.py from Moodle. 2. Change the program so that the input and output does not take place in the Python Shell, but in a Graphical User Interface:  Use the tkinter module.  Use buttons and/or radiobuttons. 3. Draw a design of what your window will look like. Notes and tips: 1. You may change the comments that the program produces to express who wins in different words. 2. Make small changes to ensure that you can control any errors. 3. You will get marks for proper and informative comments throughout your code 4. Ensure that you test your code! 5. Make sure you use meaningful variable names 6. Make sure your program is user-friendly, i.e. use full sentences in input and print statements. 7. If your final product does not work, don’t worry, you will still get marks for the code that you have attempted in this assignment 8. You may use buttons only, or a combination of buttons and radiobuttons. ITS Algorithm and Python Assignment 2 9. If you want to add other interesting aspects to your program, you may do so, and may get extra marks, but only if all of the required aspects are working: a. A counter to count how many the user won and how many the computer won b. A reset button c. Colours Deliverables 1. The design sheet. 2. The modified Python code. You may use the following website for information on the tkinter module: https://www.tutorialspoint.com/python3/python_gui_programming.htm and you may use How to think like a computer scientist.pdf on Moodle https://www.tutorialspoint.com/python3/python_gui_programming.htm
Jun 17, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here