<?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>Grantovich.net &#187; nostalgia</title>
	<atom:link href="http://grantovich.net/posts/tag/nostalgia/feed/" rel="self" type="application/rss+xml" />
	<link>http://grantovich.net</link>
	<description>Updated with astounding infrequency</description>
	<lastBuildDate>Tue, 29 Jun 2010 01:38:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>&#8220;Object&#8221;-Oriented Programming in the Land of ZZT</title>
		<link>http://grantovich.net/posts/2009/08/object-oriented-programming-in-the-land-of-zzt/</link>
		<comments>http://grantovich.net/posts/2009/08/object-oriented-programming-in-the-land-of-zzt/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 23:08:26 +0000</pubDate>
		<dc:creator>Grantovich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[nostalgia]]></category>
		<category><![CDATA[zzt]]></category>
		<category><![CDATA[zzt-oop]]></category>

		<guid isPermaLink="false">http://grantovich.net/?p=378</guid>
		<description><![CDATA[I sometimes say that QuickBASIC was the first programming language I ever learned. This is a half-truth; a shortcut that allows me to avoid a lengthy explanation of what ZZT-OOP is, and how it was really the first programming language I ever learned. But since this is my blog and not a casual conversation, we have a bit [...]]]></description>
			<content:encoded><![CDATA[<p>I sometimes say that QuickBASIC was the first programming language I ever learned. This is a half-truth; a shortcut that allows me to avoid a lengthy explanation of what <strong>ZZT-OOP</strong> is, and how <em>it</em> was really the first programming language I ever learned. But since this is my blog and not a casual conversation, we have a bit more room for exposition. Read on, if you&#8217;re curious about languages and game development: ZZT is quite an interesting piece of history.</p>
<p>The year was 1996ish; the family computer, a Windows 3.1 pizza box with a 486 processor and <a href="http://en.wikipedia.org/wiki/CompuServe">CompuServe</a> dial-up internet. In those days I would frequently monopolize it, sinking hours into whatever <a href="http://en.wikipedia.org/wiki/Apogee_Software">Apogee</a> and <a href="http://en.wikipedia.org/wiki/Epic_Games">Epic</a> shareware games I could get my hands on. But since I couldn&#8217;t tie up the phone line with game downloads for too long, my dad would occasionally find something for me with his fast connection at the office, and bring it home on a good old 3.5&#8243; floppy.</p>
<p>On one such occasion, I found myself the recipient of a well-worn disk with the cryptic string &#8220;ZZT 3.2&#8243; scrawled on the label. Into the drive it went, and after a brief configuration prompt&#8230;</p>
<p><img class="alignnone size-full wp-image-390"  src="http://grantovich.net/wp-uploads/p-zzt-town.png" alt="p-zzt-town" width="640" height="400" /></p>
<p>As you can probably tell from the above screenshot, <a href="http://en.wikipedia.org/wiki/ZZT">ZZT</a> is an <a href="http://en.wikipedia.org/wiki/ANSI_art">ANSI-graphics</a> top-down action-adventure-puzzle game. It was created in 1991 by <a href="http://en.wikipedia.org/wiki/Tim_Sweeney_(game_developer)">Tim Sweeney</a>, founder of Epic Games (then called Epic MegaGames), who went on to develop several notable shareware classics of the DOS era and became a key developer of the Unreal engine.</p>
<p>The registered version of ZZT came with four &#8220;worlds&#8221;, each a self-contained game that could be completed in a few hours. While these worlds remain iconic even today, and did much to establish the basic formula for &#8220;classic&#8221; ZZT gameplay, they are not the reason ZZT is so interesting.</p>
<p>Notice the <strong>Board Editor</strong> option in the screen above? If you haven&#8217;t guessed already, ZZT is in fact a complete game creation system. Using a wide variety of items, obstacles, and enemies, you can construct your own game worlds (stored in a &#8220;.zzt&#8221; file) and share them with others. You&#8217;re not limited to the built-in entities, either: ZZT has special generic entities called Objects that can take on any appearance, whose behavior is determined by a program written in <strong><a href="http://en.wikipedia.org/wiki/ZZT-oop">ZZT-OOP</a></strong>, the &#8220;Object&#8221;-Oriented Programming language.</p>
<p><img class="alignnone size-full wp-image-389"  src="http://grantovich.net/wp-uploads/p-zzt-editor.png" alt="p-zzt-editor" width="640" height="400" /></p>
<p>ZZT-OOP is a weird, restrictive little language. Among its oddities:</p>
<ul>
<li>You can&#8217;t create new objects at runtime; all the objects you want to use must already exist before the game starts (with one extremely limited exception)</li>
<li>There are no methods, functions, or anything else that would imply a call stack</li>
<li>The only flow control mechanism is &#8220;messages&#8221;, which are the equivalent of <a href="http://en.wikipedia.org/wiki/Goto">GOTO</a> statements&#8230; except that code in one object can send a message to another object, causing <em>that</em> object to unconditionally jump to a different point in its program</li>
<li>There are no statement blocks; the &#8220;if&#8221; command (which is the only method of conditional flow control) jumps to a specified program location if the condition is true, and falls through to the next statement if it&#8217;s false</li>
<li>The only variable type is boolean, and you can&#8217;t have more than ten of them set to true at the same time</li>
<li>All objects on a &#8220;board&#8221; (game screen) execute their code simultaneously, but objects on other boards cannot be accessed, since a board&#8217;s state is frozen when the player leaves it</li>
</ul>
<p>With this being the first programming language I learned, and QuickBASIC being the second, it&#8217;s a miracle I ever managed to wrap my brain around modern languages at all. But the truth is, ZZT showed me how much <em>fun</em> programming could be, by setting it in the context of a game. Type in some cryptic codes, press a key, and there&#8217;s a little smiley face running around trying to shoot you. Even the tiniest amount of effort yields instant results. This appealed to my ten-year-old attention span, and though I never finished any worlds of my own, ZZT permanently lodged a favorable impression of programming in the back of my brain.</p>
<p>Needless to say, I wasn&#8217;t the only ZZT fan out there. Since the game&#8217;s 1991 release, aspiring game creators have cooked up thousands of ZZT worlds, each one pushing the limits of the engine further than before. Glitches were discovered that, if properly exploited, allowed one to do previously impossible things, like making an object move diagonally or teleporting the player to an arbitrary location. The world file format was reverse-engineered and new editors were created, far surpassing the game&#8217;s built-in editor. Ingenious coders transformed ZZT from a top-down action-adventure game into a sidescroller, an RPG, a stealth game, and many other genres.</p>
<p><img class="alignnone size-full wp-image-429"  src="http://grantovich.net/wp-uploads/p-zzt-mercenary.png" alt="p-zzt-mercenary" width="640" height="400" /></p>
<p>As complex as some of the community&#8217;s later works were, I&#8217;d say the reason ZZT was so successful and long-lived was its simplicity. The simplicity of the text-mode graphics and <a href="http://en.wikipedia.org/wiki/PC_speaker">PC speaker</a> sound effects precluded the possibility of a lengthy media creation process. The extreme simplicity of the scripting language, and the existence of a pre-built engine with a lot of basic functionality included, meant that it was easy to ignore the gritty details of making a game and focus on the actual gameplay. All of these things might seem like severe limitations (they are), but they also dramatically lower the barrier to entry for new world builders.</p>
<p>Relatively few games today are based on user-generated content to the extent that ZZT was, and even fewer have built-in scripting languages. In a 2007 <a href="http://www.digitalmzx.net/forums/index.php?showtopic=12521">interview</a>, Tim Sweeney himself had these words to offer:</p>
<blockquote cite="http://www.digitalmzx.net/forums/index.php?showtopic=12521"><p><strong>Tim Sweeney said:</strong></p>
<p>I&#8217;ve always wanted to build a massive-multiplayer version of ZZT. In other words, a vast interlinked game world built and extended by users using simple ZZT-like tools. Like ZZT, it would be open-ended and community-driven. Players would be able to build their own levels and write scripts for objects, as well as play the game as a character, build up attributes and collect items.</p>
<p>Such a project would tackle all the key technical problems of MMO development without the complexity of a 3D environment. The data required for levels and motion data is also so simple that servers could be run by the community without significant bandwidth expense.</p>
<p>Alas, such a game wouldn&#8217;t be much of a Gears of War killer. <img src='http://grantovich.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  So don&#8217;t expect it to actually happen. But it would be interesting!</p></blockquote>
<p>Indeed it would, Tim. Indeed it would.</p>
<p> </p>
<p><strong>Some links for you:</strong><br />
<a href="http://zzt.belsambar.net/">Z2</a> is the largest archive of worlds and other ZZT-related downloads on the internet, though much of its textual content is outdated. Be sure to check the <a href="http://zzt.belsambar.net/?p=fg">Featured Games</a> list, which includes a lot of famous and influential games in ZZT&#8217;s history. <a href="http://dosbox.com/">DOSBox</a> comes in handy for running ZZT on modern machines (&gt;=10,000 cycles recommended). You might also want to check out ZZT&#8217;s vastly-more-powerful-but-also-more-complex spiritual successor, <a href="http://en.wikipedia.org/wiki/MegaZeux">MegaZeux</a>, which is still developed today.</p>
]]></content:encoded>
			<wfw:commentRss>http://grantovich.net/posts/2009/08/object-oriented-programming-in-the-land-of-zzt/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Please Let This Be An Ordinary Field Trip</title>
		<link>http://grantovich.net/posts/2009/05/please-let-this-be-an-ordinary-field-trip/</link>
		<comments>http://grantovich.net/posts/2009/05/please-let-this-be-an-ordinary-field-trip/#comments</comments>
		<pubDate>Sat, 09 May 2009 03:30:07 +0000</pubDate>
		<dc:creator>Grantovich</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[magic school bus]]></category>
		<category><![CDATA[nostalgia]]></category>
		<category><![CDATA[seat belts everyone]]></category>
		<category><![CDATA[TV shows]]></category>

		<guid isPermaLink="false">http://grantovich.net/?p=174</guid>
		<description><![CDATA[There is a tendency to look back on the media of one&#8217;s childhood through rose-colored glasses. That one videogame you thought was an incredibly challenging but rewarding masterpiece? Turns out it was just a third-rate clone of a Nintendo Hard platformer with more game-breaking glitches than you could shake a joystick at. That one TV show you watched [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-245"  src="http://grantovich.net/wp-uploads/p-ms-frizzle.jpg" alt="p-ms-frizzle" width="192" height="226" />There is a tendency to look back on the media of one&#8217;s childhood through rose-colored glasses. That one videogame you thought was an incredibly challenging but rewarding masterpiece? Turns out it was just a third-rate clone of a <a href="http://tvtropes.org/pmwiki/pmwiki.php/Main/NintendoHard">Nintendo Hard</a> platformer with more game-breaking glitches than you could shake a joystick at. That one TV show you watched religiously every Saturday morning with a bowl of Cinnamon Toast Crunch in hand? Turns out it was just an incredibly cheesy, lazily-animated product tie-in show with plot holes big enough to drive a tank through.</p>
<p>But sometimes you go back, take a second look at something you enjoyed as a kid, and think &#8220;Wow, this is <em>exactly</em> as awesome as I remembered it.&#8221; Usually that&#8217;s the point where you proceed to blow an entire evening on YouTube, <a href="http://www.dosbox.com/">DOSBox</a>, or a console emulator, up to your eyeballs in nostalgia and grinning like you just won the lottery.</p>
<p>One recent &#8220;revisiting&#8221; of mine occurred when, searching for something unrelated, I discovered a playlist of probably-illegal <a href="http://en.wikipedia.org/wiki/The_Magic_School_Bus_(TV_series)">The Magic School Bus</a> episodes on YouTube (&#8220;Related videos&#8221; can turn up the weirdest things&#8230;). In my days as a young, impressionable elementary-schooler, I think this was one of the only &#8221;educational&#8221; TV shows* that I would go out of my way to watch at home, because it was <em>that good</em>. But what with me being a grown-up college student nowadays, I hadn&#8217;t seen an episode in years.</p>
<p>In case there was any doubt: Yes, it&#8217;s still awesome. Coming from an adult perspective the science may seem boring due to its extremely basic nature, but it&#8217;s easy to see just how much effort went into making The Magic School Bus a fundamentally good show. Ms. Frizzle (a.k.a. Lily Tomlin) is positively effervescent, her class&#8217;s goofy antics and exaggerated reactions will appeal to anyone&#8217;s inner fourth-grader, and the show&#8217;s <a href="http://www.youtube.com/watch?v=lKJCutTZNqo">theme song</a> is so damn catchy it ought to be illegal. Plus it&#8217;s hilarious to point out all the patent absurdities and flagrant violations of school health and safety protocols you never noticed as a kid.</p>
<p>So go out there and find something you thought was amazing when you were little, and see if it stands the test of time. At worst, you&#8217;ll laugh at yourself for ever liking it. At best, you&#8217;ll have a cake-eating grin plastered on your face for the next few hours.</p>
<p> </p>
<p>* I think the only other one would have to be <a href="http://en.wikipedia.org/wiki/Bill_Nye_the_Science_Guy">Bill Nye the Science Guy</a>, who coincidentally was the SG Horton Distinguished Speaker at RIT this past fall quarter. If you ever get the opportunity to go see this guy, jump at it. He&#8217;s every bit as funny and engaging in real life as he is on the show.</p>
]]></content:encoded>
			<wfw:commentRss>http://grantovich.net/posts/2009/05/please-let-this-be-an-ordinary-field-trip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
