PROGRAMMING
PROJECT
5
Due at the beginning of seventh week lab period
You may work on this programming project in pairs, if you wish. If you work with someone else, be sure that both of you understand the work that gets done. As before, it is also okay to get help from your friends, the TAs, and/or the instructor if you get stuck, but you should try to do it on your own first. Keep in mind that the goal is not just getting the program to work but learning how to write programs yourself; outside help will not be available to you during the exams. Also remember that you may not work with the same person on more than two of the programming projects for this course.
For this project you will make changes to the BlackJack program.
Improve the style of the BlackJack program:
Player and Dealer classes.
Design, declare, and define a Hand class and revise the
Player and Dealer classes to use it.
Will the member functions disappear from the Player and
Dealer classes when you add them to the Hand class?
Extend the BlackJack program:
Turn in printed copies of the header and implementation files for all classes you modify. Also send e-mail to your lab TA and include these files as an attachment.