A Rust CLI game

TARS // Guessing Protocol

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-guessing-protocol

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.

Mission profiles

Three ranges. Three attitudes. One robot judging you.

1 – 50

Cadet

For the cautiously optimistic.

1 – 100

Ranger

The classic. Respectable.

1 – 500

Interstellar

For those who laugh at danger.

Systems online

Humor engine

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.

Persistent records

Your best attempt per difficulty is saved to disk between sessions. Come back tomorrow and try to beat yourself.

Three mission profiles

Cadet, Ranger, and Interstellar ranges, each with attempt ratings tuned to its difficulty. Witchcraft is only achievable on paper.

Zero dependencies to play

One static binary, no runtime, no installer. Built with Rust, so it starts instantly and never phones home.

How to play

terminal

# 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.