From 740b9678a1d200a834c4621dec782a91b344defa Mon Sep 17 00:00:00 2001 From: lee Date: Mon, 16 Dec 2019 15:39:10 +0000 Subject: [PATCH] fix the examples for students --- subjects/ascii-art-reverse.en.md | 53 ++------ subjects/ascii-reverse-example.md | 45 +++++++ subjects/ascii-reverse-example00.md | 180 ---------------------------- 3 files changed, 53 insertions(+), 225 deletions(-) create mode 100644 subjects/ascii-reverse-example.md delete mode 100644 subjects/ascii-reverse-example00.md diff --git a/subjects/ascii-art-reverse.en.md b/subjects/ascii-art-reverse.en.md index 536b9ebe..3d22e5b1 100644 --- a/subjects/ascii-art-reverse.en.md +++ b/subjects/ascii-art-reverse.en.md @@ -28,51 +28,14 @@ This project will help you learn about : ```console student@ubuntu:~/ascii-art$ go build student@ubuntu:~/ascii-art$ cat file.txt - - _ -| | -| |__ -| _ \ -| | | | -|_| |_| - - - - - - ___ - / _ \ -| __/ - \___| - - - - _ -| | -| | -| | -| | -|_| - - - - _ -| | -| | -| | -| | -|_| - - - - - - ___ - / _ \ -| (_) | - \___/ - - + _ _ _ +| | | | | | +| |__ ___ | | | | ___ +| _ \ / _ \ | | | | / _ \ +| | | | | __/ | | | | | (_) | +|_| |_| \___| |_| |_| \___/ + + student@ubuntu:~/ascii-art$ ./ascii-art --reverse=file.txt hello diff --git a/subjects/ascii-reverse-example.md b/subjects/ascii-reverse-example.md new file mode 100644 index 00000000..c3ccddce --- /dev/null +++ b/subjects/ascii-reverse-example.md @@ -0,0 +1,45 @@ +## ascii-reverse-examples + +- Create your file and copy the examples into it. + +### example00 + +```console + _ _ _ _ __ __ _ _ + | | | | | | | | \ \ / / | | | | + | |__| | ___ | | | | ___ \ \ /\ / / ___ _ __ | | __| | + | __ | / _ \ | | | | / _ \ \ \/ \/ / / _ \ | '__| | | / _` | + | | | | | __/ | | | | | (_) | \ /\ / | (_) | | | | | | (_| | + |_| |_| \___| |_| |_| \___/ \/ \/ \___/ |_| |_| \__,_| + + + +``` + +### example01 + +```console + + _ ____ _____ +/ | |___ \ |___ / +| | __) | |_ \ +| | / __/ ___) | +|_| |_____| |____/ + + + +``` + +### example02 + +```console + ___ + _ _ __ | _| + _| || |_ ______ \ \ | | +|_ __ _| |______| \ \ | | + _| || |_ ______ \ \ | | +|_ __ _| |______| \ \ | |_ + |_||_| \_\ |___| + + +``` diff --git a/subjects/ascii-reverse-example00.md b/subjects/ascii-reverse-example00.md deleted file mode 100644 index f680ffdd..00000000 --- a/subjects/ascii-reverse-example00.md +++ /dev/null @@ -1,180 +0,0 @@ -## ascii-reverse-examples - -- Create your file and copy the examples into it. - -### example00 - -```console - _ _ - | | | | - | |__| | - | __ | - | | | | - |_| |_| - - - - - - ___ - / _ \ -| __/ - \___| - - - - _ -| | -| | -| | -| | -|_| - - - - _ -| | -| | -| | -| | -|_| - - - - - - ___ - / _ \ -| (_) | - \___/ - - - - - - - - - - - - -__ __ -\ \ / / - \ \ /\ / / - \ \/ \/ / - \ /\ / - \/ \/ - - - - - - ___ - / _ \ -| (_) | - \___/ - - - - - - _ __ -| '__| -| | -|_| - - - - _ -| | -| | -| | -| | -|_| - - - - _ - | | - __| | - / _` | -| (_| | - \__,_| - - - -``` - -### example01 - -```console - - _ -/ | -| | -| | -|_| - - - - - ____ -|___ \ - __) | - / __/ -|_____| - - - - - _____ -|___ / - |_ \ - ___) | -|____/ - - - -``` - -### example02 - -```console - - _ _ - _| || |_ -|_ __ _| - _| || |_ -|_ __ _| - |_||_| - - - - - ______ -|______| - ______ -|______| - - - - -__ -\ \ - \ \ - \ \ - \ \ - \_\ - - - ___ -| _| -| | -| | -| | -| |_ -|___| - - -```