A Magic 8 Ball program written in Rust 🎱
Hey GitHub! This is my first project with Rust 🦀! I am loving the langauge so far and can't wait to keep moving forward through this amazing journey!
If you have any feedback or advice for me, I'd love to hear it!
This was program was written in Rust. If you don't have it installed on your system, follow these instructions.
After, verify that they are installed by running rustc --version
and cargo --version
.
To "shake" the Magic 8 Ball, get a copy of this code (by forking and/or cloning this repo) and then running the following code in your terminal:
cargo run
Simple as that! You should get a random output. (As shown below)
If you want the more optomized and minified executable version of this program, run the following in your terminal:
cargo run --release
And then run the .exe
file accordingly:
target/release/magic-8-ball.exe
rand
: v0.3
Made by @BraydenTW