Testing – section 3
You are almost done writing the game! Now it's time to test our code again. In your terminal/command prompt, locate the directory where you saved your tiny.py
file. You can run the following command from the terminal/command prompt to check the progress of your game so far:
python tiny.py
During this test, if everything is working correctly, your results will be the same as the test from Section 2. A blank screen will open and will be called Tiny Tennis. Congratulations!
If your program has some errors while running, look at the error messages to check whether you can figure out what is going wrong. Look for syntax mistakes, spelling mistakes, indentation mistakes, or any other errors in your code. Make sure that you are using spaces for your indentations, not tabs, or else you might have problems as well.