Add turkey 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 17:18:06 -06:00
parent b2f81bd664
commit f90956da82
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 66 additions and 0 deletions

View file

@ -48,5 +48,6 @@ Cowsay.meow
Cowsay.moose Cowsay.moose
Cowsay.sheep Cowsay.sheep
Cowsay.stegosaurus Cowsay.stegosaurus
Cowsay.turkey
Cowsay.vader_koala Cowsay.vader_koala
``` ```

View file

@ -27,6 +27,7 @@ include("cows/stegosaurus.cow.jl")
include("cows/supermilker.cow.jl") include("cows/supermilker.cow.jl")
include("cows/surgery.cow.jl") include("cows/surgery.cow.jl")
include("cows/three-eyes.cow.jl") include("cows/three-eyes.cow.jl")
include("cows/turkey.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")

64
src/cows/turkey.cow.jl Normal file
View file

@ -0,0 +1,64 @@
##
## Turkey!
##
"""
function turkey()
Turkey!
# Example
```jldoctest
julia> cowsay("Gobble, gobble", cow=Cowsay.turkey)
________________
< Gobble, gobble >
----------------
\\ ,+*^^*+___+++_
\\ ,*^^^^ )
\\ _+* ^**+_
\\ +^ _ _++*+_+++_, )
_+^^*+_ ( ,+*^ ^ \\+_ )
{ ) ( ,( ,_+--+--, ^) ^\\
{ (@) } f ,( ,+-^ __*_*_ ^^\\_ ^\\ )
{:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) /
( / ( ( ,___ ^*+_+* ) < < \\
U _/ ) *--< ) ^\\-----++__) ) ) )
( ) _(^)^^)) ) )\\^^^^^))^*+/ / /
( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^
( ,/ (^))^)) ) ) ))^^^^^^^))^^) _)
*+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^
\\ \\_)^)_)) ))^^^^^^^^^^))^^^^)
(_ ^\\__^^^^^^^^^^^^))^^^^^^^)
^\\___ ^\\__^^^^^^))^^^^^^^^)\\\\
^^^^^\\uuu/^^\\uuu/^^^^\\^\\^\\^\\^\\^\\^\\^\\
___) >____) >___ ^\\_\\_\\_\\_\\_\\_\\)
^^^//\\\\_^^//\\\\_^ ^(\\_\\_\\_\\)
^^^ ^^ ^^^ ^
```
"""
function turkey(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts ,+*^^*+___+++_
$thoughts ,*^^^^ )
$thoughts _+* ^**+_
$thoughts +^ _ _++*+_+++_, )
_+^^*+_ ( ,+*^ ^ \\+_ )
{ ) ( ,( ,_+--+--, ^) ^\\
{ (@) } f ,( ,+-^ __*_*_ ^^\\_ ^\\ )
{:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) /
( / ( ( ,___ ^*+_+* ) < < \\
U _/ ) *--< ) ^\\-----++__) ) ) )
( ) _(^)^^)) ) )\\^^^^^))^*+/ / /
( / (_))_^)) ) ) ))^^^^^))^^^)__/ +^^
( ,/ (^))^)) ) ) ))^^^^^^^))^^) _)
*+__+* (_))^) ) ) ))^^^^^^))^^^^^)____*^
\\ \\_)^)_)) ))^^^^^^^^^^))^^^^)
(_ ^\\__^^^^^^^^^^^^))^^^^^^^)
^\\___ ^\\__^^^^^^))^^^^^^^^)\\\\
^^^^^\\uuu/^^\\uuu/^^^^\\^\\^\\^\\^\\^\\^\\^\\
___) >____) >___ ^\\_\\_\\_\\_\\_\\_\\)
^^^//\\\\_^^//\\\\_^ ^(\\_\\_\\_\\)
^^^ ^^ ^^^ ^
"""
return the_cow
end