1) Posted on your acf5 Web account under the name "final.html"
2) Put on a single 3 1/2" floppy disk, and turned in with complete, COMMENTED listings in an envelope to room 405, Warren Weaver Hall. (Do NOT put this into my mailbox!)
Do return to the class home page during this coming week. Addition instructions or hints will be posted as necessary. Good luck and do have fun with this assignment!
When the screen is first seen, only the "backs "of the two cards are visible. Each time you press the on screen button, two more cards are dealt. (By the way, your layout and colours do NOT have to match my example!)
Note that I have provided screenshots of my working example, since I couldn't actually post the solution!
(Hint on picking the card and finding its "points": I have carefully chosen the card names as being "2hearts.gif" through "14hearts.gif". Thus, you will choose a random number from 2 thorugh 14, and display the appropriate card. For cards 2 through 11, the POINTS will thus be equal to the hand number. Only for cards 12hearts.gif, 13hearts,gif and 14hearts.gif will this differ. For each of those three cards, the number of POINTS will be equal to 10. When youproceed to total the points for the hand, however, remember the problem of having two aces!)
EXTRA CREDIT OPTIONAL Part C. When "Blackjack" is dealt go to one of four different HTML pages with four different animations: one each for a 10, Jack, Queen and King. The problem here will be not only to determine if there is a "Blackjack," but also what kind. In particular, remember that a "Blackjack" that occurs with a queen could be dealt as either Queen-Ace or Ace-Queen.