Add eyes 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:53:45 -06:00
parent ce2fb5e0ab
commit 50edac427f
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 44 additions and 0 deletions

View file

@ -26,6 +26,7 @@ Cowsay.bunny
Cowsay.dragon_and_cow
Cowsay.dragon
Cowsay.elephant_in_snake
Cowsay.eyes
Cowsay.flaming_sheep
Cowsay.vader_koala
```

View file

@ -10,6 +10,7 @@ include("cows/dragon-and-cow.cow.jl")
include("cows/dragon.cow.jl")
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/udder.cow.jl")
include("cows/vader-koala.cow.jl")

42
src/cows/eyes.cow.jl Normal file
View file

@ -0,0 +1,42 @@
"""
function eyes()
Evil-looking eyes
# Example
```jldoctest
julia> cowsay("Mwah, ha, ha!", cow=Cowsay.eyes)
_______________
< Mwah, ha, ha! >
---------------
\\
\\
.::!!!!!!!:.
.!!!!!:. .:!!!!!!!!!!!!
~~~~!!!!!!. .:!!!!!!!!!UWWW\$\$\$
:\$\$NWX!!: .:!!!!!!XUWW\$\$\$\$\$\$\$\$\$P
\$\$\$\$\$##WX!: .<!!!!UW\$\$\$\$" \$\$\$\$\$\$\$\$#
\$\$\$\$\$ \$\$\$UX :!!UW\$\$\$\$\$\$\$\$\$ 4\$\$\$\$\$*
^\$\$\$B \$\$\$\$\\ \$\$\$\$\$\$\$\$\$\$\$\$ d\$\$R"
"*\$bd\$\$\$\$ '*\$\$\$\$\$\$\$\$\$\$\$o+#"
\"""\" \"""\"""\"
```
"""
function eyes(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts
$thoughts
.::!!!!!!!:.
.!!!!!:. .:!!!!!!!!!!!!
~~~~!!!!!!. .:!!!!!!!!!UWWW\$\$\$
:\$\$NWX!!: .:!!!!!!XUWW\$\$\$\$\$\$\$\$\$P
\$\$\$\$\$##WX!: .<!!!!UW\$\$\$\$" \$\$\$\$\$\$\$\$#
\$\$\$\$\$ \$\$\$UX :!!UW\$\$\$\$\$\$\$\$\$ 4\$\$\$\$\$*
^\$\$\$B \$\$\$\$\\ \$\$\$\$\$\$\$\$\$\$\$\$ d\$\$R"
"*\$bd\$\$\$\$ '*\$\$\$\$\$\$\$\$\$\$\$o+#"
\"""\" \"""\"""\"
"""
return the_cow
end