Padd Solutions

Converted by Falcon Hive

import java.util.Scanner;

public class RPS
{
    public static void main (String[] args)
    {
        Scanner wtf = new Scanner (System.in);
       
        String Ready;
       
        System.out.println ("EXTREME Rock Paper Scissors!!! ARE YOU READY?! YES????");
        Ready = wtf.nextLine();

        System.out.println ();
       
        while (Ready.equals ("n") || Ready.equals ("no") || Ready.equals ("No") || Ready.equals ("N")|| Ready.equals ("NO"))
        {
            System.out.print ("You just forfeit. You lose. Play again, loser? ");
            Ready = wtf.nextLine();
          
        }
       
        while (Ready.equals ("y") || Ready.equals ("yes") || Ready.equals ("Yes") || Ready.equals ("Y") || Ready.equals ("YES"))
        {
 
       
            System.out.print ("Choose your destiny (0 = Rock, 1 = Paper, 2 = Scissors) ");
            Scanner wow = new Scanner (System.in);
            int destiny;
            destiny = wow.nextInt();
           
            int random = (int) (Math.random () * 2);
           
            System.out.println ();
           
           
                if ((destiny == 0) && (random == 0))
                {
                    System.out.print ("Player uses Shadow Clone. Computer uses harden. Nothing is going on.");
                }
               
                else if ((destiny == 0) && (random == 1))
                {
                    System.out.print ("Player fiercely throws a shuriken. Computer dodges and summons a lightning bolt. You lose.");
                }
               
                else if ((destiny == 0) && (random == 2))
                {
                    System.out.print ("Computer summons blue eyes white dragon. Player uses KAMEHAMEHA. You win.");
                }
               
                else if ((destiny == 1) && (random == 0))
                {
                    System.out.print ("Computer chooses Smart Child. Player summons Chuck Norris. Player wins by over 9000 points.");
                }
               
                else if ((destiny == 1) && (random == 1))
                {
                    System.out.print ("Player crawls into Narnia. Computer eats candy. Nothing happens.");
                }
               
                else if ((destiny == 1) && (random == 2))
                {
                    System.out.print ("Player shuffles a deck of cards. Computer coughs up a fireball. Computer wins.");
                }
               
                else if ((destiny == 2) && (random == 0))
                {
                    System.out.print ("Player uses the Undying Will. Computer uses Reborn. Computer wins by a slight margin.");
                }
               
                else if ((destiny == 2) && (random == 1))
                {
                    System.out.print ("Computer bitch slaps the player. Player returns with a roundhouse kick, knocking out the computer. Player wins.");
                }
               
                else if ((destiny == 2) && (random == 2))
                {
                    System.out.print ("Player smokes weed and offers Computer for a share. Both are now high. It's a tie.");
                }
               
                else
                {
                    System.out.print ("It's either ROCK, PAPERS, OR SCISSORS. You just lost.");
                }
           
            System.out.println ();
            System.out.println ();
            System.out.println ("Play again?");
            Ready = wtf.nextLine();

        }
       

       
       
    }
}
           

(0) Comments

Post a Comment