Add fox cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
50edac427f
commit
30faff4071
3 changed files with 52 additions and 0 deletions
|
@ -28,5 +28,6 @@ Cowsay.dragon
|
|||
Cowsay.elephant_in_snake
|
||||
Cowsay.eyes
|
||||
Cowsay.flaming_sheep
|
||||
Cowsay.fox
|
||||
Cowsay.vader_koala
|
||||
```
|
||||
|
|
|
@ -12,6 +12,7 @@ include("cows/elephant-in-snake.cow.jl")
|
|||
include("cows/elephant.cow.jl")
|
||||
include("cows/eyes.cow.jl")
|
||||
include("cows/flaming-sheep.cow.jl")
|
||||
include("cows/fox.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
50
src/cows/fox.cow.jl
Normal file
50
src/cows/fox.cow.jl
Normal 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
|
Loading…
Reference in a new issue