Add stegosaurus cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
0223384197
commit
c5820d1ddb
3 changed files with 52 additions and 0 deletions
|
@ -39,5 +39,6 @@ Cowsay.koala
|
|||
Cowsay.meow
|
||||
Cowsay.moose
|
||||
Cowsay.sheep
|
||||
Cowsay.stegosaurus
|
||||
Cowsay.vader_koala
|
||||
```
|
||||
|
|
|
@ -23,6 +23,7 @@ include("cows/mutilated.cow.jl")
|
|||
include("cows/sheep.cow.jl")
|
||||
include("cows/skeleton.cow.jl")
|
||||
include("cows/small.cow.jl")
|
||||
include("cows/stegosaurus.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
50
src/cows/stegosaurus.cow.jl
Normal file
50
src/cows/stegosaurus.cow.jl
Normal file
|
@ -0,0 +1,50 @@
|
|||
##
|
||||
## A stegosaur with a top hat?
|
||||
##
|
||||
"""
|
||||
function stegosaurus()
|
||||
|
||||
A stegosaur with a top hat?
|
||||
|
||||
# Example
|
||||
```jldoctest
|
||||
julia> cowsay("How do you do?", cow=Cowsay.stegosaurus)
|
||||
________________
|
||||
< How do you do? >
|
||||
----------------
|
||||
\\ . .
|
||||
\\ / `. .' "
|
||||
\\ .---. < > < > .---.
|
||||
\\ | \\ \\ - ~ ~ - / / |
|
||||
_____ ..-~ ~-..-~
|
||||
| | \\~~~\\.' `./~~~/
|
||||
--------- \\__/ \\__/
|
||||
.' O \\ / / \\ "
|
||||
(_____, `._.' | } \\/~~~/
|
||||
`----. / } | / \\__/
|
||||
`-. | / | / `. ,~~|
|
||||
~-.__| /_ - ~ ^| /- _ `..-'
|
||||
| / | / ~-. `-. _ _ _
|
||||
|_____| |_____| ~ - . _ _ _ _ _>
|
||||
```
|
||||
"""
|
||||
function stegosaurus(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
$thoughts . .
|
||||
$thoughts / `. .' "
|
||||
$thoughts .---. < > < > .---.
|
||||
$thoughts | \\ \\ - ~ ~ - / / |
|
||||
_____ ..-~ ~-..-~
|
||||
| | \\~~~\\.' `./~~~/
|
||||
--------- \\__/ \\__/
|
||||
.' O \\ / / \\ "
|
||||
(_____, `._.' | } \\/~~~/
|
||||
`----. / } | / \\__/
|
||||
`-. | / | / `. ,~~|
|
||||
~-.__| /_ - ~ ^| /- _ `..-'
|
||||
| / | / ~-. `-. _ _ _
|
||||
|_____| |_____| ~ - . _ _ _ _ _>
|
||||
"""
|
||||
return the_cow
|
||||
end
|
Loading…
Reference in a new issue