Randomize Game v 2.0 Comments: O.K! O.K.! O.K.! This is my first prog, and it´s been a while since I programmed something to my old TI-81. Well... It´s not a GREAT prog, but it´s FUN!!! Type of Prog: Something between a game and a mathematical game. Use: The TI-81 randomizes a secret number between 0-1000. Your mission is to find out what that number is! The calc will tell you if the number you enter in is too big or to small. Input: Number(s) Outputs: If the number is too big, or to small compared with the secret number. Bytes: Exactly 277 PRGM:RAND START: :Lbl 0 :ClrHome :Int (Rand*1000)->N :Disp "FIND SECRET NO." :Disp "BETWEEN 1-1000" :Pause :ClrHome :-1->A :Lbl 1 :A+1->A :Clrhome :Disp "TRIES USED" :Disp A :Input X :If X=N :Goto E :If X>N :Goto B :If X" means "STO". It´s the button above the ON/OFF-button. The commands "Int" and "Rand" are in the "MATH"-menu The equal-sign "=" is in the "TEST"-menu. Press "2nd" and "MATH" to gain acess to it. Example ------- Let´s try the game once! Run the program as usual. (Press "PRGM", move the cursor down to "RAND" and press "ENTER" twice) The calculator says: "FIND SECRET NO. BETWEEN 1-1000" Press ENTER once. At the top, it always displays how many tries youïve tried to find the secret number. For now, it displays "0". Let´s try with an number! Let´s say 500! Enter the value "500" and press ENTER. The calculator say then: "BIGGER". That means that the secret number is BIGGER than 500. Then, weïll just enter a vaulue thatïs bigger than 500! Press ENTER once. Now the calc displays "TRIES USED 1". That menas that we´ve tried to find the secret number once. Don´t worry about how many tries youïve used yet. The ammount of tries are infinite ;-). Anyway... Now we´ll try with 750! "SMALLER" says the calculator. O.K! What about 630? "BIGGER" this time. This means that the number is between 750 and 630. Let´s try with 670! "SMALLER" says the calc. That means now that the secret number is between 630 and 670. Weïll try with 650! "SMALLER" again! Again the marginal of the secret number shrinks. Now... Somewere between 630 and 650 is that secret number! The "TRIES USED" are now at 5! We´ll try with 640! "BIGGER"!!! Then we´ll input 645. "SMALLER". Well then 643! "BIGGER" Then... the secret number IS 644! Input 644! "CORRECT!" Yesss!!! Tries used are at 9! Now it´s your turn to find the secret no... Try to not go under the limit of 10 on "TRIES USED"! My best score is 1. If you´re gonna put up this prog in your own TI-Home Page, it´s O.K. Spread this prog all aroud. Just let me know when any where your´e putting it up. Comments, suggestions, improvements??? Mail me at MegaC@ThePentagon.com