Created
January 10, 2020 05:54
-
-
Save JerryNixon/8a8833590d437447fb7b52b7ba246b29 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
| using System; | |
| namespace Adventure | |
| { | |
| public static class Art | |
| { | |
| public static void DrawDoor(int count = 1, ConsoleColor foreground = ConsoleColor.Cyan, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(" __________ ", count, foreground, background); | |
| WriteLine(" | __ __ | ", count, foreground, background); | |
| WriteLine(" | | || | | ", count, foreground, background); | |
| WriteLine(" | | [{0:0#}] | | ", count, foreground, background); | |
| WriteLine(" | |__||__| | ", count, foreground, background); | |
| WriteLine(" | __ __()| ", count, foreground, background); | |
| WriteLine(" | | || | | ", count, foreground, background); | |
| WriteLine(" | | || | | ", count, foreground, background); | |
| WriteLine(" | | || | | ", count, foreground, background); | |
| WriteLine(" | |__||__| | ", count, foreground, background); | |
| WriteLine(" |__________| ", count, foreground, background); | |
| } | |
| public static void DrawSkull(int count = 1, ConsoleColor foreground = ConsoleColor.Blue, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(@" ______ ", count, foreground, background); | |
| WriteLine(@" .-' '-. ", count, foreground, background); | |
| WriteLine(@" / \ ", count, foreground, background); | |
| WriteLine(@" |, .-. .-. ,| ", count, foreground, background); | |
| WriteLine(@" | )(__/ \__)( | ", count, foreground, background); | |
| WriteLine(@" |/ /\ \| ", count, foreground, background); | |
| WriteLine(@" (_ ^^ _) ", count, foreground, background); | |
| WriteLine(@" \__ ______ __/ ", count, foreground, background); | |
| WriteLine(@" | |IIIIII| | ", count, foreground, background); | |
| WriteLine(@" \ \IIIIII/ / ", count, foreground, background); | |
| WriteLine(@" `--------` ", count, foreground, background); | |
| } | |
| public static void DrawTreasure(int count = 1, ConsoleColor foreground = ConsoleColor.Blue, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(@" __________ ", count, foreground, background); | |
| WriteLine(@" /\____;;___\ ", count, foreground, background); | |
| WriteLine(@" | / / ", count, foreground, background); | |
| WriteLine(@" `. ())oo() . ", count, foreground, background); | |
| WriteLine(@" |\(%()*^^()^\ ", count, foreground, background); | |
| WriteLine(@" %| |-%-------| ", count, foreground, background); | |
| WriteLine(@" % \ | % )) | ", count, foreground, background); | |
| WriteLine(@" % \|%________| ", count, foreground, background); | |
| } | |
| public static void DrawFountain(int count = 1, ConsoleColor foreground = ConsoleColor.Blue, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(@" . . ", count, foreground, background); | |
| WriteLine(@" ` ' ` ", count, foreground, background); | |
| WriteLine(@" .'''. ' .'''. ", count, foreground, background); | |
| WriteLine(@" . . : . . ", count, foreground, background); | |
| WriteLine(@" _'___':'___'_ ", count, foreground, background); | |
| WriteLine(@" (_____________) ", count, foreground, background); | |
| WriteLine(@" ''''( )'''' ", count, foreground, background); | |
| WriteLine(@" _) (_ ", count, foreground, background); | |
| WriteLine(@" (_______) ", count, foreground, background); | |
| } | |
| public static void DrawDrawer(int count = 1, ConsoleColor foreground = ConsoleColor.Blue, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(@" _______ ", count, foreground, background); | |
| WriteLine(@" |_o_|_o_| ", count, foreground, background); | |
| WriteLine(@" |___o___| ", count, foreground, background); | |
| WriteLine(@" |___o___| ", count, foreground, background); | |
| WriteLine(@" |___o___| ", count, foreground, background); | |
| WriteLine(@" || || ", count, foreground, background); | |
| } | |
| public static void DrawMan(int count = 1, ConsoleColor foreground = ConsoleColor.Blue, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(@" _ ", count, foreground, background); | |
| WriteLine(@" ( ) ", count, foreground, background); | |
| WriteLine(@" /|\ ", count, foreground, background); | |
| WriteLine(@" \ | \ ", count, foreground, background); | |
| WriteLine(@" / \ ", count, foreground, background); | |
| WriteLine(@" _\ \_ ", count, foreground, background); | |
| } | |
| public static void DrawMonster(int count = 1, ConsoleColor foreground = ConsoleColor.Blue, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(@" _ ___ _.--. ", count, foreground, background); | |
| WriteLine(@" \`.|\..----...-'` `-._.-'_.-'` ", count, foreground, background); | |
| WriteLine(@" / ' ` , __.--' ", count, foreground, background); | |
| WriteLine(@" )/' _/ \ `-_, / ", count, foreground, background); | |
| WriteLine(@" `-'' `'\_ ,_.-;_.-\_ ', ", count, foreground, background); | |
| WriteLine(@" _.-'_./ [_.' ; / ", count, foreground, background); | |
| WriteLine(@" [_.-``-' [_/ ", count, foreground, background); | |
| } | |
| public static void DrawKey(int count = 1, ConsoleColor foreground = ConsoleColor.Blue, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(@" 8 8 8 8 ,ooo. ", count, foreground, background); | |
| WriteLine(@" 8a8 8a8 oP ?b ", count, foreground, background); | |
| WriteLine(@" d888a888zzzzzzzzzzzzzzzzzzzz8 8b ", count, foreground, background); | |
| WriteLine(@" `""^""' ?o___oP' ", count, foreground, background); | |
| } | |
| public static void DrawCastle(int count = 1, ConsoleColor foreground = ConsoleColor.Blue, ConsoleColor background = ConsoleColor.Black) | |
| { | |
| WriteLine(@" i~~~> ", count, foreground, background); | |
| WriteLine(@" / \ ", count, foreground, background); | |
| WriteLine(@" / \ ", count, foreground, background); | |
| WriteLine(@" <_____> ", count, foreground, background); | |
| WriteLine(@" _ _|_o_|_ _ ", count, foreground, background); | |
| WriteLine(@" ]=I=I=I=I=[ ", count, foreground, background); | |
| WriteLine(@" Y Y Y Y Y Y Y Y \-|-|-|-/ ", count, foreground, background); | |
| WriteLine(@" ]=I=I=I=I=I=I=[ | <===========> Y Y Y Y Y Y Y ", count, foreground, background); | |
| WriteLine(@" \-\--|-|--/-/ | || [] [] | ]=I=I=I=I=I=[ ", count, foreground, background); | |
| WriteLine(@" | ~ # | _ _ _|_ ||_ _ _ _ _|_ _\--|-|-|--/ ", count, foreground, background); | |
| WriteLine(@" | - |=I=I=I=I=I=I=I=I=I=I=I=I=| | ", count, foreground, background); | |
| WriteLine(@" | # [] | ___ | | ", count, foreground, background); | |
| WriteLine(@" | | # / \ # # | # | ", count, foreground, background); | |
| WriteLine(@" _/| |\_ # | | # _/| |\_ ", count, foreground, background); | |
| } | |
| private static void WriteLine(string text, ConsoleColor foreground, ConsoleColor background) | |
| { | |
| WriteLine(text, 1, foreground, background); | |
| } | |
| private static void WriteLine(string text, int count, ConsoleColor foreground, ConsoleColor background) | |
| { | |
| for (var i = 0; i < count; i++) | |
| { | |
| Console.Write(text, i + 1); | |
| } | |
| Console.Write(Environment.NewLine); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment