Advertisement
Guest User

GodDrinksJava.java

a guest
Jun 12th, 2016
4,737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.87 KB | None | 0 0
  1. package goddrinksjava;
  2.  
  3. /**
  4.  * The program GodDrinksJava implements an application that
  5.  * creates an empty simulated world with no meaning or purpose.
  6.  *
  7.  * @author momocashew
  8.  */
  9. public class GodDrinksJava {
  10.  
  11.     public static void main(String[] args) {
  12.  
  13.         Thing me = new Lovable("Me", 0, true, -1, false);
  14.  
  15.         Thing you = new Lovable("You", 0, false, -1, false);
  16.  
  17.  
  18.         World world = new World(5);
  19.  
  20.         world.addThing(me);
  21.  
  22.         world.addThing(you);
  23.  
  24.         world.startSimulation();
  25.  
  26.         if(me instanceof PointSet){
  27.             you.addAttribute(me.getDimensions().toAttribute());
  28.             me.resetDimensions();
  29.         }
  30.  
  31.         if(me instanceof Circle){
  32.             you.addAttribute(me.getCircumference().toAttribute());
  33.             me.resetCircumference();
  34.         }
  35.  
  36.         if(me instanceof SineWave){
  37.             you.addAction("sit", me.getTangent(you.getXPosition()));
  38.         }
  39.  
  40.         if(me instanceof Sequence){
  41.             me.setLimit(you.toLimit());
  42.         }
  43.  
  44.         me.toggleCurrent();
  45.  
  46.  
  47.         me.canSee(false);
  48.  
  49.         me.addFeeling("dizzy");
  50.  
  51.  
  52.         world.timeTravelForTwo("AD", 617, me, you);
  53.  
  54.         world.timeTravelForTwo("BC", 3691, me, you);
  55.  
  56.  
  57.         world.unite(me, you);
  58.  
  59.         if(me.getNumStimulationsAvailable() >=
  60.        you.getNumStimulationsNeeded()){
  61.         you.setSatisfaction(me.toSatisfaction());
  62.         }
  63.  
  64.         if(you.getFeelingIndex("happy") != -1){
  65.             me.requestExecution(world);
  66.         }
  67.  
  68.         world.lockThing(me);
  69.  
  70.         world.lockThing(you);
  71.  
  72.         if(me instanceof Eggplant){
  73.             you.addAttribute(me.getNutrients().toAttribute());
  74.             me.resetNutrients();
  75.         }
  76.  
  77.         if(me instanceof Tomato){
  78.             you.addAttribute(me.getAntioxidants().toAttribute());
  79.             me.resetAntioxidants();
  80.         }
  81.  
  82.         if(me instanceof TabbyCat){
  83.           me.purr();
  84.         }
  85.  
  86.         if(world.getGod().equals(me)){
  87.             me.setProof(you.toProof());
  88.         }
  89.  
  90.         me.toggleGender();
  91.  
  92.  
  93.         world.procreate(me, you);
  94.  
  95.  
  96.         me.toggleRoleBDSM();
  97.  
  98.  
  99.         world.makehigh(me);
  100.  
  101.         world.makeHigh(you);
  102.  
  103.         if(me.getSenseIndex("vibration")){
  104.             me.addFeeling("complete");
  105.         }
  106.  
  107.         world.unlock(you);
  108.  
  109.         world.removeThing(you);
  110.  
  111.         me.lookFor(you, world);
  112.  
  113.         me.lookFor(you, world);
  114.  
  115.         me.lookFor(you, world);
  116.  
  117.         me.lookFor(you, world);
  118.  
  119.         me.lookFor(you, world);
  120.  
  121.  
  122.         if(me.getMemory().isErasable()){
  123.             me.removeFeeling("disheartened");
  124.         }
  125.  
  126.         try{
  127.             me.setOpinion(me.getOpinionIndex("you are here"), false);
  128.         }
  129.         catch(IllegalArgumentException e){
  130.             world.announce("God is always true.");
  131.         }
  132.  
  133.         world.runExecution();
  134.  
  135.         world.runExecution();
  136.  
  137.         world.runExecution();
  138.  
  139.         world.runExecution();
  140.  
  141.         world.runExecution();
  142.  
  143.         world.runExecution();
  144.  
  145.         world.runExecution();
  146.  
  147.         world.runExecution();
  148.  
  149.         world.runExecution();
  150.  
  151.         world.runExecution();
  152.  
  153.         world.runExecution();
  154.  
  155.         world.runExecution();
  156.  
  157.         world.announce("1", "de");
  158.  
  159.         world.announce("2", "es");
  160.  
  161.         world.announce("3", "fr");
  162.  
  163.         world.announce("4", "kr");
  164.  
  165.         world.announce("5", "se");
  166.  
  167.         world.announce("6", "cn");
  168.  
  169.         world.runExecution();
  170.  
  171.         if(world.isExecutableBy(me)){
  172.             you.setExecution(me.toExecution());
  173.         }
  174.  
  175.         if(world.getThingIndex(you) != -1){
  176.             world.runExecution();
  177.         }
  178.  
  179.         me.escape(world);
  180.  
  181.         me.learnTopic("love");
  182.  
  183.         me.takeExamTopic("love");
  184.  
  185.         me.getAlgebraicExpression("love");
  186.  
  187.         me.escape("love");
  188.  
  189.         world.execute(me);
  190.     }
  191. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement