Unsatisfactory Software software
Software Magazines Misc About
Contents | Index | Help | < Browse | Browse >
Number Guessing Game
By Chris Young/Unsatisfactory Software 1996

OK, so if you are fortunate enough to own a graphics calculator, the chances are you've already either written or played this on it before.

If you don't or haven't, then you must have typed in a listing on the ZX81 (or some other 8-bit) and played that instead.

For those who do, but haven't, or do and have, but thought it was good enough the first time to warrant typing it in again, here is the listing...

6 -> Z
Int(Ran#×100) -> S
Lbl 1
"GUESS 1-100"? -> T
S=T => "YES"
S=T => GOTO 3
S<T => "LOWER"
S>T => "HIGHER"
Dsz Z
Goto 1
A
Lbl 3