2 releases
new 0.0.2 | Nov 15, 2024 |
---|---|
0.0.1 | Nov 10, 2024 |
#40 in Games
154 downloads per month
790KB
261 lines
TermPet
termpet
TermPet is a simple terminal game where you have a virtual pet cow that you need to play with and feed to keep it happy and healthy.
The idea is that you add it to your shell init and it greets you (and tells you if it wants to play or eat) every time you open a new terminal. The project is currently only text but the idea is to make it like terminal drawings for your pet like cowsay or that, current TODO is:
TODO
- Save the pets data in files
- Add a command to create the pet
- Add a command to play with the pet and feed it
- Add a way to see the pet's stats
- Add minigames like rock paper scissors, asking questions (input a valid tar command for example), guess the number... to feed/play with the pet
- Make the pet stats lower when real time passes (calculates the time between the last time the pet was interacted and the current time)
- Add a way to change the pet's name
- Add a way to change the pet's appearance
- Set graphical pet appearance
- Make the pet say greetings and ask for food/play in a random way
- Add VHS gifs to this readme
- Package/make binaries
- Load customs phrases from files/teach pets phrases
- Check windows compatibility
Currently, the most difficult (for me as a rust beginner) features are implemented but theres a long todo there, you can see the full command list using termpet --help
To install run cargo install termpet
, init your pet and add termpet --greet
to your shell init file (like .bashrc or .zshrc) to have it greet you every time you open a terminal.
Enjoy your terminal pet!
Dependencies
~2.5–3.5MB
~61K SLoC