// Wanbli · Lesson 23

GUESS
THE NUM

I picked a number between 1 and 100 — can you find it?
RANGE 1 ──────────────── 100
0
Attempts
100
Score
Best Score
// Guess History
Author Wanbli Bad Hand
Date March 30, 2026
Class Mr. Manuel's CS4ALL — Taos High School
Assignment Lesson 23: Code Blitz 1
This program is a number guessing game. The computer secretly picks a random number between 1 and 100, and the player tries to guess it. After each guess, the game tells you whether to go higher or lower, and the valid range narrows automatically so you always know exactly where the answer must be. You earn points based on how few guesses it takes — starting at 100 points and losing 5 for each attempt. The fewer guesses, the higher your score!