<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AGuessing_Game</id>
	<title>TI-BASIC:Guessing Game - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AGuessing_Game"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Guessing_Game&amp;action=history"/>
	<updated>2026-04-17T12:52:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Guessing_Game&amp;diff=1093&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Guessing_Game&amp;diff=1093&amp;oldid=prev"/>
		<updated>2016-02-24T18:34:16Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A simple guessing game using [[TI-BASIC:Goto|Goto]] and [[TI-BASIC:Lbl|Lbl]].&lt;br /&gt;
&lt;br /&gt;
 Lbl XX&lt;br /&gt;
 AxesOff&lt;br /&gt;
 ClrHome&lt;br /&gt;
 ClrDraw&lt;br /&gt;
 Text(5,15,&amp;quot;GUESS GAME 2.0&lt;br /&gt;
 Text(15,20,&amp;quot;QUICK 20&lt;br /&gt;
 Text(22,20,&amp;quot;RANDOM&lt;br /&gt;
 Text(29,20,&amp;quot;IMPOSSIBLE&lt;br /&gt;
 Text(36,20,&amp;quot;CUSTOM&lt;br /&gt;
 Text(42,20,&amp;quot;MULTIPLAYER&lt;br /&gt;
 Text(52,15,&amp;quot;MADE BY &lt;br /&gt;
 15→X&lt;br /&gt;
 Repeat max(K={21,105&lt;br /&gt;
 Text(X,15,&amp;quot;&amp;gt;&lt;br /&gt;
 Repeat Ans&lt;br /&gt;
 getKey→K&lt;br /&gt;
 End&lt;br /&gt;
 Text(X,15,&amp;quot;   &amp;quot;&lt;br /&gt;
 X+7((Ans=34 and X&amp;lt;42)-(Ans=25 and X&amp;gt;15→X&lt;br /&gt;
 End&lt;br /&gt;
 &lt;br /&gt;
 If Ans=15&lt;br /&gt;
 Goto A1&lt;br /&gt;
 If Ans=22&lt;br /&gt;
 Goto B1&lt;br /&gt;
 If Ans=29&lt;br /&gt;
 Goto C1&lt;br /&gt;
 If Ans=36&lt;br /&gt;
 Goto D1&lt;br /&gt;
 If Ans=42&lt;br /&gt;
 Goto E1&lt;br /&gt;
 Goto E1&lt;br /&gt;
 &lt;br /&gt;
 Lbl A1&lt;br /&gt;
 ClrHome&lt;br /&gt;
 randInt(1,20)→A&lt;br /&gt;
 Lbl A2&lt;br /&gt;
 Input &amp;quot;Guess:&amp;quot;,B&lt;br /&gt;
 If B=A&lt;br /&gt;
 Goto A3&lt;br /&gt;
 If B&amp;gt;A&lt;br /&gt;
 Disp &amp;quot;LOWER&amp;quot;&lt;br /&gt;
 If B&amp;lt;A&lt;br /&gt;
 Disp &amp;quot;HIGHER&amp;quot;&lt;br /&gt;
 Goto A2&lt;br /&gt;
 Lbl A3&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Output(4,1,&amp;quot;CONGRATULATIONS!&amp;quot;&lt;br /&gt;
 Output(5,4,&amp;quot;YOU GOT IT!&amp;quot;)&lt;br /&gt;
 Pause&lt;br /&gt;
 Goto XX&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Lbl B1&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Disp &amp;quot;THE FOLLOWING&amp;quot;&lt;br /&gt;
 Disp &amp;quot;CAN BE FROM&amp;quot;&lt;br /&gt;
 Pause &amp;quot;1-2 TO 1-50000&amp;quot;&lt;br /&gt;
 ClrHome&lt;br /&gt;
 randInt(1,50000)→A&lt;br /&gt;
 randInt(1,A)→B&lt;br /&gt;
 Lbl B2&lt;br /&gt;
 Input &amp;quot;GUESS:&amp;quot;,C&lt;br /&gt;
 If C=B&lt;br /&gt;
 Goto A3&lt;br /&gt;
 If C&amp;gt;B&lt;br /&gt;
 Disp &amp;quot;LOWER&amp;quot;&lt;br /&gt;
 If C&amp;lt;B&lt;br /&gt;
 Disp &amp;quot;HIGHER&amp;quot;&lt;br /&gt;
 Goto B2&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 Lbl C1&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Output(5,5,&amp;quot;WARNING&amp;quot;)&lt;br /&gt;
 Pause&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Disp &amp;quot; &amp;quot;&lt;br /&gt;
 Disp &amp;quot;YOU ARE ENTERING&amp;quot;&lt;br /&gt;
 Pause &amp;quot;THE IMPOSSIBLE&amp;quot;&lt;br /&gt;
 ClrHome&lt;br /&gt;
 randInt(1,100000000000000)→A&lt;br /&gt;
 Lbl C2&lt;br /&gt;
 Input &amp;quot;GUESS:&amp;quot;,B&lt;br /&gt;
 If B=A&lt;br /&gt;
 Goto Lbl C3&lt;br /&gt;
 If B&amp;gt;A&lt;br /&gt;
 Disp &amp;quot;LOWER&amp;quot;&lt;br /&gt;
 If B&amp;lt;A&lt;br /&gt;
 Disp &amp;quot;HIGHER&amp;quot;&lt;br /&gt;
 Goto C2&lt;br /&gt;
 Lbl C3&lt;br /&gt;
 Pause &amp;quot;OH MY GOD&amp;quot;&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Output(5,3,&amp;quot;NO LIFE ALERT!&amp;quot;)&lt;br /&gt;
 Pause&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Disp &amp;quot;I AM APPALLED&amp;quot;&lt;br /&gt;
 Disp &amp;quot;BY HOW BORED&amp;quot;&lt;br /&gt;
 Disp &amp;quot;YOU ARE&amp;quot;&lt;br /&gt;
 Disp &amp;quot;GO SHOW &amp;quot;&lt;br /&gt;
 Pause &amp;quot;THIS SCREEN&amp;quot;&lt;br /&gt;
 Goto XX&lt;br /&gt;
 &lt;br /&gt;
 Lbl D1&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Disp &amp;quot;RANDOM NUMBER&amp;quot;&lt;br /&gt;
 Input &amp;quot;FROM:&amp;quot;,X&lt;br /&gt;
 Input &amp;quot;TO:&amp;quot;,Y&lt;br /&gt;
 randInt(X,Y)→A&lt;br /&gt;
 Lbl D2&lt;br /&gt;
 Input &amp;quot;Guess:&amp;quot;,B&lt;br /&gt;
 If B=A&lt;br /&gt;
 Goto A3&lt;br /&gt;
 If B&amp;gt;A&lt;br /&gt;
 Disp &amp;quot;LOWER&amp;quot;&lt;br /&gt;
 If B&amp;lt;A&lt;br /&gt;
 Disp &amp;quot;HIGHER&amp;quot;&lt;br /&gt;
 Goto D2&lt;br /&gt;
 &lt;br /&gt;
 Lbl E1&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Disp &amp;quot; &amp;quot;&lt;br /&gt;
 Disp &amp;quot;TYPE IN A&amp;quot;&lt;br /&gt;
 Disp &amp;quot;NUMBER FOR&amp;quot;&lt;br /&gt;
 Pause &amp;quot;FRIEND TO GUESS&amp;quot;&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Input &amp;quot;ANSWER:&amp;quot;,A&lt;br /&gt;
 ClrHome&lt;br /&gt;
 Lbl E2&lt;br /&gt;
 Input &amp;quot;Guess:&amp;quot;,B&lt;br /&gt;
 If B=A&lt;br /&gt;
 Goto A3&lt;br /&gt;
 If B&amp;gt;A&lt;br /&gt;
 Disp &amp;quot;LOWER&amp;quot;&lt;br /&gt;
 If B&amp;lt;A&lt;br /&gt;
 Disp &amp;quot;HIGHER&amp;quot;&lt;br /&gt;
 Goto E2[[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>