termagotchi

Crates.iotermagotchi
lib.rstermagotchi
version0.2.0
sourcesrc
created_at2020-03-19 17:59:39.133133
updated_at2022-08-27 09:16:48.556939
descriptionA terminal tamagotchi game
homepage
repositoryhttps://github.com/trevarj/termagotchi
max_upload_size
id220525
size54,573
Trevor Arjeski (trevarj)

documentation

README

termagotchi

Terminal-based Tamagotchi in Rust

Description

For you zoomer millenials out there, a tamagotchi is a little device from back in the 90s that looked like a small egg with a screen and about three buttons. On the screen you had a virtual pet and you had to take care of it or it would die...

I made this as my first Rust project to see how the language works and stuff.

Termagotchit

Running

Right now this uses emojis so you'll need a terminal emulator that supports unicode.

Basically just cargo run and it will resize your terminal.

Q to quit. Other keys are on screen.

Command line arguments

Options:
  -n, --new-game    start a new game.
  --help            display usage information

TODO

  • Add actual pet art (ASCII probably) and animate it?
  • Write tests (heh...)
  • Maybe refactor stuff to make it more Rust-y

Contribution

This is a beginner-friendly project so if you would like to add some features or fixes to it while you're learning Rust, or you REALLY like tamagotchi (uhh...) then feel free to make a PR.

Commit count: 40

cargo fmt