Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pabloqpacin/rustey
Rust projects 101
https://github.com/pabloqpacin/rustey
Last synced: about 1 month ago
JSON representation
Rust projects 101
- Host: GitHub
- URL: https://github.com/pabloqpacin/rustey
- Owner: pabloqpacin
- Created: 2023-07-10T18:38:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-02T14:56:43.000Z (11 months ago)
- Last Synced: 2024-10-14T23:23:18.315Z (3 months ago)
- Language: Rust
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md.bak
Awesome Lists containing this project
README
# cli_games_prepy
Basically a rework of some [Terminal Games](https://github.com/pabloqpacin/SLIT/tree/main/src/1-pythonTerminalGames) written in Python following a tutorial.
## 1. rock papers scissors
- add **rand** to Cargo.toml and `cargo build` straight away
- implement `mod otherfiles.rs`, a loop with error handling and a `match` construct
- experiment with `sudpawg.rs` -- looking good dawg!
- kinda stuck with user input for rock_paper_scissors: chars VS strings; also how to store the options? LEFT TODO
- ...
- start computer_tries_guessing: looking good, main game loop good, now just the logic left
- WIP: MEMORY MANAGEMENT
- complete CTG. I should have a review because I'm not sure about the datatypes/pointers (boxes or not)
- also input 0 for `high_s` panics!