Last active
September 16, 2019 10:11
-
-
Save noppefoxwolf/3df5627c105753bfb8427f85ead7713e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package goddrinksjava; | |
/** | |
* The program GodDrinksJava implements an application that | |
* creates an empty simulated world with no meaning orpurpose. | |
* | |
* @author momocashew | |
*/ | |
public class GodDrinksJava { | |
public static void main(String[] args) { | |
Thing me = new Lovable("me", 0, true, -1, false); | |
Thing you = new Lovable("You", 0, false, -1, false); | |
World world = new World(5); | |
world.addThing(me); | |
world.addThing(you); | |
world.startSimulation(); | |
if (me instanceof PointSet) { | |
you.addAttribute(me.getDimensions().toAttribute()); | |
me.resetDimensions(); | |
} | |
if (me instanceof Circle) { | |
you.addAttribute(me.getCircumference().toAttribute()); | |
me.resetCircumference(); | |
} | |
if (me instanceof SineWave){ | |
you.addAction("sit", me.getTangent(you.getXPosition())); | |
} | |
if (me instanceof Sequence){ | |
me.setLimit(you.toLimit()); | |
} | |
me.toggleCurrent(); | |
me.canSee(false); | |
me.addFeeling("duzzy"); | |
world.timeTravelForTwo("AD", 617, me, you); | |
world.timeTravelForTwo("BC", 3691, me, you); | |
world.unite(me, you); | |
if(me.getNumStimulationsAvailable() >= | |
you.getNumStimulationsNeeded()){ | |
you.setSatisfaction(me.toSatisfaction()); | |
} | |
if (you.getFeelingIndex("happy") != -1){ | |
me.requestExecution(world); | |
} | |
world.lockThing(me); | |
world.lockThing(you); | |
if (me instanceof Eggplant) { | |
you.addAttribute(me.getNutrients().toAttribute()); | |
me.resetNutrients(); | |
} | |
if (me instanceof Tomato) { | |
you.addAttribute(me.getAntioxidants().toAttribute()); | |
me.resetAntioxidants(); | |
} | |
if (me instanceof TabbyCat) { | |
me.purr(); | |
} | |
if(world.getGod().equals(me)){ | |
me.setProof(you.toProof()); | |
} | |
me.toggleGender(); | |
world.procreate(me,you); | |
me.toggleRoleBDSM(); | |
world.makeHigh(me); | |
world.makeHigh(you); | |
if (me.getSenseIndex("vibration")){ | |
me.addFeeling("complete"); | |
} | |
world.unlock(you); | |
world.removeThing(you); | |
me.lookFor(you, world); | |
me.lookFor(you, world); | |
me.lookFor(you, world); | |
me.lookFor(you, world); | |
me.lookFor(you, world); | |
if (me.getMemory().isEraseable()) { | |
me.removeFeeling("disheartened"); | |
} | |
try{ | |
me.setOpinion(me.getOpinionIndex("you are here"), false); | |
} | |
catch(IllegalArgumentException e){ | |
world.announce("God is always true."); | |
} | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.runExecution(); | |
world.announce("1", "de"); | |
world.announce("2", "es"); | |
world.announce("3", "fr"); | |
world.announce("4", "kr"); | |
world.announce("5", "se"); | |
world.announce("6", "cn"); | |
world.runExecution(); | |
if (world.isExecutableBy(me)){ | |
you.setExecution(me.toExecution()); | |
} | |
if (world.getThingIndex(you)){ | |
world.runExecution(); | |
} | |
me.escape(world); | |
me.learnTopic("love"); | |
me.takeEcamTopic("love"); | |
me.getAlgebraicExpression("love"); | |
me.escape("love"); | |
world.execute(me); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
world.execute(me);
→ https://www.youtube.com/watch?v=ESx_hy1n7HA