<?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>Work in Progress</title>
		<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress</link>
		<description>Posts in the discussion thread &quot;Work in Progress&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Tue, 10 Nov 2026 02:21:26 +0000</lastBuildDate>
		
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15674</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15674</link>
				<description></description>
				<pubDate>Fri, 30 Mar 2007 03:20:21 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I posted it in the Novice Questions and Answers section. &#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15670</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15670</link>
				<description></description>
				<pubDate>Fri, 30 Mar 2007 03:03:22 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Ok, kewl. Yea, I saw a demo that had one playing.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15669</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15669</link>
				<description></description>
				<pubDate>Fri, 30 Mar 2007 02:48:41 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I was wrong about not being able to play midis. I got one working. I'll also look into looping the sound and post the code in about 25 mins.</p> <p>&#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15666</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15666</link>
				<description></description>
				<pubDate>Fri, 30 Mar 2007 02:10:42 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>But can we loop it?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15665</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15665</link>
				<description></description>
				<pubDate>Fri, 30 Mar 2007 02:08:22 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Woohoo, thanks agian.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15664</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15664</link>
				<description></description>
				<pubDate>Fri, 30 Mar 2007 01:54:36 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What do you know, it works :) I made a quick .wav of me playing my three-string guitar for an example. Right-click and choose save-as.</p> <p><a href="http://gamedesign.wikidot.com/local--files/misc-things/threestring.wav">http://gamedesign.wikidot.com/local--files/misc-things/threestring.wav</a></p> <p>Make sure to put it in the same folder where you save the brutus2d source code file. Remember, you have to save the code so that B2D knows where in relation the sound file is to the code. If you just copy this code in the B2D IDE, it won't work. Save first. :)</p> <p>Here's the code :</p> <div class="code"> <pre><code>console.Initialize dim sndTSG sound.Initialize sndTSG = sound.LoadWav(&quot;threestring.wav&quot;) sound.PlayWav sndTSG console.Wait console.Terminate</code></pre></div> <p>-hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15661</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15661</link>
				<description></description>
				<pubDate>Fri, 30 Mar 2007 01:38:26 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You know, I've never tried it. If you add any kind of sound, it will have to be a .wav file as I believe the midi object is a registered only object. I'll give it a shot and get back to you in a bit.</p> <p>&#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15651</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15651</link>
				<description></description>
				<pubDate>Fri, 30 Mar 2007 00:36:31 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>How would I add some music to this or are you able to do it in the dos window?</p> <p>-Josh</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15640</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15640</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 23:09:27 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>NP. Thanks for asking. :) . I've added them to the <a href="https://gamedesign.wikidot.com/brutus2d:list-of-common-brutus2d-mistakes">list of common Brutus2D mistakes</a>. &#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15639</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15639</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 23:03:16 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>You also mean &quot;end if&quot;. =P But thanks a bunch.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15638</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15638</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 23:02:07 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>In case 3.1 there is an <tt>elseif</tt> that has a space between <tt>else</tt> and <tt>if</tt>. Remove the space. Both of these are common errors that everybody makes. :) I still find myself forgetting an <tt>endif</tt>.</p> <p>-hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15637</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15637</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 22:58:44 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Immediately, I see you forgot <tt>end if</tt> at the end of case 3.3.</p> <div class="code"> <pre><code>' there's a missing end if elseif answer = &quot;&quot; then node = 3.3 'missing end if here end select ' this is paired with select case above</code></pre></div> <p>Let me test it.</p> <p>&#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15633</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15633</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 22:31:20 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Ah, ok. Well Just changing the text color, I'm assuming foreground is all I would like for now, if possible get the console to open up full screen maybe. I'm also gonna assume that changing the text size would be out question for inside the dos box.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15632</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15632</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 22:28:53 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Whats wrong with this code?</p> <div class="code"> <pre><code>' Initialization of Game ' Here we declare all the variables we are going to need. ' As well as anything else we are going to need. dim answer ' player answer dim node ' current node dim gameOver ' is the game over? dim axe ' does the player have axe? dim crowbar ' does the player have the crowbar? dim handgun ' does the player have the handgun? node = 1 ' player starts at node 1 gameOver = false ' no, it's just starting. crowbar = false ' the player doesn't start with crowbar handgun = false ' the player doesn't start with the handgun axe = false ' the player doesn't start withe the axe console.Initialize ' start the console object ' Intro text ' Since it's not a part of the game loop, then it gets shown only once console.writeline &quot;/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/&quot; console.writeline &quot;\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Wierdo v1.1.0 /\/\/\/\/\/\/\/\/\/\/\/\/\/\/&quot; console.writeline &quot;/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ BY /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\&quot; console.writeline &quot;\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ THE Team \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\&quot; console.writeline &quot;/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/&quot; ' this is the game loop. It repeats from here when the code reaches &quot;loop&quot; ' it keeps going until gameOver is set to false do while not gameOver select case node ' do things depending on what number is in node case 1 ' if the current node is 1 then do this console.WriteLine console.WriteLine &quot;You awake in an old hay barn. You glance around to see only that every&quot; console.WriteLine &quot;hole , even the doors and the windows have been boarded up.&quot; system.pause(1000) console.WriteLine console.WriteLine &quot;You walk over to the barn doors and pull on them, but they will not budge.&quot; console.writeline system.pause(1000) console.writeline &quot;Continue (y)&quot; if answer = &quot;y&quot; then node = 1.1 end if case 1.1 'choices console.WriteLine &quot;--Choose--&quot; console.writeline console.writeline &quot; 1. The Windows&quot; console.writeline &quot; 2. Back room&quot; console.writeline &quot; 3. Old Bed&quot; console.writeline answer = console.readline if answer = &quot;1&quot; then node = 2 'windows elseif answer = &quot;2&quot; then node = 3 'back room elseif answer = &quot;3&quot; then node = 4 'Bed elseif answer = &quot;&quot; then node = 1.1 'start over, player must have an answer to continue end if system.Pause(1000) ' wait a second for game play value case 2 console.WriteLine console.WriteLine &quot;You walk up stairs to one of the windows and try to open it, but yet it want budge.&quot; console.WriteLine &quot;So you walk back down stairs.&quot; console.WriteLine system.Pause(4000) node = 1.1 case 3 console.writeline console.writeline &quot;You walk to the back of the barn where a room with an old desk is.&quot; console.writeline system.pause (4000) node = 3.1 case 3.1 'choices console.WriteLine &quot;---Choose---&quot; console.writeline console.WriteLine &quot; 1. Open desk&quot; console.WriteLine &quot; 2. Go back&quot; console.WriteLine answer = console.ReadLine if answer = &quot;1&quot; then node = 3.2 elseif answer = &quot;2&quot; then node = 1.1 else if answer = &quot;&quot; then node = 3.1 end if system.Pause(1000) case 3.2 console.WriteLine console.WriteLine &quot;You tug on the old desk drawer untile it springs open full of cob webs,&quot; console.writeline &quot;but not only that, a small hand gun is in the bottum.&quot; console.writeline system.pause(4000) node = 3.3 case 3.3 'choices console.writeline console.writeline &quot;---Choose---&quot; console.writeline console.writeline &quot; 1. Take the hand gun&quot; console.writeline &quot; 2. Go back&quot; console.writeline answer = console.readline if answer = &quot;1&quot; then console.writeline &quot;You pickup the handgun and put it in your pocket.&quot; handgun = true 'player has the gun node = 5 elseif answer = &quot;2&quot; then node = 1.1 elseif answer = &quot;&quot; then node = 3.3 end select ' this is paired with select case above console.WriteLine console.WriteString &quot;Would you like to continue? (press y) &quot; answer = console.ReadLine if answer &lt;&gt; &quot;y&quot; then gameOver = true loop ' termination ' make sure the console object is shut down console.Terminate</code></pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15626</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15626</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 21:55:52 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm not aware of any way to change the background color of the console window. I'm going to have to get with Guilect on this. And, background color of the text is strange. If you set the foreground color to 16 using <tt>console.SetForeColor 16</tt>, it actually sets the background color. I'll have to get with Guilect about this too.</p> <p>&#8212; hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15624</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15624</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 21:46:28 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Thats what I ment, background and text color.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15623</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15623</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 21:37:42 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The console is notoriously bad at doing &quot;pretty text&quot;. This applies to any programming language that uses the console. But, you can give the text background and foreground covers. For &quot;colored&quot; text, see the incomplete (just started it yesterday) <a href="https://gamedesign.wikidot.com/brutus2d:input-and-output-tutorial-ii">input and output tutorial II</a>.</p> <p>-hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15513</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15513</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 11:00:14 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Oh and response to your other replies, just noticed them. Yes, I thought of the idea by myself, didn't know it was already being done. I try to think of stuff that isn't being or hasn't been done, but most things have.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15512</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15512</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 10:54:40 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I believe I' understand it now. How would you add color to your text? You know give it some good looks so its not plain and duell white on black.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15481</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15481</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 03:54:30 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Please keep asking questions about this, I'm planning on writing a tutorial (like in the next few minutes) about it. :) &#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15480</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15480</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 03:50:56 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I had included all the code you will need for the rest of the game as originally posted. Here's how it works</p> <p>Each <tt>case</tt> is a &quot;node&quot;</p> <p>Each &quot;node&quot; has these parts :</p> <ul> <li>display a description of what is happening.</li> <li>describe the choices available to the player and the keys to press for them</li> <li>get the user input</li> <li>decide what to do next (goto another node or print out a message).</li> </ul> <p>A quickly created example :</p> <div class="code"> <pre><code>case 4 ' will execute if the value of the node variable is 4 ' display the description console.WriteLine console.WriteLine &quot;You are eating beans from a can at a campfire.&quot; console.WriteLine ' display the options to the player console.WriteLine &quot;Do you want to :&quot; console.WriteLine &quot; (a) continue eating your beans.&quot; console.WriteLine &quot; (b) get up and put out the fire.&quot; ' get the player input answer = console.ReadLine ' decide what to do next based on player input if answer = &quot;a&quot; then node = 5 ' if the player answered a, set node to 5 if answer = &quot;b&quot; then console.WriteLine &quot;You put out the fire. As it was the only think keeping the wild&quot; console.WriteLine &quot;groo from eating you, you are now considered very tasty.&quot; console.WriteLine &quot; .... and very dead.&quot; console.WriteLine system.Pause(1000) console.Wait gameOver = false ' ends the game by causing the loop not to repeat anymore end if case 5 ' if the player eats his beans ' etc.. etc...</code></pre></div> <p>&#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15473</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15473</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 03:06:07 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>You kinda of lost me on that.. I'm not sure what to do next after Case 4.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15465</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15465</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 02:27:30 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If you wind up developing something in Basic4GL, please post it here. :) &#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15459</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15459</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 01:47:08 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Ah, thanks. I some what get it. I downloaded Basic4gl and understand some stuff from it now as well.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15450</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15450</link>
				<description></description>
				<pubDate>Thu, 29 Mar 2007 00:49:12 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I re-wrote your code and commented it. Anything after a ' is a comment.</p> <p>for example</p> <p>node = 1 ' player is at node 1</p> <p>Here it is, if you have any questions, let me know. Hope it helps. :)</p> <div class="code"> <pre><code>' Initialization of Game ' Here we declare all the variables we are going to need. ' As well as anything else we are going to need. dim answer ' player answer dim node ' current node dim gameOver ' is the game over? dim bread ' does the player have bread? dim handkerchief ' does the player have the hankerchief? dim axe ' does the player have the axe? node = 1 ' player starts at node 1 gameOver = false ' no, it's just starting. bread = false ' the player doesn't start with bread hanky = false ' the player doesn't start with the handkerhief axe = false ' the player doesn't start withe the axe console.Initialize ' start the console object ' Intro text ' Since it's not a part of the game loop, then it gets shown only once console.writeline &quot;--------------------=&gt;Wierdo 1.0&lt;=---------------------------------------&quot; console.writeline &quot;-------------------------------------------------------------------------&quot; console.writeline &quot;--------------------BY JOSH MCGUIRE--------------------------------------&quot; console.writeline &quot;-------------------------------------------------------------------------&quot; console.writeline &quot;--------------------THANKS FOR PLAYING-----------------------------------&quot; console.writeline &quot;-------------------------------------------------------------------------&quot; ' this is the game loop. It repeats from here when the code reaches &quot;loop&quot; ' it keeps going until gameOver is set to false do while not gameOver select case node ' do things depending on what number is in node case 1 ' if the current node is 1 then do this console.WriteLine console.WriteLine &quot;You wake up in an old hay barn with bars on the windows and the doors&quot; console.WriteLine &quot;boarded shut there is a hanckerchief and some old bread on the table&quot; console.WriteLine console.WriteLine &quot;Type h for hankerchief, b for bread.&quot; console.WriteLine answer = console.ReadLine if answer = &quot;b&quot; then console.WriteLine &quot;Very well then, the bread is in your inventory.&quot; bread = true ' player now has bread. elseif answer = &quot;h&quot; then console.WriteLine &quot;Very well then, the hankercheif is in your inventory.&quot; hanky = true ' player now has hanky. elseif answer = &quot;&quot; then console.WriteLine &quot;Neither were picked up.&quot; else console.WriteLine &quot;Very well then, I see you want neither.&quot; end if system.Pause(1000) ' wait a second for game play value node = 2 ' choices have been made, move to the next node case 2 console.WriteLine console.WriteLine &quot;You walk over to the door but stop half and fall to the ground, your&quot; console.WriteLine &quot;stomach growls as if you hadn't eaten for days.&quot; console.WriteLine if bread or hanky then 'check to see if the player has either if bread then console.WriteLine &quot;Type b to eat bread&quot; if hanky then console.Writeline &quot;Type h to eat hankercheif&quot; answer = console.ReadLine if bread and answer = &quot;b&quot; then console.WriteLine &quot;Mhm...&quot; bread = false ' the player eats the bread so no longer has it. elseif hanky and answer = &quot;h&quot; then console.WriteLine &quot;*Cough* Yuk...&quot; hanky = false end if else console.WriteLine &quot;So.. hungry..&quot; end if system.Pause(1000) node = 3 case 3 console.WriteLine console.writeline &quot;You continue to the door. When you get to the door you try pulling on&quot; console.WriteLine &quot;the boards nailed to it, but they want budge.&quot; console.WriteLine console.writeline &quot;You may walk to any of these locations :&quot; console.WriteLine &quot; Type w for window&quot; console.WriteLine &quot; Type d for doors &quot; console.WriteLine &quot; Type h for hay pile.&quot; answer = console.ReadLine if answer = &quot;w&quot; then console.WriteLine &quot;You walk over to the window to peer out to find that the window is boarded. You walk back over to the door.&quot; elseif answer = &quot;d&quot; then console.WriteLine &quot;You're already here!!!&quot; elseif answer = &quot;h&quot; then node = 4 else console.WriteLine &quot;Very well, I see you want to stay here.&quot; end if system.Pause(1000) case 4 console.WriteLine console.WriteLine &quot;You are at node 4, where you find the axe. But Hartnell thinks you get it.&quot; end select ' this is paired with select case above console.WriteLine console.WriteString &quot;Would you like to continue? (press y) &quot; answer = console.ReadLine if answer &lt;&gt; &quot;y&quot; then gameOver = true loop ' termination ' make sure the console object is shut down console.Terminate</code></pre></div> <p>Hope it helps. You've given me a great idea for an interactive story.</p> <p>&#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15435</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15435</link>
				<description></description>
				<pubDate>Wed, 28 Mar 2007 23:33:28 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I should mention that getting a classic interactive story working in Brutus2D is a challenge. It doesn't have <a href="https://gamedesign.wikidot.com/genericbasic:goto">GOTO</a>. :) &#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15433</guid>
				<title>Re: Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15433</link>
				<description></description>
				<pubDate>Wed, 28 Mar 2007 23:24:50 +0000</pubDate>
				<wikidot:authorName>hartnell</wikidot:authorName>				<wikidot:authorUserId>10978</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This is <strong>really cool.</strong> I'm not kidding. This is on our <a href="https://gamedesign.wikidot.com/list-of-suggested-text-game-projects">list of suggested text game projects</a> and is known as an <a href="https://gamedesign.wikidot.com/interactive-story">Interactive Story</a>. It's a classic. If you got the idea from this page, great choice. :) If you came up with the idea on your own, you're a natural. :) I planned on writing one myself so that the source code was available (and because it's fun).</p> <p>If you need help, I'd be glad to help with the programming.</p> <p>&#8212;hartnell</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://gamedesign.wikidot.com/forum/t-6748#post-15429</guid>
				<title>Work in Progress</title>
				<link>https://gamedesign.wikidot.com/forum/t-6748/work-in-progress#post-15429</link>
				<description></description>
				<pubDate>Wed, 28 Mar 2007 23:11:03 +0000</pubDate>
				<wikidot:authorName>Anonymous</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Here is what I've done.. I'm sure its possibly not exactly right.</p> <div class="code"> <pre><code>dim answer dim response console.initialize console.writeline &quot;--------------------=&gt;Wierdo 1.0&lt;=---------------------------------------&quot; console.writeline &quot;-------------------------------------------------------------------------&quot; console.writeline &quot;--------------------BY JOSH MCGUIRE--------------------------------------&quot; console.writeline &quot;-------------------------------------------------------------------------&quot; console.writeline &quot;--------------------THANKS FOR PLAYING-----------------------------------&quot; console.writeline &quot;-------------------------------------------------------------------------&quot; console.WriteLine &quot;You wake up in an old hay barn with bars on the windows and the doors boarded shut there is a hanckerchief and some old bread on the table&quot; console.WriteLine &quot;Type h for hankerchief, b for bread.&quot; console.WriteLine answer = console.ReadLine response = &quot;Very well, I see you want neither.&quot; if answer = &quot;b&quot; then response = &quot;Very well then, the bread is in your inventory.&quot; if answer = &quot;h&quot; then response = &quot;Very well then, the hankerchief is in your inventory.&quot; if answer = &quot;&quot; then response = &quot;Neither were picked up!&quot; console.WriteLine console.writeline response console.wait console.writeline &quot;You walk over to the door but stop half and fall to the ground, your stomach growls as if you hadn't eaten for days.&quot; console.writeline &quot;Type h to eat hanckerchief, b to eat the bread.&quot; console.writeline answer = console.ReadLine response = &quot;Very well, I see you want neither.&quot; if answer = &quot;b&quot; then response = &quot;Mhm...&quot; if answer = &quot;h&quot; then response = &quot;*Cough* Yuk...&quot; if answer = &quot;&quot; then response = &quot;So.. hungry..&quot; console.writeline console.writeline Response console.wait console.writeline &quot;You continue to the door. When you get to the door you try pulling on the boards nailed to it, but they want budge.&quot; console.writeline &quot;You may walk to any of these locations. Type w for window, Type d for doors, Type h for hay pile.&quot; console.writeline answer = console.readline response = &quot;Very well, I see you want to stay here.&quot; if answer = &quot;w&quot; then response = &quot;You walk over to the window to peer out to find that the window is boarded. You walk back over to the door.&quot; console.writeline console.writeline response console.wait console.writeline &quot;You are standing at the door. Please choose a location. Type d for doors, Type h for hay pile.&quot; console.writeline &quot;Type d for doors, Type h for hay pile.&quot; console.writeline answer = console.readline response = &quot;Very well, I see you want to stay here.&quot; if answer = &quot;d&quot; then response = &quot;You are already here!!&quot; console.writeline console.writeline Response console.wait console.writeline &quot;You are standing at the door. Please choose a location. Type h for hay pile.&quot; console.writeline &quot;Type h for haypile.&quot; console.writeline answer = console.readline respone = &quot;Very well, I see that you want to stay here.&quot; if answer = &quot;h&quot; then response = &quot;You walk over to the hay and dig around to find an axe on the bottum.&quot; console.writeline console.writeline response console.wait console.writeline &quot;You pickup the axe and walk over to the doors. You rear back and chop away untile you have hole to squeeze out oSetBackColor&quot; console.writeline &quot;You can either go left or right. Type l for left, type r for right.&quot; console.writeline answer = console.readline response = &quot;Very well, I see you want to stay here.&quot; if answer = &quot;r&quot; then response = &quot;You went right&quot; console.writeline console.writeline response console.wait console.writeline &quot;You spot a car running with keys in the ignition.&quot; console.writeline &quot;Type e to enter the car.&quot; console.writeline answer = console.readline response = &quot;Very well, I see you want to stay here.&quot; if answer = &quot;r&quot; then response = &quot;You get inside the car and drive away from the farm.&quot; console.writeline console.writeline Resize console.wait console.writeline &quot;This is the end of this path for now ( start over with a new path )&quot; console.wait console.terminate if answer = &quot;l&quot; then response = &quot;You went left.&quot; console.writeline console.writeline Response console.wait console.writeline &quot;As you round the corner to the left, you spot a man who is working on a tractor.&quot; console.writeline &quot;You may walk over to the man or keep left. Type w to walk&quot; console.writeline answer = console.readline response = &quot;Very well, I see you want to stay here.&quot; if answer = &quot;w&quot; then response = &quot;You walk over to the man.&quot; console.writeline console.writeline Response console.wait console.writeline &quot;As you walk over to the man you notice he has a gun on his belt. As soon as you walk up behind him he pulls his gun from his belt and aims it at you.&quot; console.writeline &quot;Choose your destiny. Type a to axe the man, type r to run back, type b to beg.&quot; answer = console.readline response = &quot;You must pick&quot; if answer = &quot;a&quot; then response = &quot;You axe the man to death. The end. ( Retry a new path )&quot; console.writeline console.writeline response console.wait console.terminate if answer = &quot;b&quot; then response = &quot;You Pussy. The end! ( Retry a new path )&quot; console.writeline console.writeline response console.wait console.terminate if answer = &quot;r&quot; then response = &quot;You ran back to the barn, but he did not follow.&quot; console.writeline console.writeline response console.wait console.writeline &quot;Your only choice is to go right.&quot; console.writeline &quot;Type r, its your only choice.&quot; answer = console.readline response = &quot;Your only choice&quot; if answer = &quot;r&quot; then response = &quot;You went right.&quot; console.Writeline console.writeline response console.wait console.writeline &quot;As you head to the right you spot a running car with the keys in the ignition&quot; console.writeline &quot;Type e to enter the vehicle.&quot; answer = console.readline response = &quot;You can only do one thing and that is get in the damn car!&quot; if answer = &quot;e&quot; then responce = &quot;You get into the car and begin to leave the farm. As you drive off the man runs after shooting his gun blindly at you.&quot; console.writeline console.writeline Response console.wait console.writeline &quot;Thats all for now folks! type e to exit the game.&quot; answer = console.readline if answer = &quot;e&quot; then response = &quot;Bye - bye, thanks for playing.&quot; console.writeline console.writeline Response console.wait console.terminate</code></pre></div> <p>-Josh</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>