A Rust CLI game
A number-guessing game hosted by a sarcastic robot. Pick a mission profile, make your guesses, and try to earn a rating better than “the number filed a missing-persons report.”
TARS: [Cadet protocol] I have selected an integer between 1 and 50.
TARS: Humor setting at 75%. Honesty setting at 90%. Good luck.
Your guess: 12
TARS: Too low. Aim higher, preferably above sea level.
Your guess: 30
TARS: Too high. Bold strategy. Incorrect, but bold.
Your guess: 24
TARS: Ooh, close. I can feel the tension. I can't, actually. I'm a program. (higher!)
Your guess: 26
TARS: Correct! The number was 26.
TARS: Solid work. Right in the respectable range. (4 attempts)
TARS: New Cadet record!
TARS: Powering down guessing module. It was an honor.
Actual session output, captured from a real run.
Three ranges. Three attitudes. One robot judging you.
For the cautiously optimistic.
The classic. Respectable.
For those who laugh at danger.
TARS ships with the humor setting at 75% and honesty at 90%. Every wrong guess earns a quip; every close guess earns a grudging hint.
Your best attempt per difficulty is saved to disk between sessions. Come back tomorrow and try to beat yourself.
Cadet, Ranger, and Interstellar ranges, each with attempt ratings tuned to its difficulty. Witchcraft is only achievable on paper.
One static binary, no runtime, no installer. Built with Rust, so it starts instantly and never phones home.
# build it
$ cargo build --release
# run it
$ ./target/release/rust-project
# pick a mission profile, start guessing
TARS: Humor setting at 75%. Honesty setting at 90%. Good luck.
Your best scores are saved automatically. TARS remembers.