<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Help improve my new game</title>
		<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game</link>
		<description>Posts in the discussion thread &quot;Help improve my new game&quot; - I have coded a new game called laser tunnel. I need suggestions and help with making it better. This works on Ti 83+ but I do not know if it works on othe versions.</description>
				<copyright></copyright>
		<lastBuildDate>Wed, 07 Oct 2026 07:22:51 +0000</lastBuildDate>
		
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-2284403#post-2828489</guid>
				<title>Re: Help improve my new game</title>
				<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game#post-2828489</link>
				<description></description>
				<pubDate>Sun, 21 May 2017 21:29:06 +0000</pubDate>
				<wikidot:authorName>Trenly</wikidot:authorName>				<wikidot:authorUserId>1905506</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>My take on the game. Using the standard &quot;//&quot; to indicate a code comment</p> <div class="code"> <pre><code>1997→rand 0→C 1→D 3→A 5→B ClrHome Disp &quot;================ For(F,1,5 Disp &quot;] End Disp &quot;================ Output(8,1,&quot;Move: Hit: While 1 Output(B,16,&quot; D+1→D If B=2 or B=6 Then B+(B=2)-(B=6)→B Else B+randInt(⁻1,1→B End Output(B,16,&quot;( Repeat sum(K={25,34,45 getKey→K If Ans Output(A,2,&quot; //one space min(6,max(2,A+sum(DeltaList(K={25,34→A If K=45 Then ClrHome Stop End Output(8,6,D Output(8,14,C Output(A,2,&quot;* If K=105 Then Output(A,4,&quot;------------&quot; For(F,1,20 End Output(A,4,&quot; //twelve spaces If A=B Then Output(B,16,&quot; //one space randInt(2,6→B Output(B,16,&quot;( C+1→C End End End End</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-2284403#post-2826754</guid>
				<title>Re: Help improve my new game</title>
				<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game#post-2826754</link>
				<description></description>
				<pubDate>Fri, 19 May 2017 22:10:57 +0000</pubDate>
				<wikidot:authorName>Dr Professor Pat</wikidot:authorName>				<wikidot:authorUserId>3080761</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>That is because the starting value of B is to large/small and the target would be displayed off screen. I have edited the code to include an initialization for B that is valid and on screen (5), so hopefully it will work now.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-2284403#post-2826753</guid>
				<title>Re: Help improve my new game</title>
				<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game#post-2826753</link>
				<description></description>
				<pubDate>Fri, 19 May 2017 22:08:53 +0000</pubDate>
				<wikidot:authorName>Dr Professor Pat</wikidot:authorName>				<wikidot:authorUserId>3080761</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I changed the code to include initialization for the variables. I originally made this on my calculator and then copied it to here, so I might have forgotten some things. I don't have it with me right now, but when I get the chance I will make sure everything is correct.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-2284403#post-2826652</guid>
				<title>Re: Help improve my new game</title>
				<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game#post-2826652</link>
				<description></description>
				<pubDate>Fri, 19 May 2017 19:21:48 +0000</pubDate>
								<wikidot:authorUserId>3131620</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I keep getting a ERR:DOMAIN on this part:</p> <div class="code"> <pre><code>:Output(B,15,&quot; '2 spaces</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-2284403#post-2826596</guid>
				<title>Re: Help improve my new game</title>
				<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game#post-2826596</link>
				<description></description>
				<pubDate>Fri, 19 May 2017 18:20:42 +0000</pubDate>
				<wikidot:authorName>Xeda Elnara</wikidot:authorName>				<wikidot:authorUserId>595803</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Now that I've had a moment to actually try this, I noticed a few bugs. B is never initialised and the target never move :(</p> <p>Later I'll probably update with my take!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-2284403#post-2826394</guid>
				<title>Re: Help improve my new game</title>
				<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game#post-2826394</link>
				<description></description>
				<pubDate>Fri, 19 May 2017 14:44:37 +0000</pubDate>
				<wikidot:authorName>Xeda Elnara</wikidot:authorName>				<wikidot:authorUserId>595803</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Your original topic location was actually fine, but I moved it :)</p> <p>That actually sounds like a fun game! Maybe you can add multiple targets and offer combo bonuses for multiple hits with one shot.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-2284403#post-2826373</guid>
				<title>Re: Help improve my new game</title>
				<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game#post-2826373</link>
				<description></description>
				<pubDate>Fri, 19 May 2017 14:09:07 +0000</pubDate>
								<wikidot:authorUserId>3131620</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Wow! This is cool!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://tibasicdev.wikidot.com/forum/t-2284403#post-2825409</guid>
				<title>Help improve my new game</title>
				<link>https://tibasicdev.wikidot.com/forum/t-2284403/help-improve-my-new-game#post-2825409</link>
				<description></description>
				<pubDate>Thu, 18 May 2017 14:46:36 +0000</pubDate>
				<wikidot:authorName>Dr Professor Pat</wikidot:authorName>				<wikidot:authorUserId>3080761</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <div class="code"> <pre><code>0-&gt;C:-1-&gt;D 3-&gt;A:5-&gt;B ClrHome Disp &quot;================ For(F,1,5 Disp &quot;]( End Disp &quot;================ Output(8,1,&quot;[SCORE : ] While 1 D+1-&gt;D Output(B,15,&quot; '2 spaces B=6 or B=2 If ans=0 randInt(-1,1)+B If ans=1:Then B+(B=2)-&gt;B B+(B=6)-&gt;B End Output(B,15,&quot;{} Repeat k=25 or k=34 getKey-&gt;K If Ans Output(A,2,&quot;( min(6,max(2,A+sum(🔼list(K={25,34-&gt;A Output(8,8,C Output(8,13,D Output(A,2,&quot;{* If k=105:then Output(A,4,&quot;------------- AFor(F,1,20 End Output(A,4,&quot; '13 spaces If A=B:then randInt(2,6-&gt;B C+1-&gt;C End End End End</code></pre></div> <p>The game is pretty simple. You are a &quot;laser&quot; on the left end of the tunnel. The target moves and you have to hit it. It may sound simple, but it can be quite hard. The target only moves when you do, and there is no way of knowing where it will go. You have to do a lot of guessing to position yourself correctly. I could've just said that this game is turn based, but it makes it seem cooler when I spend forever hyping it up. Once the laser is lined up with the target, press enter to fire. Once it the target is destroyed it will teleport to a random location. (it will not do this until you move). Firing the laser does not count as a move, so just hitting enter won't make the target move. The score a the bottom of the screen is divide in to two parts: the number of hits compared to the number of moves. The object over the game it to keep the ratio as close to x:x as possible.</p> <p>Does anyone have any ideas to make the concept of the game or the code better? Are there any issues with the code?</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>