mirror of
https://codeberg.org/Foxors/Pony.c.git
synced 2026-09-10 02:25:36 +02:00
A simple c program that prints a Horse/Pony with looooooong legs.
- C 93.8%
- Makefile 6.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitignore | ||
| LICENSE | ||
| Makefile | ||
| pony.c | ||
| README.md | ||
Pony.c
A program that prints a Horse/Pony with looooooong legs.
Demo
,
_,,)\.~,,._
(()` ``)\))),,_
| \ ''((\)))),,_ ____
|6` | ''((\())) "-.____.-" `-.-,
| .'\ ''))))' \)))
| | `. '' ((((
\, _) \/ |))))
`' | (((((
\ | ))))))
`| | ,\ /((((((
| / `-.______.< \ | )))))
| | / `. \ \ ((((
| / \ | `.\ | (((
\ | | | )| | ))
| | | | || | '
| | | | || |
| | | | || |
| | | | || |
| | | | || |
| | | | || |
| | | | || |
| | | | || |
| | | | || |
| | | | || |
| | | | || |
| | | | || |
| | | | || |
_|_|_|_|_____________||_|_
Why should you use it?
- Troll friends
- Learn to kill processes over the terminal
- Alternative to ctrl+l keystroke or clear command
- Have fun when you are bored
- As welcome screen to your terminal (by calling it in .bashrc)
- As a measurement system for your terminal size
Usage
Simple calling it just results in a horse that covers your entire terminal exactly from top to bottom.
./pony
You can use the -l flag to set the length.
./pony -l 16
When using the -i flag the program will print a horse continuously until
the program is terminated by the user. Recommended way is over ctrl+c.
When ctrl+c doesn't work kill it over Taskmanager or over other terminal commands
./pony -i
...
ctrl+c
Build it from source
There is no release download and for other platforms than Linux you may just need to compile it manually with you platforms C compiler.
On Linux:
- Install
ggcandmake. Alternatively you can install your distros build package. - Clone this repo with git
- run
make buildinside of the repo - now you can find the binary in the
builddirectory underbuild/pony - optionally move it into
/binso you can call it from anywhere or just runmake installwith permissions to copy files to /bin/ - have fun with loooong horses
(to uninstall from /bin/ just run make remove with required permissions)
Plans
- add more animals
- make animal config files system
- make/find new asscii animals
- add AI to it
- rewrite it to rust
- make a web version with PHP
- create a Trojan worm that prints a lot of ponys everywhere
- implement a backdoor for the government and leak the keys to it
- collect telemetry
- make it randomly crash
Contribution
You are welcome to add something that fits the theme of useless but fun and animals.