public static String[] gallows = { "+---+\n" + "| |\n" + " |\n" + " |\n" + //if the user didn't miss any guesses. " |\n" + " |\n" + "=========\n", "+---+\n" + "| |\n" + "O |\n" + //if the user missed one guess. " |\n" + " |\n" + " |\n" + "=========\n", "+---+\n" + "| |\n" + "O |\n" + //if the user missed two guesses. "| |\n" + " |\n" + " |\n" + "=========\n", " +---+\n" + " | |\n" + " O |\n" + //if the user missed three guesses. "/| |\n" + " |\n" + " |\n" + " =========\n", " +---+\n" + " | |\n" + " O |\n" + "/|\\ |\n"+ //if the user missed four guesses. " |\n" + " |\n" + " =========\n", " +---+\n" + " | |\n" + " O |\n" + "/|\\ |\n" + //if the user missed five guesses. "/ |\n" + " |\n" + " =========\n", " +---+\n" + " | |\n" + " O |\n" + "/|\\ |\n" + //if the user missed six guesses. "/ \\ |\n" + " |\n" + " =========\n"};
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter