DISPMSG Welcome to a number guessing game! RAND 0, 100 SETVAR winningNumber = %RAND% DISPMSG Please guess a number from 0 - 100. SETVARI guess SETVAR attempts = 1 LOOP COND %winningNumber% != %guess% ? ^ REPEATS 1 SETVARO attempts = set /a %attempts% + 1 | ^ COND %winningNumber% > %guess% ? DISPMSG Too small! |^ COND %winningNumber% < %guess% ? DISPMSG Too big! |^ SETVARI guess && CONTINUE DISPMSG CONGRAT! YOU WIN! Attempts: %attempts% WAITINPUT