Assigned: 10/14
Due: NA
NO CREDIT: 10/28
Complete the script(s) that you began in class on 10/14, which define a set of classes related to playing cards (Card, Deck, Hand). In particular, implement the methods specified in Exercises 18.2 and 18.3.
Then write a separate "test" script that imports your class definitions and deals a five-card hand to each of six players. Finally, have this program print out all the hands.
Be sure to leave your finished scripts in the folder csci/201/homework/hw07 under your Linux account.
201.003 Home Page | Homework | Exams | Demo Projects |