Your partner and group number (the same as for PSA4) can be found on Blackboard, in “PSAs->Group Numbers 3”
Both you and your partner will need to get the starter code for your group using Git.
- In VS Code, open the command palette and select the “Git Clone” option.
- When prompted for the repository URL, enter the following, with X replaced by your group number (e.g. 7 or 12).ssh://email@example.com/comp120-fa19-psa5-groupX
- Choose the “Open Repository” option in the window that pops up in the lower-right corner of the screen. The repository should contain the files
You will be adding code to the files
block.py. The files
player.pyare part of the game program, but you will not change them or add to them. The files
simple_test.pycontain code for testing early parts of your program.
rectangle_test.pywill help you test
simple_test.pycontains simple tests for some of the methods (that you will write) that can be auto-tested.
- To be able to use the code for this assignment, you will need to install a Python module named
pygame. To do this, go to the terminal window in VS Code, and type in the following command to install the
pythonon a Windows computer):
Remember that VS Code closes your repository when you exit and restart it. Use the “Open Recent” option (in the “File” menu) to reopen it if you can’t find it.
We also recommend that you stage changes, commit those changes, and sync the changes every time you finish one of the functions you write. This ensures that you won’t lose any of your work in case your computer gets lost or a file gets accidentally deleted.
Is this the question you were looking for? Place your Order Here