medal893

The BlackJack HackMode. Run in Ver0.9.1

Nov 11th, 2016
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.13 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include"poker_element.h"
  4. using namespace std;
  5. int main()
  6. {
  7.  
  8.     char HackMode;
  9.     int HackMode_use;
  10.     HackMode=0;
  11.     HackMode_use=0;
  12.     cout<<"Enable the Hack mode?(y/n)";
  13.     cin>>HackMode;
  14.    
  15.     if(HackMode=='a'){
  16.         HackMode_use=1;
  17.        
  18.     }
  19.  
  20.     int Player1_card_keep;
  21.     int Player1_card_score;
  22.     int Player1_card_A;
  23.     char Player1_card_wantYN;
  24.     int Player1_servied;
  25.  
  26.  
  27.     //Hack mode message
  28.     if(HackMode_use==1){
  29.         cout<< ""<<endl;
  30.         cout<<"Hack Messager"<<endl;
  31.         cout<<"-----------------------"<<endl;
  32.         cout<<"Let you keep get card?(y/n)"<<endl;
  33.         cin>>HackMode;
  34.         if(HackMode== 'y'){
  35.            
  36.             Player1_card_wantYN=1;
  37.          }
  38.         else{
  39.             cout<<"Keep the value"<<endl;
  40.         }
  41.         cout<<"Edit the final Point direct?(y/n)"<<endl;
  42.         cin>>HackMode;
  43.         if(HackMode=='y'){
  44.             cout<<"Please key in the value you want to let it be.";
  45.             cin>>HackMode;
  46.             Player1_card_score=HackMode;
  47.         }
  48.         cout<<"-----------------------"<<endl;
  49.  
  50.  
  51.     }      
  52.  
  53. }
Add Comment
Please, Sign In to add comment