#terminal #game #beginner #fun

bin+lib termagotchi

A terminal tamagotchi game

2 unstable releases

0.2.0 Aug 27, 2022
0.1.0 Mar 19, 2020

#489 in Games

Custom license

25KB
459 lines

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.

Dependencies

~2–12MB
~110K SLoC