Advertisement
joxaren

KarkatInsultGenerator

Apr 10th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.88 KB | None | 0 0
  1. public class KarkatInsultGenerator {
  2.     public static void main(String[] args) {
  3.         String [] wordListOne = {"I hate you, ", "I wish you'd realize the meaninglessness of your existence, ", "Die in a fire, ", };
  4.         String [] wordListTwo = {"putrid", "braindamaged", "backstabbing"};
  5.         String [] wordListThree = {"nooksucking"};
  6.         String [] wordListFour = {"asshole", "piece of shit", "fucktard", "turd", "scalawag", "scag"};
  7.         int rand1 = (int) (Math.random() * wordListOne.length);
  8.         int rand2 = (int) (Math.random() * wordListTwo.length);
  9.         int rand3 = (int) (Math.random() * wordListThree.length);
  10.         int rand4 = (int) (Math.random() * wordListFour.length);
  11.  
  12.         String phrase = wordListOne[rand1] + "you " + wordListTwo[rand2] + " " + wordListThree[rand3] + " " + wordListFour[rand4]  + ".";
  13.  
  14.         System.out.println(phrase);
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement