<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>codehop &#187; zork</title>
	<atom:link href="http://codehop.com/tag/zork/feed/" rel="self" type="application/rss+xml" />
	<link>http://codehop.com</link>
	<description>#code #art #music</description>
	<lastBuildDate>Mon, 23 Apr 2012 18:37:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Writing Interactive Fiction with Inform 7</title>
		<link>http://codehop.com/writing-interactive-fiction-with-inform-7/</link>
		<comments>http://codehop.com/writing-interactive-fiction-with-inform-7/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 17:31:10 +0000</pubDate>
		<dc:creator><![CDATA[Jacob Joaquin]]></dc:creator>
				<category><![CDATA[the cosmos]]></category>
		<category><![CDATA[inform]]></category>
		<category><![CDATA[interactivefiction]]></category>
		<category><![CDATA[planetfall]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[z-machine]]></category>
		<category><![CDATA[zork]]></category>

		<guid isPermaLink="false">http://www.thumbuki.com/?p=205</guid>
		<description><![CDATA[I&#8217;m learning Inform 7, a programming language designed to create interactive works of fiction for the same Z-Machine used for many text classics such and Zork and Planetfall. My inspiration comes from Adam Parrish&#8216;s &#62;frotzophone, &#8220;an interface for making music &#8230; <a href="http://codehop.com/writing-interactive-fiction-with-inform-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m learning <a href="http://www.inform-fiction.org/I7/Inform%207.html">Inform 7</a>, a programming language designed to create interactive works of fiction for the  same <a href="http://en.wikipedia.org/wiki/Z-machine">Z-Machine</a> used for many text classics such and <a href="http://en.wikipedia.org/wiki/Zork">Zork</a> and <a href="http://en.wikipedia.org/wiki/Planetfall">Planetfall</a>. My inspiration comes from <a href="http://itp.nyu.edu/~ap1607/">Adam Parrish</a>&#8216;s <a href="http://itp.nyu.edu/~ap1607/frotzophone/">&gt;frotzophone</a>, &#8220;an interface for making music with interactive fiction&#8221;.</p>
<p>So far, I&#8217;ve put in about three hours. Within this time frame, I&#8217;ve already been successful at creating some very rudimentary, yet interactive environments.  The syntax of Inform is by far the highest level language I&#8217;ve personally ever encountered; Coding requires the use of real english language. That fascinates me, and at the same time, hard for me to wrap my brain around.</p>
<p>Below is the in-game action of a demo I wrote to learn the language, followed by the actual code used to create the work.</p>
<p><code><strong>The Hack-o-torium</strong><br />
An Interactive Fiction by Jacob Joaquin<br />
Release 1 / Serial number 080815 / Inform 7 build 5T18 (I6/v6.31 lib 6/12N) SD</p>
<p><strong>Hack-o-torium</strong><br />
This room looks like an astromech spewed its guts all over place, as each nook and cranny is filled with odd electrical devices, wires, resistors, etc.  You hear the busy street traffic below.</p>
<p>A simple but well crafted wooden staircase is here.</p>
<p>A large wooden table resides near the giant windows.</p>
<p>On The large wooden table is a bottle (closed) (in which is a clear brown liquid).</p>
<p>>climb stairs</code><br />
<span id="more-325"></span><br />
<code><strong>Loft</strong><br />
Stacks of nondescript boxes practically fill this room. The low ceiling and makes moving about the room a bit of a challenge. A wooden staircase leads into the main space below.</p>
<p>A simple but well crafted wooden staircase is here.</p>
<p>>d</p>
<p><strong>Hack-o-torium</strong><br />
A simple but well crafted wooden staircase is here.</p>
<p>A large wooden table resides near the giant windows.</p>
<p>On The large wooden table is a bottle (closed) (in which is a clear brown liquid).</p>
<p>>examine windows<br />
These giant windows look out onto the buildings across the street.</p>
<p>>examine table<br />
The construction of the table is of high quality, though clearly built for function rather than form. Scratches, nicks, tiny splatters of solder and dried glue cover the surface.</p>
<p>>get bottle<br />
Taken.</p>
<p>>examine bottle<br />
The yellow and blue label says, "Caffeine-Mate".</p>
<p>>look in bottle<br />
In the bottle is a clear brown liquid.</p>
<p>>examine caffeine-mate<br />
A magical elixir for warding off sleepiness.</p>
<p>>drink caffeine-mate<br />
The bottle isn't open.</p>
<p>>open bottle<br />
You open the bottle.</p>
<p>>drink caffeine-mate<br />
The slightly sweetened elixir hits the spot. An electric buzz permeates your frontal lobe. Urge to code rising.<br />
</code></p>
<p>And here&#8217;s the code:</p>
<p><code>"The Hack-o-torium" by Jacob Joaquin</p>
<p>The Hack-o-torium is a room. "This room looks like an astromech spewed its guts all over place, as each nook and cranny is filled with odd electrical devices, wires, resistors, etc.  You hear the busy street traffic below."</p>
<p>The giant windows are scenery. The description is "These giant windows look out onto the buildings across the street."<br />
The giant windows are in the Hack-o-torium.<br />
Instead of taking windows:<br />
	say "Your efforts to take the giant windows prove futile.".</p>
<p>The large wooden table is a supporter. "A large wooden table resides near the giant windows."<br />
The description of the large wooden table is "The construction of the table is of high quality, though clearly built for function rather than form. Scratches, nicks, tiny splatters of solder and dried glue cover the surface."<br />
The large wooden table is in the Hack-o-torium.<br />
Instead of taking the table, say "Moving this table is at least a two person job."</p>
<p>A bottle is a thing.  The description is "The yellow and blue label says, 'Caffeine-Mate'.".<br />
The bottle is closed, transparent and openable.<br />
The bottle is on the large wooden table.</p>
<p>In the bottle is a clear brown liquid.<br />
Understand "caffeine-mate" as clear brown liquid.<br />
The description of the clear brown liquid is "A magical elixir for warding off sleepiness.".</p>
<p>Instead of drinking the clear brown liquid:<br />
    remove the noun from play;<br />
    say "The slightly sweetened elixir hits the spot. An electric buzz permeates your frontal lobe. Urge to code rising."</p>
<p>The Loft is a room. "Stacks of nondescript boxes practically fill this room. The low ceiling and makes moving about the room a bit of a challenge. A wooden staircase leads into the main space below."</p>
<p>A staircase is a kind of door. "A simple but well crafted wooden staircase is here."<br />
A staircase is always open. A staircase is never openable.<br />
The wooden staircase is a staircase. It is above the Hack-o-torium and below the Loft.<br />
Understand "stairs" as wooden staircase.</p>
<p>Instead of climbing a staircase:<br />
    try entering the noun.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://codehop.com/writing-interactive-fiction-with-inform-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Not Zork</title>
		<link>http://codehop.com/not-zork/</link>
		<comments>http://codehop.com/not-zork/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 17:28:06 +0000</pubDate>
		<dc:creator><![CDATA[Jacob Joaquin]]></dc:creator>
				<category><![CDATA[the cosmos]]></category>
		<category><![CDATA[csound]]></category>
		<category><![CDATA[drummachine]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[infocom]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[paper]]></category>
		<category><![CDATA[sketch]]></category>
		<category><![CDATA[zork]]></category>

		<guid isPermaLink="false">http://www.thumbuki.com/20080216/not-zork.html</guid>
		<description><![CDATA[Though this may look like a map to an Infocom text adventure, it is a sketch of the dseq drum machine micro-language interpreter, as implemented in Csound. Flickr Photo by me.]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/thumbuki/2269462934/" title="Not Zork by thumbuki, on Flickr"><img src="http://farm3.static.flickr.com/2080/2269462934_aa253c641a.jpg" width="500" height="375" alt="Not Zork" title="Not Zork" /></a></p>
<p>Though this may look like a map to an <a href="http://en.wikipedia.org/wiki/Infocom">Infocom</a> text adventure, it is a sketch of the dseq drum machine micro-language interpreter, as implemented in <a href="http://www.csounds.com/">Csound</a>.</p>
<p><a href="http://flickr.com/photos/thumbuki/2269462934/">Flickr Photo</a> by <a href="http://flickr.com/photos/thumbuki/">me</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://codehop.com/not-zork/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
