Project One Instructions: "DOES NOT REQUIRE YOU TO INSTALL PYGAME.THIS PROJECT IS A REMIX PROJECT.YOU SHOULD LOOK AT THE CODE AND MAKE CHANGES TO IT THAT MAKE SENSE TO BE SUCCESSFUL IN THIS...

Project One Instructions:

"DOES NOT REQUIRE YOU TO INSTALL PYGAME.THIS PROJECT IS A REMIX PROJECT.YOU SHOULD LOOK AT THE CODE AND MAKE CHANGES TO IT THAT MAKE SENSE TO BE SUCCESSFUL IN THIS PROJECT.THIS IS TESTING YOUR ABILITY TO READ SOMEONE ELSE'S CODE AND MODIFY IT IN A WAY THAT MAKES SENSE AND DOESN'T BREAK IT."


The code that I chose for this project can be found at this linkhttp://inventwithpython.com/pygame/chapter5.html. I don't think the modifications should be that complex. As a class we have not learned about event handling, classes or any other higher level topics.



Project Two Instructions:


Debugging:


https://inventwithpython.com/pygame/buggy/


simulate_buggy1.py - Game crashes for no reason - "NameError: global name 'BRIGHTYELOW' is not defined"


simulate_buggy2.py - Blue button overlaps the yellow button.


simulate_buggy3.py - Pressing the "W" key doesn't work.


simulate_buggy4.py - Game crashes - "NameError: global name 'BEEP4' is not defined"


simulate_buggy5.py - Window appears too tall.


simulate_buggy6.py - Yellow button doesn't flash.


simulate_buggy7.py - Buttons don't flash.


simulate_buggy8.py - Game doesn't run - "IndentationError: unindent does not match any outer indentation level"



"You must turn in a file calledproj051.py, proj052.py, proj053.py, proj054.py, proj055.py, proj056.py, proj057.py,andproj058.py– this is your source code complete debugged; be sure to include your names, the project number and comments describing your edits to the code.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here