Nov 15: Quiz 5b, PA2 Hints
Learning Objectives
After today's class, you should be able to:
- Implement the rest of PA2-C, including unit tests (not submitted).
- Explain how to run PA2 from the command line or Thonny's shell.
Announcements¶
- Project 2 (due Nov 14)
- Part C extended to tonight
- Solution to Part B on Canvas
- Chapter 12: Recursion
- Due by Tuesday after break
- Quiz 6a Wednesday after break
Testing PA2¶
Do yourself a favor and create unit tests…
- test_game_utils.py, test_utils.py, test_main.py
- How to run
words_main
and play the game
Quiz 5b¶
- Log in as
student
- Only two windows:
- Thonny
- Web browser
- Web traffic monitored
- Log out when finished
PA2 Solution¶
I'll give you a sneak peak so you can finish…
- words_game_utils.py, words_utils.py, words_main.py
- Use the
argv
parameter, notsys.argv
directly