CS 30 Homework 6
Due by the beginning of class Tuesday, October 15
- Do Exercises 6.13 through 6.19 of Concrete Abstractions (pages
156-160). These exercises involve extending the Nim program to handle
different game-playing strategies. Include comments in your
code that explain what each of your functions does.
- Read Chapter 7 of Concrete Abstractions.
EXTRA CREDIT
Do Exercises 6.20 and 6.21 (page 161). Include comments in your code that
clearly explain the extensions you made.
Turning in your homework
Put your program file into a single folder called Your Name HW 6
and drop it into the CS 30 class folder drop box. If you prefer, you may
instead copy your folder to a clean floppy disk, labeled with your name,
and turn this in during class. You do not need to turn in a hardcopy printout.