Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void intro()
- {
- cout << "Hello! Welcome to computer oriented Black Jack. ";
- cout << "In this game, the entire object is to get to 21. ";
- cout << "The game is based off of a simple deck of cards. " << endl;
- cout << "One" << setw (4) << "=" << setw (3) << right << " 1" << endl;
- cout << "Two" << setw (4) << "=" << setw (3) << right << " 2" << endl;
- cout << "Three" << setw (2) << "=" << setw (3) << right << " 3" << endl;
- cout << "Four" << setw (3) << "=" << setw (3) << right << " 4" << endl;
- cout << "Five" << setw (3) << "=" << setw (3) << right << " 5" << endl;
- cout << "Six" << setw (4) << "=" << setw (3) << right << " 6" << endl;
- cout << "Seven" << setw (2) << "=" << setw (3) << right << " 7" << endl;
- cout << "Eight" << setw (2) << "=" << setw (3) << right << " 8" << endl;
- cout << "Nine" << setw (3) << "=" << setw (3) << right << " 9" << endl;
- cout << "Ten" << setw (4) << "=" << setw (3) << right << " 10" << endl;
- cout << "Eleven" << setw (4) << "=" << setw (3) << right << " 11" << endl;
- cout << "This game is very simple. ";
- cout << "The computer will generate 4 cards maximum at your ";
- cout << " despense, and only 3 to itself. ";
- cout << "So if you want only 2 cards, then you can chooseonly 2. This is where the ";
- cout << "values of the cards come into play. ";
- cout << "It is you (the user of this program) against the computer in a game of black jack. ";
- cout << "If the cardsgenerated by the computer in its own deck are over 21, you automatically win. ";
- cout << "Soif the computer lays out your cards, say you choose 3. ";
- cout << "It lays out an Queen, 2 and an 8. Your cards equal 20. If the computers hand of cards ";
- 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, ";
- cout << "then the computer wins, and vice versa. If your card amounts break 21, you automatically lose. ";
- cout << "If you score 21, you automatically winunless the computer also scores the same, then it is a draw, ";
- cout << "and this rule applies to all values if you both get the same. ";
- cout<<endl;
- cout<<endl;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement