~meskin's blog

i'm begging you to not take anything here seriously

Simple TI-BASIC Guessing Game

April 07, 2021 — ~meskin

I used to type this into people’s calculators so they’d have something to do when in math class, and I got reminded of it so I figured I’d share my hard “work”:


randInt(1,100)->Y

Lbl 1

Input X

If X=Y

Return

If X>Y

Disp “LOWER”

If X<Y

Disp “HIGHER”

Goto 1


If you want to run it you can try it online at Cemetech’s SourceCoder

tags: misc