guessing game

Here's a guessing game I wrote on a TI-85 calculator a long time ago. I thought it would be fun to recreate it on the web.

Choose a number from 1 to 1,000, then hit Enter or click the Guess button.

Guess a number: