Testing section 2

Time to test our code again. In your terminal/command prompt, locate the directory where you saved your tiny.py file. In earlier games, we made this directory on the desktop. Once you navigate to the directory where tiny.py is saved, you can run the following command from the terminal/command prompt to see your game so far:

  python tiny.py

During this test, you will see a window open that says Tiny Tennis at the top and is totally blank otherwise. See this screenshot:

Testing section 2

If you are getting errors, remember to check your code for typos, syntax errors, and case errors.

Get Python Projects for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.