Skip to content

Commit

Permalink
Added Gaot printing Command/easter egg
Browse files Browse the repository at this point in the history
Yes, you read that right
  • Loading branch information
MildlyMilquetoast committed Jan 23, 2017
1 parent 8e23c20 commit bdbce34
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions DelimitInterpreter.java
Expand Up @@ -207,6 +207,8 @@ public static void setDelimiter(){

if(!stack.isEmpty()){

String oldDelim = delimiter; // purely for Gaot testing

delimiter = "";

while(!stack.isEmpty() && push(pop()) >= 0){
Expand All @@ -215,12 +217,42 @@ public static void setDelimiter(){

}

if(delimiter.equalsIgnoreCase("gaot")){

delimiter = oldDelim;

printGaot();

}

pop();

}

}

// Yes, you read that correctly
public static void printGaot(){

System.out.println(" ___.");
System.out.println(" // \\\\");
System.out.println(" (( \"\"");
System.out.println(" \\\\__,");
System.out.println(" /6 (%)\\,");
System.out.println(" (__/:\";,;\\--____----_");
System.out.println(" ;; :\";,:\";`;,\";,;\";`,`_");
System.out.println(" ;:,;;\";\";,;\":,\";\";,-Y\\");
System.out.println(" ;,;,;\";\";,;\":;\";\"; Z/");
System.out.println(" / ;,\";\";,;\";,;\";;\"");
System.out.println(" / / |\";/~~~~~\\\";;\"");
System.out.println(" ( K | | || |");
System.out.println(" \\_\\ | | || |");
System.out.println(" \\Z | | || |");
System.out.println(" L_| LL_|");
System.out.println(" LW/ LLW/");

}

// What it says on the tin - command 27
public static void pushDelimiter(){

Expand Down

1 comment on commit bdbce34

@vihanb
Copy link

@vihanb vihanb commented on bdbce34 Mar 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank You.

Please sign in to comment.