Question: Python ENEE 101 Spring 2021 HW3 due on 11/3/2021 at 10 PM HW total grade: 8 points Use the HW template given to you by
Python 
ENEE 101 Spring 2021 HW3 due on 11/3/2021 at 10 PM HW total grade: 8 points Use the HW template given to you by the instructor for each question. Put the HW number, your name in English, and the university ID in the specified place in the header. Do not change anything else in the header. Make a python file for each question. The name of the file must be HW_N_M.py, where N is the HW number and M is the question number. For example, HW_1_1.py is the file for HW 1 question 1. Submit only a zip file containing all the python files. Make sure the code runs without any bugs or errors. If there is an error in the code, the grade will be zero. Warning: if any kind of cheating is detected, both students will receive zero in HW and more punishment maybe decided Note: Do not include any text with the color blue. 1) Use the template for HW3 to modify only the function mark' in the file 'functions.py' to make the game tic-tac-toe. When you run the game it should follow the following instruction: (8 points) a. First player is always x. Then each turn goes to the next player. b. X must be drawn in red color in the center of the square. c. O must be drawn in red color in the center of the square. d. The game must not allow choosing the same square twice. e. The game must not allow further playing if there is a winner or if it is a tie. f. The game should announce the winner name if it is detected. g. The game must not allow any clicking outside the grid. Enjoy the HW. It should be so much fun . ENEE 101 Spring 2021 HW3 due on 11/3/2021 at 10 PM HW total grade: 8 points Use the HW template given to you by the instructor for each question. Put the HW number, your name in English, and the university ID in the specified place in the header. Do not change anything else in the header. Make a python file for each question. The name of the file must be HW_N_M.py, where N is the HW number and M is the question number. For example, HW_1_1.py is the file for HW 1 question 1. Submit only a zip file containing all the python files. Make sure the code runs without any bugs or errors. If there is an error in the code, the grade will be zero. Warning: if any kind of cheating is detected, both students will receive zero in HW and more punishment maybe decided Note: Do not include any text with the color blue. 1) Use the template for HW3 to modify only the function mark' in the file 'functions.py' to make the game tic-tac-toe. When you run the game it should follow the following instruction: (8 points) a. First player is always x. Then each turn goes to the next player. b. X must be drawn in red color in the center of the square. c. O must be drawn in red color in the center of the square. d. The game must not allow choosing the same square twice. e. The game must not allow further playing if there is a winner or if it is a tie. f. The game should announce the winner name if it is detected. g. The game must not allow any clicking outside the grid. Enjoy the HW. It should be so much fun
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
