SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Tge {
  2.     /* --- DEFAULT --- */
  3.     Scanner scan = new Scanner(System.in);
  4.    
  5.     int losses;
  6.     int wins;
  7.     String result;
  8.    
  9.    
  10.     public Tsilver() {
  11.         losses = 0;
  12.         wins = 0;
  13.         result = "";
  14.     }
  15.    
  16.     public void TSMatch() {
  17.         //ROUND ONE
  18.         losses = 0;
  19.         wins = 0;
  20.         result = "";
  21.         boolean move_on1 = false;
  22.         System.out.println("\nYour teammates (being that you are in silver) are already fighting before the round starts...");
  23.         System.out.println("Do you mute them(1), calm them down and ask if they'd rather try to make a plan instead of fighting(2), or do you TK the loudest team member?(3)");
  24.         String choice1 = scan.nextLine();
  25.         boolean answered1 = false;
  26.         do {
  27.             if(choice1.equals("1")) {
  28.                 answered1 = true;
  29.                 if(FiftyFifty() == 1) {
  30.                     System.out.println("\nYou mute them, go mid, and secure an ace with an infinite-zeus because you're a silver and anything works in this rank.");
  31.                     move_on1 = true;
  32.                 } else {
  33.                     System.out.println("\nYou mute them in hopes of not going insane from their arguing, but you miss the call to rush through palace and you instead go mid, subsequently losing the round for your team!");
  34.                     this.losses ++;
  35.                 }
  36.             } else if(choice1.equals("2")) {
  37.                 answered1 = true;
  38.                 System.out.println("\nYou calm your team, strategize as well as silvers can (so basically you're all probably going to A but the russian dude might not) and are lucky enough to make waste of the enemy team.");
  39.                 move_on1 = true;
  40.             } else if(choice1.equals("3")) {
  41.                 answered1 = true;
  42.                 System.out.println("\nThe round starts, and you immediately show Xx_LlamaG0d_xX what a zeus-to-the-back feels like. Needless to say, you're kicked from the game immediately.");
  43.                 this.losses ++;
  44.             } else {
  45.                 System.out.println("That isn't a valid choice! Options are: 1,2, or 3!");
  46.                 choice1 = scan.nextLine();
  47.             }
  48.         } while(answered1 == false);
  49.        
  50.         //WON FIRST ROUND
  51.         if(move_on1 == true) {
  52.             boolean move_on2 = false;
  53.             boolean answered2 = false;
  54.             System.out.println("\nIt's second round and because of your teams big plays the previous round, the team has enough to ball out on some cool weaponry");
  55.             System.out.println("Do you buy a negev(1), an AWP(2), or an AK(3)?");
  56.             String choice2 = scan.nextLine();
  57.             do {
  58.                 if(choice2.equals("1")) {
  59.                     answered2 = true;
  60.                     System.out.println("\nYou run to B aps and bang out the entire B site defensive with your amazing negev skills. The team secures the site, plants the bomb, and wins the round!");
  61.                     move_on2 = true;
  62.                 } else if(choice2.equals("2")) {
  63.                     answered2 = true;
  64.                     if(FiftyFifty() == 1) {
  65.                         System.out.println("\nYou buy an AWP and surprisingly wipe A site with it thus helping your team win the round!");
  66.                         move_on2 = true;
  67.                     } else {
  68.                         System.out.println("\nYou buy an AWP without armor and get mowed down in 2 nanoseconds after peeking mid subsequently causing your team to lose the round.");
  69.                         this.losses ++;
  70.                     }
  71.                 } else if(choice2.equals("3")) {
  72.                     answered2 = true;
  73.                     System.out.println("\nYou should know that silvers are terrible riflers. You miss every shot you take in your teams B site rush and lose the round.");
  74.                     this.losses ++;
  75.                 } else {
  76.                     System.out.println("That isn't a valid choice! Options are: 1,2, or 3!");
  77.                     choice2 = scan.nextLine();
  78.                 }
  79.             } while(answered2 == false);
  80.            
  81.             //WON SECOND ROUND
  82.             if(move_on2 == true){
  83.                 boolean move_on3 = false;
  84.                 boolean answered3 = false;
  85.                 System.out.println("\nFinal round. Your team needs you to smoke something off so they can make a push towards the opposition. Where do you smoke?");
  86.                 System.out.println("Outside because you're (in this case) playing inside a McDonalds and smoking indoors is prohibited(1), B-aps from T-spawn with a jump throw(2), or CT from just outside A ramp(3)?");
  87.                 String choice3 = scan.nextLine();
  88.                 do {
  89.                     if(choice3.equals("1")) {
  90.                         answered3 = true;
  91.                         System.out.println("\nYou go outside to smoke thus leaving you AFK and your team without a smoke. Needless to say, they get bamboozled and get wiped.");
  92.                         this.losses ++;
  93.                     } else if(choice3.equals("2")) {
  94.                         answered3 = true;
  95.                         if(FiftyFifty() == 1) {
  96.                             System.out.println("\nYou surprisingly make the smoke jump allowing your teammates to push aps without AWP pressure. You guys wipe B, plant the bomb, and win the game!");
  97.                             move_on3 = true;
  98.                         } else {
  99.                             System.out.println("\nYou've prepared for this throw your entire life. You back up, run, jump, and throw... a flash and inadvertently flash your entire team mid");
  100.                             System.out.println("and, in panic, your team starts shooting everywhere and end up TK'ing 3 teammembers.... yea you lost.");
  101.                             this.losses ++;
  102.                         }
  103.                     } else if(choice3.equals("3")) {
  104.                         answered3 = true;
  105.                         System.out.println("\nYou execute the smoke perfectly, allowing your team to push A without any AWP pressure from CT. You guys clear A, plant the bomb, and win the game!");
  106.                         move_on3 = true;
  107.                     } else {
  108.                         System.out.println("That isn't a valid choice! Options are: 1,2, or 3!");
  109.                         choice3 = scan.nextLine();
  110.                     }
  111.                 } while(answered3 == false);
  112.                
  113.                 //WON GAME
  114.                 if(move_on3 == true) {
  115.                     System.out.println("Congratulations, you won the game!");
  116.                     this.wins ++;
  117.                 }
  118.             }
  119.         }
  120.     }
  121.    
  122.     //USED FOR FIFTY-FIFTY SCENARIOS
  123.     public int FiftyFifty() {
  124.         Random ran = new Random();
  125.         int n = ran.nextInt(2);
  126.         return n;
  127.     }
  128. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top