Add fox cowfile

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2021-11-23 15:57:48 -06:00
parent 50edac427f
commit 30faff4071
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 52 additions and 0 deletions

View file

@ -28,5 +28,6 @@ Cowsay.dragon
Cowsay.elephant_in_snake Cowsay.elephant_in_snake
Cowsay.eyes Cowsay.eyes
Cowsay.flaming_sheep Cowsay.flaming_sheep
Cowsay.fox
Cowsay.vader_koala Cowsay.vader_koala
``` ```

View file

@ -12,6 +12,7 @@ include("cows/elephant-in-snake.cow.jl")
include("cows/elephant.cow.jl") include("cows/elephant.cow.jl")
include("cows/eyes.cow.jl") include("cows/eyes.cow.jl")
include("cows/flaming-sheep.cow.jl") include("cows/flaming-sheep.cow.jl")
include("cows/fox.cow.jl")
include("cows/udder.cow.jl") include("cows/udder.cow.jl")
include("cows/vader-koala.cow.jl") include("cows/vader-koala.cow.jl")
include("cows/vader.cow.jl") include("cows/vader.cow.jl")

50
src/cows/fox.cow.jl Normal file
View file

@ -0,0 +1,50 @@
"""
function fox()
# Example
```
julia> cowsay("What does the fox say?", cow=Cowsay.fox)
________________________
< What does the fox say? >
------------------------
\\ ,-. .-,
\\ |-.\\ __ /.-|
\\ \\ ` ` /
/_ _ \\
< _`q p _ >
<.._=/ \\=_. >
{`\\()/`}`\\
{ } \\
|{ } \\
\\ '--' .- \\
|- / \\
| | | | | ;
| | |.;.,..__ |
.-"";` `|
/ | /
`-../____,..---'`
```
"""
function fox(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts ,-. .-,
$thoughts |-.\\ __ /.-|
$thoughts \\ ` ` /
/_ _ \\
< _`q p _ >
<.._=/ \\=_. >
{`\\()/`}`\\
{ } \\
|{ } \\
\\ '--' .- \\
|- / \\
| | | | | ;
| | |.;.,..__ |
.-"";` `|
/ | /
`-../____,..---'`
"""
return the_cow
end