termpet

Crates.iotermpet
lib.rstermpet
version0.0.1
sourcesrc
created_at2024-11-10 21:23:36.395722
updated_at2024-11-10 21:23:36.395722
descriptionSimple terminal CLI game to take care of a virtual terminal pet, in development.
homepage
repositoryhttps://github.com/v1ctorio/tpet
max_upload_size
id1443227
size28,927
Vic (v1ctorio)

documentation

README

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!

Commit count: 7

cargo fmt