From bdbce3458e960efc098071b785ac2b0fb1563da1 Mon Sep 17 00:00:00 2001 From: MistahFiggins Date: Sun, 22 Jan 2017 21:10:24 -0800 Subject: [PATCH] Added Gaot printing Command/easter egg Yes, you read that right --- DelimitInterpreter.java | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/DelimitInterpreter.java b/DelimitInterpreter.java index 87212f7..7d06457 100644 --- a/DelimitInterpreter.java +++ b/DelimitInterpreter.java @@ -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){ @@ -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(){