Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trevarj/termagotchi
Terminal-based Tamagotchi in Rust
https://github.com/trevarj/termagotchi
beginner-friendly game rust tamagotchi terminal-game
Last synced: 23 days ago
JSON representation
Terminal-based Tamagotchi in Rust
- Host: GitHub
- URL: https://github.com/trevarj/termagotchi
- Owner: trevarj
- License: gpl-2.0
- Created: 2020-03-19T15:47:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-27T09:16:30.000Z (about 2 years ago)
- Last Synced: 2024-04-25T09:23:02.094Z (7 months ago)
- Topics: beginner-friendly, game, rust, tamagotchi, terminal-game
- Language: Rust
- Size: 60.5 KB
- Stars: 52
- Watchers: 6
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# termagotchi
Terminal-based Tamagotchi in Rust## Description
For you zoomer millenials out there, a [tamagotchi](https://en.wikipedia.org/wiki/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](screenshot1.png?raw=true "Termagotchi")
## 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 argumentsOptions:
-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.