12) Number Guess (1–100)

12) Number Guess (1–100)

Guess the secret number in as few tries as possible.
stateconditionals
Hint: —Tries: 0

How it works: Generate a random integer and give “higher/lower” hints until correct.

Learning outcomes: input handling, numeric comparisons, simple game state.