Browse Source

ascii-art spaces fix

pull/822/head
OGordoo 3 years ago committed by Christopher Fremond
parent
commit
664d2ca077
  1. 9
      subjects/ascii-art/README.md
  2. 289
      subjects/ascii-art/audit/README.md

9
subjects/ascii-art/README.md

@ -95,6 +95,7 @@ student$ go run . "Hello\n" | cat -e
|_| |_| \___| |_| |_| \___/ $
$
$
$
student$ go run . "hello" | cat -e
_ _ _ $
| | | | | | $
@ -103,6 +104,8 @@ student$ go run . "hello" | cat -e
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
$
student$ go run . "HeLlO" | cat -e
_ _ _ _ ____ $
| | | | | | | | / __ \ $
@ -111,6 +114,8 @@ student$ go run . "HeLlO" | cat -e
| | | | | __/ | |____ | | | |__| | $
|_| |_| \___| |______| |_| \____/ $
$
$
$
student$ go run . "Hello There" | cat -e
_ _ _ _ _______ _ $
| | | | | | | | |__ __| | | $
@ -119,6 +124,8 @@ student$ go run . "Hello There" | cat -e
| | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ $
|_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| $
$
$
$
student$ go run . "1Hello 2There" | cat -e
_ _ _ _ _______ _ $
_ | | | | | | | | ____ |__ __| | | $
@ -127,6 +134,8 @@ student$ go run . "1Hello 2There" | cat -e
| | | | | | | __/ | | | | | (_) | / __/ | | | | | | | __/ | | | __/ $
|_| |_| |_| \___| |_| |_| \___/ |_____| |_| |_| |_| \___| |_| \___| $
$
$
$
student$ go run . "{Hello There}" | cat -e
__ _ _ _ _ _______ _ __ $
/ / | | | | | | | | |__ __| | | \ \ $

289
subjects/ascii-art/audit/README.md

@ -5,14 +5,15 @@
##### Try passing as argument `"hello"`.
```
_ _ _
| | | | | |
| |__ ___ | | | | ___
| _ \ / _ \ | | | | / _ \
| | | | | __/ | | | | | (_) |
|_| |_| \___| |_| |_| \___/
_ _ _ $
| | | | | | $
| |__ ___ | | | | ___ $
| _ \ / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -20,14 +21,15 @@
##### Try passing as argument `"HELLO"`.
```
_ _ ______ _ _ ____
| | | | | ____| | | | | / __ \
| |__| | | |__ | | | | | | | |
| __ | | __| | | | | | | | |
| | | | | |____ | |____ | |____ | |__| |
|_| |_| |______| |______| |______| \____/
_ _ ______ _ _ ____ $
| | | | | ____| | | | | / __ \ $
| |__| | | |__ | | | | | | | | $
| __ | | __| | | | | | | | | $
| | | | | |____ | |____ | |____ | |__| | $
|_| |_| |______| |______| |______| \____/ $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -35,14 +37,15 @@
##### Try passing as argument `"HeLlo HuMaN"`.
```
_ _ _ _ _ _ __ __ _ _
| | | | | | | | | | | | | \/ | | \ | |
| |__| | ___ | | | | ___ | |__| | _ _ | \ / | __ _ | \| |
| __ | / _ \ | | | | / _ \ | __ | | | | | | |\/| | / _` | | . ` |
| | | | | __/ | |____ | | | (_) | | | | | | |_| | | | | | | (_| | | |\ |
|_| |_| \___| |______| |_| \___/ |_| |_| \__,_| |_| |_| \__,_| |_| \_|
_ _ _ _ _ _ __ __ _ _ $
| | | | | | | | | | | | | \/ | | \ | | $
| |__| | ___ | | | | ___ | |__| | _ _ | \ / | __ _ | \| | $
| __ | / _ \ | | | | / _ \ | __ | | | | | | |\/| | / _` | | . ` | $
| | | | | __/ | |____ | | | (_) | | | | | | |_| | | | | | | (_| | | |\ | $
|_| |_| \___| |______| |_| \___/ |_| |_| \__,_| |_| |_| \__,_| |_| \_| $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -50,14 +53,15 @@
##### Try passing as argument `"1Hello 2There"`.
```
_ _ _ _ _______ _
_ | | | | | | | | ____ |__ __| | |
/ | | |__| | ___ | | | | ___ |___ \ | | | |__ ___ _ __ ___
| | | __ | / _ \ | | | | / _ \ __) | | | | _ \ / _ \ | '__| / _ \
| | | | | | | __/ | | | | | (_) | / __/ | | | | | | | __/ | | | __/
|_| |_| |_| \___| |_| |_| \___/ |_____| |_| |_| |_| \___| |_| \___|
_ _ _ _ _______ _ $
_ | | | | | | | | ____ |__ __| | | $
/ | | |__| | ___ | | | | ___ |___ \ | | | |__ ___ _ __ ___ $
| | | __ | / _ \ | | | | / _ \ __) | | | | _ \ / _ \ | '__| / _ \ $
| | | | | | | __/ | | | | | (_) | / __/ | | | | | | | __/ | | | __/ $
|_| |_| |_| \___| |_| |_| \___/ |_____| |_| |_| |_| \___| |_| \___| $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -65,22 +69,24 @@
##### Try passing as argument `"Hello\nThere"`.
```
_ _ _ _
| | | | | | | |
| |__| | ___ | | | | ___
| __ | / _ \ | | | | / _ \
| | | | | __/ | | | | | (_) |
|_| |_| \___| |_| |_| \___/
_______ _
|__ __| | |
| | | |__ ___ _ __ ___
| | | _ \ / _ \ | '__| / _ \
| | | | | | | __/ | | | __/
|_| |_| |_| \___| |_| \___|
_ _ _ _ $
| | | | | | | | $
| |__| | ___ | | | | ___ $
| __ | / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
$
_______ _ $
|__ __| | | $
| | | |__ ___ _ __ ___ $
| | | _ \ / _ \ | '__| / _ \ $
| | | | | | | __/ | | | __/ $
|_| |_| |_| \___| |_| \___| $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -88,14 +94,15 @@
##### Try passing `"{Hello & There #}"` as argument.
```
__ _ _ _ _ _______ _ _ _ __
/ / | | | | | | | | ___ |__ __| | | _| || |_ \ \
| | | |__| | ___ | | | | ___ ( _ ) | | | |__ ___ _ __ ___ |_ __ _| | |
/ / | __ | / _ \ | | | | / _ \ / _ \/\ | | | _ \ / _ \ | '__| / _ \ _| || |_ \ \
\ \ | | | | | __/ | | | | | (_) | | (_> < | | | | | | | __/ | | | __/ |_ __ _| / /
| | |_| |_| \___| |_| |_| \___/ \___/\/ |_| |_| |_| \___| |_| \___| |_||_| | |
\_\ /_/
__ _ _ _ _ _______ _ _ _ __ $
/ / | | | | | | | | ___ |__ __| | | _| || |_ \ \ $
| | | |__| | ___ | | | | ___ ( _ ) | | | |__ ___ _ __ ___ |_ __ _| | | $
/ / | __ | / _ \ | | | | / _ \ / _ \/\ | | | _ \ / _ \ | '__| / _ \ _| || |_ \ \ $
\ \ | | | | | __/ | | | | | (_) | | (_> < | | | | | | | __/ | | | __/ |_ __ _| / / $
| | |_| |_| \___| |_| |_| \___/ \___/\/ |_| |_| |_| \___| |_| \___| |_||_| | | $
\_\ /_/ $
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -103,14 +110,15 @@
##### Try passing `"hello There 1 to 2!"` as argument.
```
_ _ _ _______ _ _ _
| | | | | | |__ __| | | _ | | ____ | |
| |__ ___ | | | | ___ | | | |__ ___ _ __ ___ / | | |_ ___ |___ \ | |
| _ \ / _ \ | | | | / _ \ | | | _ \ / _ \ | '__| / _ \ | | | __| / _ \ __) | | |
| | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ | | \ |_ | (_) | / __/ |_|
|_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| |_| \__| \___/ |_____| (_)
_ _ _ _______ _ _ _ $
| | | | | | |__ __| | | _ | | ____ | | $
| |__ ___ | | | | ___ | | | |__ ___ _ __ ___ / | | |_ ___ |___ \ | | $
| _ \ / _ \ | | | | / _ \ | | | _ \ / _ \ | '__| / _ \ | | | __| / _ \ __) | | | $
| | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ | | \ |_ | (_) | / __/ |_| $
|_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| |_| \__| \___/ |_____| (_) $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -118,14 +126,15 @@
##### Try passing `"MaD3IrA&LiSboN"` as argument.
```
__ __ _____ _____ _ _ _____ _ _ _
| \/ | | __ \ _____ |_ _| /\ ___ | | (_) / ____| | | | \ | |
| \ / | __ _ | | | | |___ / | | _ __ / \ ( _ ) | | _ | (___ | |__ ___ | \| |
| |\/| | / _` | | | | | |_ \ | | | '__| / /\ \ / _ \/\ | | | | \___ \ | '_ \ / _ \ | . ` |
| | | | | (_| | | |__| | ___) | _| |_ | | / ____ \ | (_> < | |____ | | ____) | | |_) | | (_) | | |\ |
|_| |_| \__,_| |_____/ |____/ |_____| |_| /_/ \_\ \___/\/ |______| |_| |_____/ |_.__/ \___/ |_| \_|
__ __ _____ _____ _ _ _____ _ _ _ $
| \/ | | __ \ _____ |_ _| /\ ___ | | (_) / ____| | | | \ | | $
| \ / | __ _ | | | | |___ / | | _ __ / \ ( _ ) | | _ | (___ | |__ ___ | \| | $
| |\/| | / _` | | | | | |_ \ | | | '__| / /\ \ / _ \/\ | | | | \___ \ | '_ \ / _ \ | . ` | $
| | | | | (_| | | |__| | ___) | _| |_ | | / ____ \ | (_> < | |____ | | ____) | | |_) | | (_) | | |\ | $
|_| |_| \__,_| |_____/ |____/ |_____| |_| /_/ \_\ \___/\/ |______| |_| |_____/ |_.__/ \___/ |_| \_| $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -133,14 +142,15 @@
##### Try passing `"1a\"#FdwHywR&/()="` as argument.
```
_ _ _ _ ______ _ _ _ _____ __ __ __
_ ( | ) _| || |_ | ____| | | | | | | | __ \ ___ / / / / \ \ ______
/ | __ _ V V |_ __ _| | |__ __| | __ __ | |__| | _ _ __ __ | |__) | ( _ ) / / | | | | |______|
| | / _` | _| || |_ | __| / _` | \ \ /\ / / | __ | | | | | \ \ /\ / / | _ / / _ \/\ / / | | | | ______
| | | (_| | |_ __ _| | | | (_| | \ V V / | | | | | |_| | \ V V / | | \ \ | (_> < / / | | | | |______|
|_| \__,_| |_||_| |_| \__,_| \_/\_/ |_| |_| \__, | \_/\_/ |_| \_\ \___/\/ /_/ | | | |
__/ / \_\ /_/
|___/
_ _ _ _ ______ _ _ _ _____ __ __ __ $
_ ( | ) _| || |_ | ____| | | | | | | | __ \ ___ / / / / \ \ ______ $
/ | __ _ V V |_ __ _| | |__ __| | __ __ | |__| | _ _ __ __ | |__) | ( _ ) / / | | | | |______| $
| | / _` | _| || |_ | __| / _` | \ \ /\ / / | __ | | | | | \ \ /\ / / | _ / / _ \/\ / / | | | | ______ $
| | | (_| | |_ __ _| | | | (_| | \ V V / | | | | | |_| | \ V V / | | \ \ | (_> < / / | | | | |______| $
|_| \__,_| |_||_| |_| \__,_| \_/\_/ |_| |_| \__, | \_/\_/ |_| \_\ \___/\/ /_/ | | | | $
__/ / \_\ /_/ $
|___/ $
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -148,14 +158,15 @@
##### Try passing `"{|}~"` as argument.
```
__ _ __ /\/|
/ / | | \ \ |/\/
| | | | | |
/ / | | \ \
\ \ | | / /
| | | | | |
\_\ | | /_/
|_|
__ _ __ /\/| $
/ / | | \ \ |/\/ $
| | | | | | $
/ / | | \ \ $
\ \ | | / / $
| | | | | | $
\_\ | | /_/ $
|_| $
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -163,14 +174,15 @@
##### Try passing `"[\]^_ 'a"` as argument.
```
___ __ ___ /\ _
| _| \ \ |_ | |/\| ( )
| | \ \ | | |/ __ _
| | \ \ | | / _` |
| | \ \ | | | (_| |
| |_ \_\ _| | \__,_|
|___| |___| ______
|______|
___ __ ___ /\ _ $
| _| \ \ |_ | |/\| ( ) $
| | \ \ | | |/ __ _ $
| | \ \ | | / _` | $
| | \ \ | | | (_| | $
| |_ \_\ _| | \__,_| $
|___| |___| ______ $
|______| $
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -178,14 +190,15 @@
##### Try passing `"RGB"` as argument.
```
_____ _____ ____
| __ \ / ____| | _ \
| |__) | | | __ | |_) |
| _ / | | |_ | | _ <
| | \ \ | |__| | | |_) |
|_| \_\ \_____| |____/
_____ _____ ____ $
| __ \ / ____| | _ \ $
| |__) | | | __ | |_) | $
| _ / | | |_ | | _ < $
| | \ \ | |__| | | |_) | $
|_| \_\ \_____| |____/ $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -193,14 +206,15 @@
##### Try passing `":;<=>?@"` as argument.
```
__ __ ___
_ _ / / ______ \ \ |__ \ ____
(_) (_) / / |______| \ \ ) | / __ \
< < ______ > > / / / / _` |
_ _ \ \ |______| / / |_| | | (_| |
(_) ( ) \_\ /_/ (_) \ \__,_|
|/ \____/
__ __ ___ $
_ _ / / ______ \ \ |__ \ ____ $
(_) (_) / / |______| \ \ ) | / __ \ $
< < ______ > > / / / / _` | $
_ _ \ \ |______| / / |_| | | (_| | $
(_) ( ) \_\ /_/ (_) \ \__,_| $
|/ \____/ $
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -208,14 +222,15 @@
##### Try passing `"\!\" #$%&'()*+,-./"` as argument.
```
__ _ _ _ _ _ _ _ __ _ __ __ _ __
\ \ | | ( | ) _| || |_ | | (_) / / ___ ( ) / / \ \ /\| |/\ _ / /
\ \ | | V V |_ __ _| / __) / / ( _ ) |/ | | | | \ ` ' / _| |_ ______ / /
\ \ | | _| || |_ \__ \ / / / _ \/\ | | | | |_ _| |_ _| |______| / /
\ \ |_| |_ __ _| ( / / / _ | (_> < | | | | / , . \ |_| _ _ / /
\_\ (_) |_||_| |_| /_/ (_) \___/\/ | | | | \/|_|\/ ( ) (_) /_/
\_\ /_/ |/
__ _ _ _ _ _ _ _ __ _ __ __ _ __ $
\ \ | | ( | ) _| || |_ | | (_) / / ___ ( ) / / \ \ /\| |/\ _ / / $
\ \ | | V V |_ __ _| / __) / / ( _ ) |/ | | | | \ ` ' / _| |_ ______ / / $
\ \ | | _| || |_ \__ \ / / / _ \/\ | | | | |_ _| |_ _| |______| / / $
\ \ |_| |_ __ _| ( / / / _ | (_> < | | | | / , . \ |_| _ _ / / $
\_\ (_) |_||_| |_| /_/ (_) \___/\/ | | | | \/|_|\/ ( ) (_) /_/ $
\_\ /_/ |/ $
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -223,14 +238,15 @@ __ _ _ _ _ _ _ _ __ _ __ __ _
##### Try passing `"ABCDEFGHIJKLMNOPQRSTUVWXYZ"` as argument.
```
____ _____ _____ ______ ______ _____ _ _ _____ _ _ __ _ __ __ _ _ ____ _____ ____ _____ _____ _______ _ _ __ __ __ __ __ __ __ __ ______
/\ | _ \ / ____| | __ \ | ____| | ____| / ____| | | | | |_ _| | | | |/ / | | | \/ | | \ | | / __ \ | __ \ / __ \ | __ \ / ____| |__ __| | | | | \ \ / / \ \ / / \ \ / / \ \ / / |___ /
/ \ | |_) | | | | | | | | |__ | |__ | | __ | |__| | | | | | | ' / | | | \ / | | \| | | | | | | |__) | | | | | | |__) | | (___ | | | | | | \ \ / / \ \ /\ / / \ V / \ \_/ / / /
/ /\ \ | _ < | | | | | | | __| | __| | | |_ | | __ | | | _ | | | < | | | |\/| | | . ` | | | | | | ___/ | | | | | _ / \___ \ | | | | | | \ \/ / \ \/ \/ / > < \ / / /
/ ____ \ | |_) | | |____ | |__| | | |____ | | | |__| | | | | | _| |_ | |__| | | . \ | |____ | | | | | |\ | | |__| | | | | |__| | | | \ \ ____) | | | | |__| | \ / \ /\ / / . \ | | / /__
/_/ \_\ |____/ \_____| |_____/ |______| |_| \_____| |_| |_| |_____| \____/ |_|\_\ |______| |_| |_| |_| \_| \____/ |_| \___\_\ |_| \_\ |_____/ |_| \____/ \/ \/ \/ /_/ \_\ |_| /_____|
____ _____ _____ ______ ______ _____ _ _ _____ _ _ __ _ __ __ _ _ ____ _____ ____ _____ _____ _______ _ _ __ __ __ __ __ __ __ __ ______ $
/\ | _ \ / ____| | __ \ | ____| | ____| / ____| | | | | |_ _| | | | |/ / | | | \/ | | \ | | / __ \ | __ \ / __ \ | __ \ / ____| |__ __| | | | | \ \ / / \ \ / / \ \ / / \ \ / / |___ / $
/ \ | |_) | | | | | | | | |__ | |__ | | __ | |__| | | | | | | ' / | | | \ / | | \| | | | | | | |__) | | | | | | |__) | | (___ | | | | | | \ \ / / \ \ /\ / / \ V / \ \_/ / / / $
/ /\ \ | _ < | | | | | | | __| | __| | | |_ | | __ | | | _ | | | < | | | |\/| | | . ` | | | | | | ___/ | | | | | _ / \___ \ | | | | | | \ \/ / \ \/ \/ / > < \ / / / $
/ ____ \ | |_) | | |____ | |__| | | |____ | | | |__| | | | | | _| |_ | |__| | | . \ | |____ | | | | | |\ | | |__| | | | | |__| | | | \ \ ____) | | | | |__| | \ / \ /\ / / . \ | | / /__ $
/_/ \_\ |____/ \_____| |_____/ |______| |_| \_____| |_| |_| |_____| \____/ |_|\_\ |______| |_| |_| |_| \_| \____/ |_| \___\_\ |_| \_\ |_____/ |_| \____/ \/ \/ \/ /_/ \_\ |_| /_____| $
$
$
$
```
###### Does it display the right graphical representation in ASCII as above?
@ -238,14 +254,15 @@ __ _ _ _ _ _ _ _ __ _ __ __ _
##### Try passing `"abcdefghijklmnopqrstuvwxyz"` as argument.
```
_ _ __ _ _ _ _ _
| | | | / _| __ _ | | (_) (_) _ | | | |
__ _ | |__ ___ __| | ___ | |_ / _` | | |__ _ _ | | _ | | _ __ ___ _ __ ___ _ __ __ _ _ __ ___ | |_ _ _ __ __ __ __ __ __ _ _ ____
/ _` | | '_ \ / __| / _` | / _ \ | _| | (_| | | _ \ | | | | | |/ / | | | '_ ` _ \ | '_ \ / _ \ | '_ \ / _` | | '__| / __| | __| | | | | \ \ / / \ \ /\ / / \ \/ / | | | | |_ /
| (_| | | |_) | | (__ | (_| | | __/ | | \__, | | | | | | | | | | < | | | | | | | | | | | | | (_) | | |_) | | (_| | | | \__ \ \ |_ | |_| | \ V / \ V V / > < | |_| | / /
\__,_| |_.__/ \___| \__,_| \___| |_| __/ | |_| |_| |_| | | |_|\_\ |_| |_| |_| |_| |_| |_| \___/ | .__/ \__, | |_| |___/ \__| \__,_| \_/ \_/\_/ /_/\_\ \__, | /___|
|___/ _/ | | | | | __/ /
|__/ |_| |_| |___/
_ _ __ _ _ _ _ _ $
| | | | / _| __ _ | | (_) (_) _ | | | | $
__ _ | |__ ___ __| | ___ | |_ / _` | | |__ _ _ | | _ | | _ __ ___ _ __ ___ _ __ __ _ _ __ ___ | |_ _ _ __ __ __ __ __ __ _ _ ____ $
/ _` | | '_ \ / __| / _` | / _ \ | _| | (_| | | _ \ | | | | | |/ / | | | '_ ` _ \ | '_ \ / _ \ | '_ \ / _` | | '__| / __| | __| | | | | \ \ / / \ \ /\ / / \ \/ / | | | | |_ / $
| (_| | | |_) | | (__ | (_| | | __/ | | \__, | | | | | | | | | | < | | | | | | | | | | | | | (_) | | |_) | | (_| | | | \__ \ \ |_ | |_| | \ V / \ V V / > < | |_| | / / $
\__,_| |_.__/ \___| \__,_| \___| |_| __/ | |_| |_| |_| | | |_|\_\ |_| |_| |_| |_| |_| |_| \___/ | .__/ \__, | |_| |___/ \__| \__,_| \_/ \_/\_/ /_/\_\ \__, | /___| $
|___/ _/ | | | | | __/ / $
|__/ |_| |_| |___/ $
$
```
###### Does it display the right graphical representation in ASCII as above?

Loading…
Cancel
Save