Lab 5: Cards and Blackjack
CS 141: Introduction to Programming , Fall 2015


Part 1 is due Monday, Oct 5, by the end of the lab,
Part 2 is due Monday, Oct 12, by the end of the lab,

Practice

(Not to turn in) You should easily be able to do the basic loop problems below. Work through these before you begin the Cards and BlackJack program. If you have any difficulties, it is important that you ask for help!!

Cards and Blackjack

The instructions for both parts of the lab are given here: A Blackjack Game Program (pdf). Part 1 (The Card Class) is due Monday Oct 5, and Part 2 (The Game Algorithm) is due Monday Oct 12. Note, we have an exam on Wed, Oct 7, so plan your time accordingly.

Part 1 Deliverables

Demonstrate your Card program to the instructor or lab assistant during the lab on the due date. You will be asked to display your commented/formatted code and to run the loop that prints out all of the cards. As usual, make sure your code is commented and formatted.

There is nothing to submit for this part of the lab.

Part 2 Deliverables

To receive full credit, you need to:

  1. Make sure that your Java code:

  2. Demonstrate your program to the instructor or lab assistant during the lab on the due date. You will be asked to display your commented/formatted code and to run the code on a few inputs.

  3. Submit your code as attachments to Lab 5 in Wise. Specifically, submit the following 3 Java classes: