Due Tuesday 7-Mar, at 10:00pm
hw7
hw7.py
. There is no starter file this week.hw7.p
using Thonny, building the appropriate game. The file should contain all necessary code for the respective problem so that we can easily run and grade one problem at a time.hw7.py
to Gradescope.
For this hw, you may submit up to 999 times, but only your last submission counts.hw6.py
file includes test functions to help you test on your own before
you submit to Gradescope. When you run your file, problems will be tested in order. If
you wish to temporarily bypass specific tests (say, because you have not yet completed
some functions), you can comment out individual test function calls at the bottom
of your file in main()
. However, be sure to uncomment and test everything together
before you submit! Ask a CA if you need help with this.Do not use sets, dictionaries, try/except, classes, or recursion this week. The autograder (or a manual CA review later) will reject your submission entirely if you do.
Like in the previous assignment, we will be grading your code based on whether it follows the 15-112 style guide. We may deduct up to 10 points from your overall grade for style errors. We highly recommend that you try to write clean code with good style all along, rather than fixing your style issues at the end. Good style helps you code faster and with fewer bugs. It is totally worth it. In any case, style grading already started, so please use good style from now on!
Welcome to MightyChess Press s to start Press w to select the white pieces Press b to select the black pieces