Advertisement
RacinMason199

Untitled

Apr 24th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. void intro()
  2. {
  3. cout << "Hello! Welcome to computer oriented Black Jack. ";
  4. cout << "In this game, the entire object is to get to 21. ";
  5. cout << "The game is based off of a simple deck of cards. " << endl;
  6.  
  7. cout << "One" << setw (4) << "=" << setw (3) << right << " 1" << endl;
  8.  
  9. cout << "Two" << setw (4) << "=" << setw (3) << right << " 2" << endl;
  10.  
  11. cout << "Three" << setw (2) << "=" << setw (3) << right << " 3" << endl;
  12.  
  13. cout << "Four" << setw (3) << "=" << setw (3) << right << " 4" << endl;
  14.  
  15. cout << "Five" << setw (3) << "=" << setw (3) << right << " 5" << endl;
  16.  
  17. cout << "Six" << setw (4) << "=" << setw (3) << right << " 6" << endl;
  18.  
  19. cout << "Seven" << setw (2) << "=" << setw (3) << right << " 7" << endl;
  20.  
  21. cout << "Eight" << setw (2) << "=" << setw (3) << right << " 8" << endl;
  22.  
  23. cout << "Nine" << setw (3) << "=" << setw (3) << right << " 9" << endl;
  24.  
  25. cout << "Ten" << setw (4) << "=" << setw (3) << right << " 10" << endl;
  26.  
  27. cout << "Eleven" << setw (4) << "=" << setw (3) << right << " 11" << endl;
  28. cout << "This game is very simple. ";
  29. cout << "The computer will generate 4 cards maximum at your ";
  30. cout << " despense, and only 3 to itself. ";
  31. cout << "So if you want only 2 cards, then you can chooseonly 2. This is where the ";
  32. cout << "values of the cards come into play. ";
  33. cout << "It is you (the user of this program) against the computer in a game of black jack. ";
  34. cout << "If the cardsgenerated by the computer in its own deck are over 21, you automatically win. ";
  35. cout << "Soif the computer lays out your cards, say you choose 3. ";
  36. cout << "It lays out an Queen, 2 and an 8. Your cards equal 20. If the computers hand of cards ";
  37. cout << "is less then your score, you win because you are closer to 21. If it is higher then your cards but no higher then 21, ";
  38. cout << "then the computer wins, and vice versa. If your card amounts break 21, you automatically lose. ";
  39. cout << "If you score 21, you automatically winunless the computer also scores the same, then it is a draw, ";
  40. cout << "and this rule applies to all values if you both get the same. ";
  41.  
  42. cout<<endl;
  43. cout<<endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement