Add turtle cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
f90956da82
commit
aa68630d06
3 changed files with 51 additions and 0 deletions
|
@ -49,5 +49,6 @@ Cowsay.moose
|
|||
Cowsay.sheep
|
||||
Cowsay.stegosaurus
|
||||
Cowsay.turkey
|
||||
Cowsay.turtle
|
||||
Cowsay.vader_koala
|
||||
```
|
||||
|
|
|
@ -28,6 +28,7 @@ include("cows/supermilker.cow.jl")
|
|||
include("cows/surgery.cow.jl")
|
||||
include("cows/three-eyes.cow.jl")
|
||||
include("cows/turkey.cow.jl")
|
||||
include("cows/turtle.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
49
src/cows/turtle.cow.jl
Normal file
49
src/cows/turtle.cow.jl
Normal file
|
@ -0,0 +1,49 @@
|
|||
"""
|
||||
function turtle()
|
||||
|
||||
A mysterious turtle...
|
||||
|
||||
# Example
|
||||
```jldoctest
|
||||
julia> cowsay("Where is that pesky rabbit?", cow=Cowsay.turtle)
|
||||
_____________________________
|
||||
< Where is that pesky rabbit? >
|
||||
-----------------------------
|
||||
\\ ___-------___
|
||||
\\ _-~~ ~~-_
|
||||
\\ _-~ /~-_
|
||||
/^\\__/^\\ /~ \\ / \\
|
||||
/| O|| O| / \\_______________/ \\
|
||||
| |___||__| / / \\ \\
|
||||
| \\ / / \\ \\
|
||||
| (_______) /______/ \\_________ \\
|
||||
| / / \\ / \\
|
||||
\\ \\^\\\\ \\ / \\ /
|
||||
\\ || \\______________/ _-_ //\\__//
|
||||
\\ ||------_-~~-_ ------------- \\ --/~ ~\\ || __/
|
||||
~-----||====/~ |==================| |/~~~~~
|
||||
(_(__/ ./ / \\_\\ \\.
|
||||
(_(___/ \\_____)_)
|
||||
```
|
||||
"""
|
||||
function turtle(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
$thoughts ___-------___
|
||||
$thoughts _-~~ ~~-_
|
||||
$thoughts _-~ /~-_
|
||||
/^\\__/^\\ /~ \\ / \\
|
||||
/| O|| O| / \\_______________/ \\
|
||||
| |___||__| / / \\ \\
|
||||
| \\ / / \\ \\
|
||||
| (_______) /______/ \\_________ \\
|
||||
| / / \\ / \\
|
||||
\\ \\^\\\\ \\ / \\ /
|
||||
\\ || \\______________/ _-_ //\\__//
|
||||
\\ ||------_-~~-_ ------------- \\ --/~ ~\\ || __/
|
||||
~-----||====/~ |==================| |/~~~~~
|
||||
(_(__/ ./ / \\_\\ \\.
|
||||
(_(___/ \\_____)_)
|
||||
"""
|
||||
return the_cow
|
||||
end
|
Loading…
Reference in a new issue