Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zonia3000/cowsay-brainfuck
Brainfuck implementation of cowsay
https://github.com/zonia3000/cowsay-brainfuck
brainfuck cowsay joke
Last synced: 3 days ago
JSON representation
Brainfuck implementation of cowsay
- Host: GitHub
- URL: https://github.com/zonia3000/cowsay-brainfuck
- Owner: zonia3000
- License: wtfpl
- Created: 2020-06-21T22:20:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-18T22:22:55.000Z (over 2 years ago)
- Last Synced: 2024-10-11T11:14:15.664Z (26 days ago)
- Topics: brainfuck, cowsay, joke
- Language: Brainfuck
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# cowsay in Brainfuck
This is a simplified implementation of cowsay written in Brainfuck.
## Examples
### Default cow
echo "Hello, I'm a cow" | bf cowsay.bf
```
__________________
< Hello, I'm a cow >
------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
```### Paranoid cow
If your sentence ends with an exclamation mark the behavior is equivalent to the `-p` option of the original cowsay program.
echo "MOO!" | bf cowsay.bf
```
______
< MOO! >
------
\ ^__^
\ (@@)\_______
(__)\ )\/\
||----w |
|| ||
```### Dead cow
Unfortunately, this program doesn't support multiline messages. To compensate for this missing feature, I implemented an enhanced version of the dead cow. You can kill the cow providing an empty input.
echo "" | bf cowsay.bf
```
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ Empty input provided. Cow crashed @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|| ||
||----M |
(--)/ )/\/
(xx)/-------
v--v
```