Browse Source

fix the examples for students

content-update
lee 5 years ago
parent
commit
740b9678a1
  1. 53
      subjects/ascii-art-reverse.en.md
  2. 45
      subjects/ascii-reverse-example.md
  3. 180
      subjects/ascii-reverse-example00.md

53
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

45
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
___
_ _ __ | _|
_| || |_ ______ \ \ | |
|_ __ _| |______| \ \ | |
_| || |_ ______ \ \ | |
|_ __ _| |______| \ \ | |_
|_||_| \_\ |___|
```

180
subjects/ascii-reverse-example00.md

@ -1,180 +0,0 @@
## ascii-reverse-examples
- Create your file and copy the examples into it.
### example00
```console
_ _
| | | |
| |__| |
| __ |
| | | |
|_| |_|
___
/ _ \
| __/
\___|
_
| |
| |
| |
| |
|_|
_
| |
| |
| |
| |
|_|
___
/ _ \
| (_) |
\___/
__ __
\ \ / /
\ \ /\ / /
\ \/ \/ /
\ /\ /
\/ \/
___
/ _ \
| (_) |
\___/
_ __
| '__|
| |
|_|
_
| |
| |
| |
| |
|_|
_
| |
__| |
/ _` |
| (_| |
\__,_|
```
### example01
```console
_
/ |
| |
| |
|_|
____
|___ \
__) |
/ __/
|_____|
_____
|___ /
|_ \
___) |
|____/
```
### example02
```console
_ _
_| || |_
|_ __ _|
_| || |_
|_ __ _|
|_||_|
______
|______|
______
|______|
__
\ \
\ \
\ \
\ \
\_\
___
| _|
| |
| |
| |
| |_
|___|
```
Loading…
Cancel
Save