<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>[MinorHack] The saga continues</title>
		<link>http://www.allegro.cc/forums/view/590548</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 23 Mar 2007 04:52:35 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>This is the thread for the March 17th <a href="http://cgamesplay.com/minorhack">MinorHack</a>.</p><p>I&#39;ve done a lot of work around the site lately, so I will outline the new features here.</p><ul><li><p>Email notification. Never miss another MinorHack because of not knowing! If you set your email address at the <a href="http://www.allegro.cc/account/login/http://cgamesplay.com/minorhack/admin/info">User Information</a> page, and then set your email preferences at the <a href="http://www.allegro.cc/account/login/http://cgamesplay.com/minorhack/admin/email">Email Settings</a> page, you can stay in touch!</p></li><li><p>The <a href="http://cgamesplay.com/minorhack/rules">Bonus Rules</a> page and everywhere else rules are shown now includes a link to that rule&#39;s page. This page will show a list of competitions that used this rule, so if you don&#39;t understand how to implement a rule, you can brainstorm from those.</p></li><li><p>Scores are in the database. There isn&#39;t a way to submit votes through the site yet, but you can look at the past competitions and see who won each one (and who has been disqualified because of not voting).</p></li><li><p>A hidden page, the <a href="http://cgamesplay.com/minorhack/users">User List</a>, shows all the people who have played in MinorHack and how many times. This will eventually show the user&#39;s total score and some &quot;participation rating&quot; to sort them by (&quot;participation&quot; will probably be defined as something like number of competitions won * total number of points * total number of games played).</p></li><li><p>Icons have been added around the site. They add a splash of color <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p></li><li><p>You can now download the entire competition as a single zip file containing all the entries, revised entries, and a Makefile. Also, entry filenames now reflect the user name of the submitter, and not the number.</p></li></ul><p>

Hope you enjoy!</p><p>Just to keep things easy to find in the future, the following is a list of all the previous MinorHack threads, sorted chronologically.</p><ul><li><p><a href="http://www.allegro.cc/forums/thread/586670">MicroHack</a></p></li><li><p><a href="http://www.allegro.cc/forums/thread/587326">MinorHack Attack!</a></p></li><li><p><a href="http://www.allegro.cc/forums/thread/588025">MinorHack Returns!</a></p></li><li><p><a href="http://www.allegro.cc/forums/thread/588355">[MinorHack] New Features</a></p></li><li><p><a href="http://www.allegro.cc/forums/thread/589886">[MinorHack] How about a reactivation?</a></p></li><li><p><a href="http://www.allegro.cc/forums/thread/590090">[MinorHack] This Saturday?</a></p></li></ul><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Thu, 15 Mar 2007 01:51:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I like the site improvements!</p><p>Looking forward to the 17th ...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zaphos)</author>
		<pubDate>Fri, 16 Mar 2007 01:29:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll see if I can participate. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Fri, 16 Mar 2007 02:12:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I better go to sleep now so I can wake up for this in time.  <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sat, 17 Mar 2007 12:04:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think I&#39;ll be able to participate but that depends on how tired I&#39;ll be in nine hours from now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dennis)</author>
		<pubDate>Sat, 17 Mar 2007 14:42:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m hoping I&#39;ll wake up in time. <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" /></p><p>Side-note: How early is too early to propose a competition? I have a friend who might&#39;ve done this one, but he had a focus group dealie to go to. Anyway, I&#39;d like to get him in on one. Weekends seem to work well, but I was wondering if next weekend would be too short notice.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sat, 17 Mar 2007 16:05:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just go to the &quot;Proposed Competitions&quot; page, and put in the time <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 18:54:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, I should be in this one! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sat, 17 Mar 2007 18:59:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>2 yes&#39;s and 4 maybe&#39;s... Looking good so far <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 19:04:21 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Heck, I was in a <a href="http://cgamesplay.com/minorhack/competitions/past">1-man compo!</a> <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> (it wasn&#39;t fun <img src="http://www.allegro.cc/forums/smileys/cry.gif" alt=":&#39;(" />)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sat, 17 Mar 2007 19:06:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, and you got disqualified!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 19:07:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Kikaru said:</div><div class="quote"><p>
Heck, I was in a 1-man compo!
</p></div></div><p>

</p><div class="quote_container"><div class="title">CGamesPlay said:</div><div class="quote"><p>
Yeah, and you got disqualified!
</p></div></div><p>

That is so delicious! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Sat, 17 Mar 2007 19:09:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m in for this one. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Krzysztof Kluczek)</author>
		<pubDate>Sat, 17 Mar 2007 19:19:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve said it before and I&#39;ll say it again: this could be the biggest MinorHack yet! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Oh and for your entertainment, I am presently coding a &quot;download competition&quot; feature, where you can download all the original and revised entries for a competition, including Makefiles! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 19:27:22 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>And how was I disqualified?  <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sat, 17 Mar 2007 19:27:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I hope I will be able to participate in this one, but I can&#39;t really promise anything - I&#39;m having a bunch of, let&#39;s say, unwanted guests this evening <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sat, 17 Mar 2007 19:29:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
And how was I disqualified? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div></div><p>Well, technically the whole competition is nil because there was no way to vote. You got DQed because you didn&#39;t vote <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 19:32:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think I might be in too.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Ron Ofir)</author>
		<pubDate>Sat, 17 Mar 2007 20:20:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Zip file downloading is done. You can check it out at <a href="http://cgamesplay.com/minorhack/competitions/7">any competition page.</a> Also at the bottom of the pages is a link to the Makefile I wrote. Also, entry file names now reflect the user name of the submitter, not the number.</p><p>I would appreciate it if MinGW users would test the Makefile. I&#39;m confident that it works, but a little assurance would be nice.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 20:55:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><b>yawn</b> I&#39;m tired already. I&#39;ll slack this evening. Good luck everyone!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dennis)</author>
		<pubDate>Sat, 17 Mar 2007 21:00:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Why did you change your name? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 21:01:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nope, doesn&#39;t work - it thinks it&#39;s under UNIX and subsequently fails to compile anything for obvious reasons.</p><p>I&#39;ve attached a somewhat fixed Makefile that recognizes MinGW and defines CXX so that it works. But still, it doesn&#39;t take into account that some entries need other libs linked besides Allegro. For example, my entry in the competition linked requires -lwinmm for timing.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Why did you change your name?
</p></div></div><p>

Obviously, he officially changed his legal surname to &quot;&quot; <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sat, 17 Mar 2007 21:05:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Why did you change the ifdef line to ifneq?</p><p>Why did you set CC to $(MINGDIR)/bin/gcc?</p><p>Why didn&#39;t the default CXX work?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 21:08:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>NameChange: Various reasons. One of the minor reasons was that I felt it was too long. I won&#39;t talk about the main reason publicly, if you absolutely have to know, you can pm me.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dennis)</author>
		<pubDate>Sat, 17 Mar 2007 21:13:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sorry, I attached the wrong file <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.</p><p>Anyway, &quot;ifdef MINGDIR&quot; executes the else part even if MINGDIR is defined in the environment. Definitely strange. I tried to fix it with ifneq($(MINGDIR),) but it appears that this doesn&#39;t work either...</p><p>The CC was just something I was checking. CXX defaults to cc1plus on some MinGW installations, even though MinGW doesn&#39;t have cc1plus.exe (only g++.exe).</p><p>Sorry for the confusion.</p><p>[edit]<br />And somehow I can&#39;t delete the attachment I made to this post. Please disregard it, it doesn&#39;t work either...</p><p>[edit2]<br />Ok, now it works with ifdef MINGDIR even though it didn&#39;t when I first tried <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" />. I think I&#39;m going to duct-tape my mouth before I convince even more people that I&#39;m an idiot.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sat, 17 Mar 2007 21:14:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Well, technically the whole competition is nil because there was no way to vote.
</p></div></div><p>My favorite is still the <a href="http://cgamesplay.com/minorhack/competitions/6">two man compo</a>, where there is a way to vote ... sort of.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zaphos)</author>
		<pubDate>Sat, 17 Mar 2007 21:23:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Jakub: who still needs <i>convincing?</i> <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>Zaphos: That was the one comp I was glad I missed. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sat, 17 Mar 2007 22:18:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
who still needs convincing?
</p></div></div><p>

Yeah, I think it&#39;s pretty obvious about now <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />.</p><p>CGamesPlay: At the risk of being an idiot once more - are you sure the revised entries in the competition ZIPs are actually the revised ones? I get the same source for both xxx.c and xxx_r.c, with the difference being 8 bytes in the comments.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sat, 17 Mar 2007 22:27:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>When is todays MH?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sat, 17 Mar 2007 22:53:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Jakub: Now it&#39;s my turn to be the idiot <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> Fixed. Can you try the new Makefile? The only difference is the CXX = g++. Hope it works!</p><p>[append]<br />And BAF is just a lazy idiot.</p><p>[append]<br />The next MinorHack has been proposed, but it conflicts with TINS. I&#39;m in favor of one right before TINS (I proposed it).
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sat, 17 Mar 2007 22:54:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It works OK now. I think it was something wrong with my system, I&#39;ve had problems with environment variables once already - it seems that sometimes those that are set as &quot;user&quot; variables (as opposed to &quot;system&quot;) are not working properly. &quot;set MINGDIR&quot; displayed &quot;MINGDIR=c:/mingw&quot;, but make didn&#39;t consider it defined...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sat, 17 Mar 2007 23:11:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>MinorHack starts in 13 min! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><p>Hope it&#39;s a nice rule this time... <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sat, 17 Mar 2007 23:47:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m done <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.</p><p>My entry is called Arrow Fighter and is for the twitch-fingered <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />. The aim is to press the shown key combination in the time alotted. Each level has less time than the previous, and any mistake is game over.</p><p>It should compile out of the box with a simple &quot;g++ x.cpp -ox -lalleg&quot;, but I&#39;ll attach a Windows binary anyway.</p><p>[EDIT]<br />Since when is MinorHack so quiet?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 01:01:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I joined with 47 minutes to go and uploaded at the buzzer.  There&#39;s a bug I&#39;m working on now.  Mine&#39;s not a game unfortunately.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sun, 18 Mar 2007 01:03:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I didn&#39;t finish in time  <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" /><br />Now I&#39;m thinking if I should make a revised one or not. Is it worth it anyway?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sun, 18 Mar 2007 01:03:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Mine is done as well. I didn&#39;t get a name. <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>Just throw stars to hit the enemies, don&#39;t get hit. I will make this into a working game a little later. <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" /></p><p>It&#39;s worth it if you want to. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 01:04:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, it seems this MinorHack <i>is</i> the biggest at a whopping 7 finished entries. I&#39;m gonna go and play them all now.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 01:05:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>9! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 01:06:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think mine would be pretty fun, if it was playable. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><p>I never got the hang of deleting inside fors of std::lists. I always do... well, something else entirely.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 01:07:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Uploaded a new version which allows you to have multiple images.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sun, 18 Mar 2007 01:09:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Kikaru&#39;s entry required 3 changes to compile: int main, not void, return 0, not return, and winalleg.h.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 01:11:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, not on mine. It ran fine the way it is. <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" /></p><p>winalleg.h is a quick fix for std::vector. Forgot to take it out. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 01:12:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here&#39;s what mine does:</p><p>This image:</p><p><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/7/a/7a10a33dc3305fb4e023c35ac0d5a6aa.png" alt="591614" width="93" height="39" /></p><p>becomes:</p><p><span class="remote-thumbnail"><span class="json">{"name":"591615","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/7\/971c34d88c7697e39c9612e8d96fb45e.jpg","w":646,"h":512,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/9\/7\/971c34d88c7697e39c9612e8d96fb45e"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/9/7/971c34d88c7697e39c9612e8d96fb45e-240.jpg" alt="591615" width="240" height="190" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sun, 18 Mar 2007 01:16:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My entry has a nasty bug when you can&#39;t exit if you had a keypressed when the game ended (pretty much always <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />). I&#39;ve fixed it in the revised entry, it&#39;s just one line of code changed from &quot;while (keypressed());&quot; to &quot;while (keypressed()) readkey();&quot; <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.</p><p>Attached a binary for the revised one.</p><p>This time around I honestly believe I wasn&#39;t going to make it. Around 20:23 I had nothing to show. Somehow, I did manage to pull it off... It&#39;s a great feeling when you don&#39;t stop and eventually get it done in time <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />.</p><p>[EDIT]
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
9! <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div></div><p>

Not only I&#39;m an idiot, it seems I&#39;m also unable to count!</p><p>Anyway, you let me down Krzysztof <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />. I thought we were going to make it the next &quot;Teraz Polska&quot; competition <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 01:16:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ok, excuse my ignorance, but how do I run a makefile? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 01:17:12 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Err.. <tt>make</tt>. At least if you have make installed with your MinGW, which you should.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 01:19:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>make, from the command line, or mingw32-make if you have a certain GCC version.</p><p>Also, my entry isn&#39;t too bad after fixing that stupid for loop error. Took me a good 15 minutes to fix though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 01:20:38 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Huh? I mean, a step-by-step walk-through of it. I know nothing about them... <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 01:21:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Around 20:23 I had nothing to show.
</p></div></div><p>
Me too -- but that&#39;s the norm, for me ... <img src="http://www.allegro.cc/forums/smileys/embarassed.gif" alt=":-[" /></p><p>How do I get Simon&#39;s to compile?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zaphos)</author>
		<pubDate>Sun, 18 Mar 2007 01:21:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Ok, excuse my ignorance, but how do I run a makefile? <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div></div><p>
You go into the dir and type &quot;make&quot;</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
How do I get Simon&#39;s to compile?
</p></div></div><p>
Error? On my computer it compiles flawlessly.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sun, 18 Mar 2007 01:21:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Open up a command prompt, cd to the directory, type make, or mingw32-make if that doesn&#39;t work. If that doesn&#39;t work, don&#39;t even bother, you have something messed up and it&#39;ll take longer than the convenience it gives you in the first place.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 01:22:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Run make. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p><p>In order of ranking:</p><p>BAF - best game ever <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> (just kidding <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />)<br />Jakub - awesome game, forgot to mention that the box is space<br />Zaphos - neat game, fun, and multiple levels<br />Kibizor - cool concept, gets boring after a while (nothing to do, all the things bunch together making it easy)<br />OneWing - kind of cool, not a game though, use deprecated functions<br />GrantG - same game as mine ;P not bad though, better done than mine, although has some bugs with collision detection<br />CGames - incomplete, cool start<br />Simon - you forgot END_OF_MAIN so i couldn&#39;t compile it without fixing, is incomplete, otherwise nice start</p><p>Of course, I ranked the completed entries ahead, wether or not I thought the product itself was better just because they finished. I wouldn&#39;t have changed much by not ranking that way.</p><p>[edit]<br />Zaphos - if it&#39;s the same error I got, just add END_OF_MAIN() at the end.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sun, 18 Mar 2007 01:22:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Simon - you forgot END_OF_MAIN so i couldn&#39;t compile it without fixing, is incomplete, otherwise nice start
</p></div></div><p>

Oh, my.. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /><br />On Linux you don&#39;t need END_OF_MAIN(), sorry for that.</p><div class="source-code snippet"><div class="inner"><pre>Ranking
°°°°°°°

<span class="n">1</span>. JakubWasilewski<span class="k2">]</span><span class="k3">-</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_595.html" target="_blank">nice</a> <span class="k1">and</span> complete game, feels very polished <span class="k2">(</span>fadeouts, etc.<span class="k2">)</span>
<span class="n">2</span>. BAF<span class="k2">]</span><span class="k3">-</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_595.html" target="_blank">nice</a> pong clone, paddles are a tad too small
<span class="n">3</span>. Kikaru<span class="k2">]</span><span class="k3">-</span> looks like a fun game, but runs too fast<span class="k2">;</span> crashes sometimes, too <span class="k2">(</span>had to type <span class="s">"killall Kikaru"</span> a few <a href="http://www.delorie.com/djgpp/doc/libc/libc_822.html" target="_blank">times</a> <span class="k2">:</span>P
<span class="n">4</span>. Zaphos<span class="k2">]</span><span class="k3">-</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_595.html" target="_blank">nice</a> snake<span class="k3">/</span>worms<span class="k3">/</span>nibbles<span class="k3">/</span>whatever clone<span class="k2">;</span> runs too slow, level design makes no sense to me
<span class="n">5</span>. CGamesPlay<span class="k2">]</span><span class="k3">-</span> useless, but the movement <span class="k1">and</span> rotating of the ship looks great
<span class="n">6</span>. GrantG<span class="k2">]</span><span class="k3">-</span> your breakout clone doesn<span class="s">'t make much sense because there is no wall to destroy (yet?)</span>
<span class="s">7. Onewing]- the display is not very accurate (I know of better ASCII viewers); besides that, it'</span>s <span class="k1">not</span> a game
<span class="n">8</span>. Kibiz0r<span class="k2">]</span><span class="k3">-</span> crashes everytime I click, sorry
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sun, 18 Mar 2007 01:24:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I did mention the box is space in the instructions. At least I did mention that space is needed <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.</p><p>Anyway, the re-revised version (attached again, sorry ML) has a bug fixed where the time didn&#39;t stop after you enter all 6 symbols. I had <tt>if (where != 6); timeLeft -= 0.01;</tt>. One sodding semicolon... <img src="http://www.allegro.cc/forums/smileys/angry.gif" alt="&gt;:(" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 01:25:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Zaphos - if it&#39;s the same error I got, just add END_OF_MAIN() at the end.
</p></div></div><p>Ah -- yeah, that was it, thanks!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zaphos)</author>
		<pubDate>Sun, 18 Mar 2007 01:26:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yes, well you probably have a winalleg.h <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p><b>Jakub</b>: Cool game! It would be perfect if it had an option to restart without quitting, but it&#39;s great as is.<br /><b>Zaphos</b>: A solid snake game, albeit with a suicide button. Very good job.<br /><b>Kikaru</b>: Very neat concept, but it was way to fast and crashed after I played for a bit.<br />Simon: Best graphics of all the entries <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /><br /><b>GrantG</b>: It&#39;s a bit fast, but it&#39;s a good single-player pong. I put it above BAF&#39;s because one can get points <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /><br /><b>BAF</b>: no way to lose, a bit fast, but a solid pong game. I assume, at least. Nobody ever got any points, and looking at the source code, it&#39;s impossible to win.<br /><b>Kibiz0r</b>: Neat concept, but doesn&#39;t seem to be beatable, and crashes if I click the screen.</p><p>Onewing: I can&#39;t play it. I don&#39;t actually have any bitmaps sized 80 or less.</p><p>So! Jakub, Zaphos, Kikaru, Simon, GrantG, BAF, Kibiz0r, Onewing.</p><p>I won&#39;t call my ranking final yet until Onewing offers something in his defense...</p><p>[append]<br />Okay, his isn&#39;t a game. That&#39;s my ranking.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 01:26:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I didn&#39;t take off for it, but I didn&#39;t see space mentioned anyplace (I probably didn&#39;t read carefully enough) until I checked the source.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sun, 18 Mar 2007 01:26:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">makefile said:</div><div class="quote"><p>
The following entries failed to compile: SimonParzer.exe
</p></div></div><p>

<img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 01:26:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>For the third time, he forgot END_OF_MAIN() after main, so you have to add it yourself. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sun, 18 Mar 2007 01:30:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The new revised version has an option to restart instead of quitting <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />. Attached.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I didn&#39;t take off for it, but I didn&#39;t see space mentioned anyplace (I probably didn&#39;t read carefully enough) until I checked the source.
</p></div></div><p>

Even if you did lower your score because of it, it&#39;s your right. If someone isn&#39;t clear about the game rules, it&#39;s always the creator&#39;s fault - even if it is on the screen, perhaps it&#39;s not drawing attention to itself enough <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.</p><p>Anyway, I distinctly remember wasting 20 seconds to add a line mentioning the keys <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 01:30:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Jakub: can you put together a zip file with the windows binaries? Then drop by the administration page.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 01:30:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>There&#39;s too much text in this thread, it got lost in the ASCII blizzard. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 01:30:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
There&#39;s too much text in this thread, it got lost in the ASCII blizzard. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div></div><p>
Yeah, everytime I hit F5 there are 2-5 new posts. <b>shudders</b>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sun, 18 Mar 2007 01:33:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>I won&#039;t call my ranking final yet until Onewing offers something in his defense...</p></div></div><p>
Fair enough!  User friendly-ness isn&#039;t something I think of when in a coding frenzy.  A simple stretch sprite allows you to throw any image in: (just use this code)</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">   1</span><span class="c">// Entry for MinorHack at March 17th</span>
<span class="number">   2</span><span class="c">// Submitted by Onewing</span>
<span class="number">   3</span><span class="c">// Compile with allegro!</span>
<span class="number">   4</span><span class="p">#include "allegro.h"</span>
<span class="number">   5</span><span class="p">#include&lt;stdio.h&gt;</span>
<span class="number">   6</span><span class="p">#include&lt;string.h&gt;</span>
<span class="number">   7</span><span class="p">#include&lt;math.h&gt;</span>
<span class="number">   8</span>
<span class="number">   9</span><span class="c">/**************** DEFINES &amp; MACROS *************/</span>
<span class="number">  10</span><span class="p">#define BPP 32</span>
<span class="number">  11</span><span class="p">#define MODE GFX_AUTODETECT_WINDOWED</span>
<span class="number">  12</span><span class="p">#define GFX_W 640</span>
<span class="number">  13</span><span class="p">#define GFX_H 480</span>
<span class="number">  14</span><span class="p">#define MAX_BLOCKS 1000</span>
<span class="number">  15</span>
<span class="number">  16</span><span class="c">/*************** CONSTANTS ********************/</span>
<span class="number">  17</span><span class="p">#define MASK makecol(255,0,255)</span>
<span class="number">  18</span>
<span class="number">  19</span><span class="c">/*************** GLOBAL ********************/</span>
<span class="number">  20</span><span class="k1">volatile</span> <span class="k1">int</span> system_time<span class="k2">;</span>
<span class="number">  21</span><span class="k1">volatile</span> <span class="k1">int</span> ticks<span class="k2">;</span>
<span class="number">  22</span><span class="k1">volatile</span> <span class="k1">int</span> framerate<span class="k2">;</span>
<span class="number">  23</span><span class="k1">volatile</span> <span class="k1">int</span> draw_ticks<span class="k2">;</span>
<span class="number">  24</span><a href="http://www.allegro.cc/manual/PALETTE" target="_blank"><span class="a">PALETTE</span></a> pal<span class="k2">;</span>
<span class="number">  25</span><a href="http://www.allegro.cc/manual/COLOR_MAP" target="_blank"><span class="a">COLOR_MAP</span></a> trans_table<span class="k2">;</span>
<span class="number">  26</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>buffer<span class="k2">;</span>
<span class="number">  27</span>
<span class="number">  28</span><span class="k1">int</span> iTimer_Speed<span class="k2">;</span>
<span class="number">  29</span><span class="k1">int</span> iFrameRate<span class="k2">;</span>
<span class="number">  30</span><span class="k1">int</span> quit<span class="k2">;</span>
<span class="number">  31</span><span class="k1">int</span> over<span class="k2">;</span>
<span class="number">  32</span>
<span class="number">  33</span><span class="p">#define MAX_ROW 60</span>
<span class="number">  34</span><span class="p">#define MAX_COLUMN 80</span>
<span class="number">  35</span>
<span class="number">  36</span><span class="k1">void</span> timer1<span class="k2">(</span><span class="k1">void</span><span class="k2">)</span>
<span class="number">  37</span><span class="k2">{</span>
<span class="number">  38</span>  system_time<span class="k3">+</span><span class="k3">+</span><span class="k2">;</span>      
<span class="number">  39</span><span class="k2">}</span><a href="http://www.allegro.cc/manual/END_OF_FUNCTION" target="_blank"><span class="a">END_OF_FUNCTION</span></a><span class="k2">(</span>timer1<span class="k2">)</span><span class="k2">;</span>
<span class="number">  40</span>
<span class="number">  41</span><span class="k1">void</span> frametimer<span class="k2">(</span><span class="k1">void</span><span class="k2">)</span>
<span class="number">  42</span><span class="k2">{</span>
<span class="number">  43</span>  framerate <span class="k3">=</span> draw_ticks<span class="k2">;</span>
<span class="number">  44</span>  draw_ticks <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span>
<span class="number">  45</span><span class="k2">}</span><a href="http://www.allegro.cc/manual/END_OF_FUNCTION" target="_blank"><span class="a">END_OF_FUNCTION</span></a><span class="k2">(</span>frametimer<span class="k2">)</span><span class="k2">;</span>
<span class="number">  46</span>
<span class="number">  47</span>
<span class="number">  48</span>
<span class="number">  49</span><span class="k1">void</span> init<span class="k2">(</span><span class="k2">)</span>
<span class="number">  50</span><span class="k2">{</span>
<span class="number">  51</span>  <span class="c">//  Allegro Library</span>
<span class="number">  52</span>  <span class="k1">if</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/allegro_init" target="_blank"><span class="a">allegro_init</span></a><span class="k2">(</span><span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span>
<span class="number">  53</span>  <span class="k2">{</span>
<span class="number">  54</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"ERROR:  Failed to initialize allegro library.  Terminating program.\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  55</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"REPORT:  %s\n"</span>, <a href="http://www.allegro.cc/manual/allegro_error" target="_blank"><span class="a">allegro_error</span></a><span class="k2">)</span><span class="k2">;</span>
<span class="number">  56</span>    <a href="http://www.delorie.com/djgpp/doc/libc/libc_298.html" target="_blank">exit</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  57</span>  <span class="k2">}</span>
<span class="number">  58</span>
<span class="number">  59</span>  
<span class="number">  60</span>  <a href="http://www.allegro.cc/manual/set_color_depth" target="_blank"><span class="a">set_color_depth</span></a><span class="k2">(</span>BPP<span class="k2">)</span> <span class="k2">;</span> <span class="c">// 24 bit colour  </span>
<span class="number">  61</span>  <span class="k1">if</span> <span class="k2">(</span><a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="k2">(</span>MODE, GFX_W, GFX_H, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k3">&lt;</span><span class="n">0</span><span class="k2">)</span>
<span class="number">  62</span>  <span class="k2">{</span>
<span class="number">  63</span>    <a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="k2">(</span>GFX_TEXT, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  64</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"ERROR:  Failure to init video mode!  Terminating program.\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  65</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"REPORT:  %s\n"</span>, <a href="http://www.allegro.cc/manual/allegro_error" target="_blank"><span class="a">allegro_error</span></a><span class="k2">)</span><span class="k2">;</span>
<span class="number">  66</span>    <a href="http://www.delorie.com/djgpp/doc/libc/libc_298.html" target="_blank">exit</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  67</span>  <span class="k2">}</span>
<span class="number">  68</span>  
<span class="number">  69</span>
<span class="number">  70</span>  <span class="c">//  Install Timer</span>
<span class="number">  71</span>  <span class="k1">if</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/install_timer" target="_blank"><span class="a">install_timer</span></a><span class="k2">(</span><span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span>
<span class="number">  72</span>  <span class="k2">{</span>
<span class="number">  73</span>    <a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="k2">(</span>GFX_TEXT, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  74</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"ERROR:  Failed to install timer.  Terminating program.\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  75</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"REPORT:  %s\n"</span>, <a href="http://www.allegro.cc/manual/allegro_error" target="_blank"><span class="a">allegro_error</span></a><span class="k2">)</span><span class="k2">;</span>
<span class="number">  76</span>    <a href="http://www.delorie.com/djgpp/doc/libc/libc_298.html" target="_blank">exit</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  77</span>  <span class="k2">}</span>
<span class="number">  78</span>  
<span class="number">  79</span>
<span class="number">  80</span>
<span class="number">  81</span>  <span class="c">//  Install Keyboard  </span>
<span class="number">  82</span>  <span class="k1">if</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/install_keyboard" target="_blank"><span class="a">install_keyboard</span></a><span class="k2">(</span><span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span>
<span class="number">  83</span>  <span class="k2">{</span>
<span class="number">  84</span>    <a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="k2">(</span>GFX_TEXT, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  85</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"ERROR:  Failed to install keyboard.  Terminating program.\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  86</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"REPORT:  %s\n"</span>, <a href="http://www.allegro.cc/manual/allegro_error" target="_blank"><span class="a">allegro_error</span></a><span class="k2">)</span><span class="k2">;</span>
<span class="number">  87</span>    <a href="http://www.delorie.com/djgpp/doc/libc/libc_298.html" target="_blank">exit</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number">  88</span>  <span class="k2">}</span>  
<span class="number">  89</span>
<span class="number">  90</span>  <span class="c">/*install_joystick(JOY_TYPE_AUTODETECT);</span>
<span class="number">  91</span><span class="c">  poll_joystick();</span>
<span class="number">  92</span><span class="c">  if(num_joysticks == 0)</span>
<span class="number">  93</span><span class="c">  {</span>
<span class="number">  94</span><span class="c">    allegro_message("NOTE:  No joystick could be found, but you can still use keyboard.");</span>
<span class="number">  95</span><span class="c">  }</span>
<span class="number">  96</span><span class="c">  startpos = joy[0].stick[0].axis[0].pos;*/</span>
<span class="number">  97</span>
<span class="number">  98</span>
<span class="number">  99</span>  <span class="c">//  Install Mouse</span>
<span class="number"> 100</span>  <span class="k1">if</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/install_mouse" target="_blank"><span class="a">install_mouse</span></a><span class="k2">(</span><span class="k2">)</span> <span class="k3">&lt;</span> <span class="n">0</span><span class="k2">)</span>
<span class="number"> 101</span>  <span class="k2">{</span>
<span class="number"> 102</span>    <a href="http://www.allegro.cc/manual/set_gfx_mode" target="_blank"><span class="a">set_gfx_mode</span></a><span class="k2">(</span>GFX_TEXT, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 103</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"ERROR:  Failed to install mouse.  Terminating program.\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 104</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"REPORT:  %s\n"</span>, <a href="http://www.allegro.cc/manual/allegro_error" target="_blank"><span class="a">allegro_error</span></a><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 105</span>    <a href="http://www.delorie.com/djgpp/doc/libc/libc_298.html" target="_blank">exit</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 106</span>  <span class="k2">}</span>
<span class="number"> 107</span>  
<span class="number"> 108</span>  text_mode<span class="k2">(</span>MASK<span class="k2">)</span><span class="k2">;</span>  
<span class="number"> 109</span>  <a href="http://www.allegro.cc/manual/reserve_voices" target="_blank"><span class="a">reserve_voices</span></a><span class="k2">(</span><span class="n">32</span>,<span class="k3">-</span><span class="n">1</span><span class="k2">)</span><span class="k2">;</span> <span class="c">///Reserves more channels of sound for us</span>
<span class="number"> 110</span>  
<span class="number"> 111</span>  <span class="c">//  Install Sound</span>
<span class="number"> 112</span>  <span class="k1">if</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/install_sound" target="_blank"><span class="a">install_sound</span></a><span class="k2">(</span>DIGI_AUTODETECT, MIDI_NONE, NULL<span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span>  
<span class="number"> 113</span>  <span class="k2">{</span>
<span class="number"> 114</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"ERROR:  Failure to install sound.  Attempting to run without sound.\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 115</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"REPORT:  %s\n"</span>, <a href="http://www.allegro.cc/manual/allegro_error" target="_blank"><span class="a">allegro_error</span></a><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 116</span>    <span class="k1">if</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/install_sound" target="_blank"><span class="a">install_sound</span></a><span class="k2">(</span>DIGI_NONE, MIDI_NONE, NULL<span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span>
<span class="number"> 117</span>    <span class="k2">{</span>
<span class="number"> 118</span>      <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"ERROR:  Failed to install sound.  Terminating program.\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 119</span>      <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"REPORT:  %s\n"</span>, <a href="http://www.allegro.cc/manual/allegro_error" target="_blank"><span class="a">allegro_error</span></a><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 120</span>      <a href="http://www.delorie.com/djgpp/doc/libc/libc_298.html" target="_blank">exit</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 121</span>    <span class="k2">}</span>    
<span class="number"> 122</span>  <span class="k2">}</span>
<span class="number"> 123</span>    
<span class="number"> 124</span>  <a href="http://www.delorie.com/djgpp/doc/libc/libc_739.html" target="_blank">srand</a><span class="k2">(</span> <span class="k2">(</span><span class="k1">unsigned</span><span class="k2">)</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_821.html" target="_blank">time</a><span class="k2">(</span>NULL<span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 125</span>  
<span class="number"> 126</span>  <span class="c">// Install Time Handler</span>
<span class="number"> 127</span>  <a href="http://www.allegro.cc/manual/LOCK_VARIABLE" target="_blank"><span class="a">LOCK_VARIABLE</span></a><span class="k2">(</span>system_time<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 128</span>  <a href="http://www.allegro.cc/manual/LOCK_VARIABLE" target="_blank"><span class="a">LOCK_VARIABLE</span></a><span class="k2">(</span>ticks<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 129</span>  <a href="http://www.allegro.cc/manual/LOCK_VARIABLE" target="_blank"><span class="a">LOCK_VARIABLE</span></a><span class="k2">(</span>framerate<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 130</span>  <a href="http://www.allegro.cc/manual/LOCK_VARIABLE" target="_blank"><span class="a">LOCK_VARIABLE</span></a><span class="k2">(</span>draw_ticks<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 131</span>  <a href="http://www.allegro.cc/manual/LOCK_FUNCTION" target="_blank"><span class="a">LOCK_FUNCTION</span></a><span class="k2">(</span>timer1<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 132</span>  <a href="http://www.allegro.cc/manual/LOCK_FUNCTION" target="_blank"><span class="a">LOCK_FUNCTION</span></a><span class="k2">(</span>frametimer<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 133</span>  iTimer_Speed <span class="k3">=</span> <span class="n">60</span><span class="k2">;</span>
<span class="number"> 134</span>  <a href="http://www.allegro.cc/manual/install_int_ex" target="_blank"><span class="a">install_int_ex</span></a><span class="k2">(</span>timer1, BPS_TO_TIMER<span class="k2">(</span>iTimer_Speed<span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 135</span>  <a href="http://www.allegro.cc/manual/install_int_ex" target="_blank"><span class="a">install_int_ex</span></a><span class="k2">(</span>frametimer, BPS_TO_TIMER<span class="k2">(</span><span class="n">1</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 136</span>  <span class="c">//install_int(timer1, 1000);</span>
<span class="number"> 137</span>  
<span class="number"> 138</span>  <span class="c">// Setup the buffer</span>
<span class="number"> 139</span>  buffer <span class="k3">=</span> <a href="http://www.allegro.cc/manual/create_bitmap" target="_blank"><span class="a">create_bitmap</span></a><span class="k2">(</span>GFX_W, GFX_H<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 140</span>  
<span class="number"> 141</span>  <span class="c">// Setup translucent table</span>
<span class="number"> 142</span>  <a href="http://www.allegro.cc/manual/create_trans_table" target="_blank"><span class="a">create_trans_table</span></a><span class="k2">(</span><span class="k3">&amp;</span>trans_table, pal, <span class="n">0</span>, <span class="n">0</span>, <span class="n">0</span>, NULL<span class="k2">)</span><span class="k2">;</span>  
<span class="number"> 143</span>  <a href="http://www.allegro.cc/manual/color_map" target="_blank"><span class="a">color_map</span></a> <span class="k3">=</span> <span class="k3">&amp;</span>trans_table<span class="k2">;</span>  
<span class="number"> 144</span><span class="k2">}</span>
<span class="number"> 145</span>
<span class="number"> 146</span><span class="c">//**************** Classes ***********************</span>
<span class="number"> 147</span>
<span class="number"> 148</span><span class="k1">int</span> red<span class="k2">(</span><span class="k1">int</span> color_value<span class="k2">)</span>
<span class="number"> 149</span><span class="k2">{</span>
<span class="number"> 150</span>  <span class="k1">return</span> <span class="k1">int</span><span class="k2">(</span>color_value <span class="k3">/</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_618.html" target="_blank">pow</a><span class="k2">(</span><span class="n">256</span>, <span class="n">2</span><span class="k2">)</span><span class="k2">)</span> % <span class="n">256</span><span class="k2">;</span>
<span class="number"> 151</span><span class="k2">}</span>
<span class="number"> 152</span><span class="k1">int</span> green<span class="k2">(</span><span class="k1">int</span> color_value<span class="k2">)</span>
<span class="number"> 153</span><span class="k2">{</span>
<span class="number"> 154</span>    <span class="k1">return</span> <span class="k1">int</span><span class="k2">(</span>color_value <span class="k3">/</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_618.html" target="_blank">pow</a><span class="k2">(</span><span class="n">256</span>, <span class="n">1</span><span class="k2">)</span><span class="k2">)</span> % <span class="n">256</span><span class="k2">;</span>
<span class="number"> 155</span><span class="k2">}</span>
<span class="number"> 156</span><span class="k1">int</span> blue<span class="k2">(</span><span class="k1">int</span> color_value<span class="k2">)</span>
<span class="number"> 157</span><span class="k2">{</span>
<span class="number"> 158</span>  <span class="k1">return</span> color_value % <span class="n">256</span><span class="k2">;</span>
<span class="number"> 159</span><span class="k2">}</span>
<span class="number"> 160</span>
<span class="number"> 161</span><span class="k1">class</span> TEXTS
<span class="number"> 162</span><span class="k2">{</span>
<span class="number"> 163</span>public:
<span class="number"> 164</span>  <span class="k1">char</span> c<span class="k2">;</span>
<span class="number"> 165</span>  <span class="k1">int</span> col<span class="k2">;</span>
<span class="number"> 166</span><span class="k2">}</span><span class="k2">;</span>
<span class="number"> 167</span>
<span class="number"> 168</span>TEXTS txt<span class="k2">[</span><span class="n">100</span><span class="k2">]</span><span class="k2">[</span><span class="n">100</span><span class="k2">]</span><span class="k2">;</span>
<span class="number"> 169</span>
<span class="number"> 170</span><span class="k1">int</span> game_init<span class="k2">(</span><span class="k1">char</span> <span class="k3">*</span>cpath<span class="k2">)</span>
<span class="number"> 171</span><span class="k2">{</span>
<span class="number"> 172</span>  <a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>bImage, <span class="k3">*</span>bS<span class="k2">;</span>
<span class="number"> 173</span>  <span class="k1">int</span> col, colr, colg, colb, v<span class="k2">;</span>  
<span class="number"> 174</span>
<span class="number"> 175</span>    bImage <span class="k3">=</span> <a href="http://www.allegro.cc/manual/load_bitmap" target="_blank"><span class="a">load_bitmap</span></a><span class="k2">(</span>cpath, NULL<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 176</span>  <span class="k1">if</span><span class="k2">(</span><span class="k3">!</span>bImage<span class="k2">)</span>
<span class="number"> 177</span>  <span class="k2">{</span>
<span class="number"> 178</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"Could not open %s"</span>, cpath<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 179</span>    <span class="k1">return</span> <span class="n">1</span><span class="k2">;</span>
<span class="number"> 180</span>  <span class="k2">}</span>
<span class="number"> 181</span>
<span class="number"> 182</span>  bS <span class="k3">=</span> <a href="http://www.allegro.cc/manual/create_bitmap" target="_blank"><span class="a">create_bitmap</span></a><span class="k2">(</span><span class="n">100</span>, <span class="n">100</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 183</span>  <a href="http://www.allegro.cc/manual/stretch_sprite" target="_blank"><span class="a">stretch_sprite</span></a><span class="k2">(</span>bS, bImage, <span class="n">0</span>, <span class="n">0</span>, <span class="n">100</span>, <span class="n">100</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 184</span>
<span class="number"> 185</span>  <span class="k1">for</span><span class="k2">(</span><span class="k1">int</span> i <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span> i <span class="k3">&lt;</span> <span class="n">100</span><span class="k2">;</span> i<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number"> 186</span>  <span class="k2">{</span>
<span class="number"> 187</span>    <span class="k1">for</span><span class="k2">(</span><span class="k1">int</span> j <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span> j <span class="k3">&lt;</span> <span class="n">100</span><span class="k2">;</span> j<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number"> 188</span>    <span class="k2">{</span>
<span class="number"> 189</span>      txt<span class="k3">&lt;</span>i&gt;<span class="k2">[</span>j<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">' '</span><span class="k2">;</span>
<span class="number"> 190</span>      txt<span class="k3">&lt;</span>i&gt;<span class="k2">[</span>j<span class="k2">]</span>.col <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span>
<span class="number"> 191</span>    <span class="k2">}</span>
<span class="number"> 192</span>  <span class="k2">}</span>
<span class="number"> 193</span>  <span class="k1">for</span><span class="k2">(</span><span class="k1">int</span> x <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span> x <span class="k3">&lt;</span> bS-&gt;w<span class="k2">;</span> x<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number"> 194</span>  <span class="k2">{</span>
<span class="number"> 195</span>    <span class="k1">for</span><span class="k2">(</span><span class="k1">int</span> y <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span> y <span class="k3">&lt;</span> bS-&gt;h<span class="k2">;</span> y<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number"> 196</span>    <span class="k2">{</span>
<span class="number"> 197</span>      col <span class="k3">=</span> <a href="http://www.allegro.cc/manual/getpixel" target="_blank"><span class="a">getpixel</span></a><span class="k2">(</span>bS, x, y<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 198</span>      colr <span class="k3">=</span> <a href="http://www.allegro.cc/manual/getr" target="_blank"><span class="a">getr</span></a><span class="k2">(</span>col<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 199</span>      colg <span class="k3">=</span> <a href="http://www.allegro.cc/manual/getg" target="_blank"><span class="a">getg</span></a><span class="k2">(</span>col<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 200</span>      colb <span class="k3">=</span> <a href="http://www.allegro.cc/manual/getb" target="_blank"><span class="a">getb</span></a><span class="k2">(</span>col<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 201</span>
<span class="number"> 202</span>      v <span class="k3">=</span> colr <span class="k3">+</span> colg <span class="k3">+</span> colb<span class="k2">;</span>
<span class="number"> 203</span>      <span class="k1">if</span><span class="k2">(</span>v <span class="k3">&lt;</span> <span class="n">100</span><span class="k2">)</span>
<span class="number"> 204</span>        txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">'#'</span><span class="k2">;</span>
<span class="number"> 205</span>      <span class="k1">if</span><span class="k2">(</span>v <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">100</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> v <span class="k3">&lt;</span> <span class="n">200</span><span class="k2">)</span>
<span class="number"> 206</span>        txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">'X'</span><span class="k2">;</span>
<span class="number"> 207</span>      <span class="k1">if</span><span class="k2">(</span>v <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">200</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> v <span class="k3">&lt;</span> <span class="n">300</span><span class="k2">)</span>
<span class="number"> 208</span>        txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">'P'</span><span class="k2">;</span>
<span class="number"> 209</span>      <span class="k1">if</span><span class="k2">(</span>v <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">300</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> v <span class="k3">&lt;</span> <span class="n">400</span><span class="k2">)</span>
<span class="number"> 210</span>        txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">'C'</span><span class="k2">;</span>
<span class="number"> 211</span>      <span class="k1">if</span><span class="k2">(</span>v <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">400</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> v <span class="k3">&lt;</span> <span class="n">500</span><span class="k2">)</span>
<span class="number"> 212</span>        txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">'+'</span><span class="k2">;</span>
<span class="number"> 213</span>      <span class="k1">if</span><span class="k2">(</span>v <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">500</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> v <span class="k3">&lt;</span> <span class="n">600</span><span class="k2">)</span>
<span class="number"> 214</span>        txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">'-'</span><span class="k2">;</span>
<span class="number"> 215</span>      <span class="k1">if</span><span class="k2">(</span>v <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">600</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> v <span class="k3">&lt;</span> <span class="n">700</span><span class="k2">)</span>
<span class="number"> 216</span>        txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">','</span><span class="k2">;</span>
<span class="number"> 217</span>      <span class="k1">if</span><span class="k2">(</span>v <span class="k3">&gt;</span><span class="k3">=</span> <span class="n">700</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> v <span class="k3">&lt;</span> <span class="n">800</span><span class="k2">)</span>
<span class="number"> 218</span>        txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c <span class="k3">=</span> <span class="s">'.'</span><span class="k2">;</span>
<span class="number"> 219</span>      txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.col <span class="k3">=</span> col<span class="k2">;</span>
<span class="number"> 220</span>    <span class="k2">}</span>
<span class="number"> 221</span>  <span class="k2">}</span>
<span class="number"> 222</span>  <a href="http://www.allegro.cc/manual/destroy_bitmap" target="_blank"><span class="a">destroy_bitmap</span></a><span class="k2">(</span>bImage<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 223</span>  <a href="http://www.allegro.cc/manual/destroy_bitmap" target="_blank"><span class="a">destroy_bitmap</span></a><span class="k2">(</span>bS<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 224</span>
<span class="number"> 225</span>  <span class="k1">return</span> <span class="n">0</span><span class="k2">;</span>
<span class="number"> 226</span><span class="k2">}</span>
<span class="number"> 227</span>
<span class="number"> 228</span><span class="k1">void</span> game_update<span class="k2">(</span><span class="k2">)</span>
<span class="number"> 229</span><span class="k2">{</span>
<span class="number"> 230</span>  <span class="k1">if</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/key" target="_blank"><span class="a">key</span></a><span class="k2">[</span>KEY_ENTER<span class="k2">]</span><span class="k2">)</span>
<span class="number"> 231</span>  <span class="k2">{</span>
<span class="number"> 232</span>    <span class="k1">while</span><span class="k2">(</span><a href="http://www.allegro.cc/manual/key" target="_blank"><span class="a">key</span></a><span class="k2">[</span>KEY_ENTER<span class="k2">]</span><span class="k2">)</span><span class="k2">{</span><span class="k2">}</span>
<span class="number"> 233</span>    over <span class="k3">=</span> <span class="k1">true</span><span class="k2">;</span>
<span class="number"> 234</span>  <span class="k2">}</span>
<span class="number"> 235</span>
<span class="number"> 236</span><span class="k2">}</span>
<span class="number"> 237</span>
<span class="number"> 238</span><span class="k1">void</span> game_draw<span class="k2">(</span><span class="k2">)</span>
<span class="number"> 239</span><span class="k2">{</span>
<span class="number"> 240</span>  clear<span class="k2">(</span>buffer<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 241</span>  
<span class="number"> 242</span>  <span class="k1">for</span><span class="k2">(</span><span class="k1">int</span> x <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span> x <span class="k3">&lt;</span> <span class="n">100</span><span class="k2">;</span> x<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number"> 243</span>  <span class="k2">{</span>
<span class="number"> 244</span>    <span class="k1">for</span><span class="k2">(</span><span class="k1">int</span> y <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span> y <span class="k3">&lt;</span> <span class="n">100</span><span class="k2">;</span> y<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number"> 245</span>    <span class="k2">{</span>
<span class="number"> 246</span>      <a href="http://www.allegro.cc/manual/textprintf_ex" target="_blank"><span class="a">textprintf_ex</span></a><span class="k2">(</span>buffer, <a href="http://www.allegro.cc/manual/font" target="_blank"><span class="a">font</span></a>, x<span class="k3">*</span><span class="n">8</span>, y<span class="k3">*</span><span class="n">8</span>, txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.col, <span class="k3">-</span><span class="n">1</span>, <span class="s">"%c"</span>, txt<span class="k2">[</span>x<span class="k2">]</span><span class="k2">[</span>y<span class="k2">]</span>.c<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 247</span>    <span class="k2">}</span>
<span class="number"> 248</span>  <span class="k2">}</span>
<span class="number"> 249</span>  <a href="http://www.allegro.cc/manual/textprintf_ex" target="_blank"><span class="a">textprintf_ex</span></a><span class="k2">(</span>buffer, <a href="http://www.allegro.cc/manual/font" target="_blank"><span class="a">font</span></a>, <span class="n">200</span>, <span class="n">470</span>, <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span><span class="n">255</span>, <span class="n">255</span>, <span class="n">255</span><span class="k2">)</span>, <span class="k3">-</span><span class="n">1</span>, <span class="s">"Press ENTER to go to the next image"</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 250</span>  <a href="http://www.allegro.cc/manual/stretch_sprite" target="_blank"><span class="a">stretch_sprite</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, buffer, <span class="n">0</span>, <span class="n">0</span>, GFX_W, GFX_H<span class="k2">)</span><span class="k2">;</span>  
<span class="number"> 251</span><span class="k2">}</span>
<span class="number"> 252</span>
<span class="number"> 253</span><span class="k1">void</span> game_shutdown<span class="k2">(</span><span class="k2">)</span>
<span class="number"> 254</span><span class="k2">{</span>  
<span class="number"> 255</span>  <a href="http://www.allegro.cc/manual/destroy_bitmap" target="_blank"><span class="a">destroy_bitmap</span></a><span class="k2">(</span>buffer<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 256</span><span class="k2">}</span>
<span class="number"> 257</span>
<span class="number"> 258</span>
<span class="number"> 259</span>
<span class="number"> 260</span><span class="k1">void</span> play_game<span class="k2">(</span><span class="k1">char</span> <span class="k3">*</span>cpath<span class="k2">)</span>
<span class="number"> 261</span><span class="k2">{</span>  
<span class="number"> 262</span>  iFrameRate <span class="k3">=</span> <span class="k1">false</span><span class="k2">;</span>
<span class="number"> 263</span>  <span class="k1">if</span><span class="k2">(</span>game_init<span class="k2">(</span>cpath<span class="k2">)</span> <span class="k3">!</span><span class="k3">=</span> <span class="n">0</span><span class="k2">)</span>
<span class="number"> 264</span>    <span class="k1">return</span><span class="k2">;</span>
<span class="number"> 265</span>  
<span class="number"> 266</span>  <span class="k1">while</span><span class="k2">(</span><span class="k3">!</span>quit<span class="k2">)</span>
<span class="number"> 267</span>  <span class="k2">{</span>
<span class="number"> 268</span>    <span class="k1">while</span><span class="k2">(</span><span class="k3">!</span><a href="http://www.allegro.cc/manual/key" target="_blank"><span class="a">key</span></a><span class="k2">[</span>KEY_ESC<span class="k2">]</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> <span class="k3">!</span>over<span class="k2">)</span>
<span class="number"> 269</span>    <span class="k2">{</span>
<span class="number"> 270</span>      <span class="k1">while</span><span class="k2">(</span>system_time <span class="k3">&amp;</span><span class="k3">&amp;</span> <span class="k3">!</span>over<span class="k2">)</span>
<span class="number"> 271</span>      <span class="k2">{</span>
<span class="number"> 272</span>        system_time--<span class="k2">;</span>
<span class="number"> 273</span>        ticks<span class="k3">+</span><span class="k3">+</span><span class="k2">;</span>
<span class="number"> 274</span>        game_update<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>        
<span class="number"> 275</span>      <span class="k2">}</span>    
<span class="number"> 276</span>        
<span class="number"> 277</span>      draw_ticks<span class="k3">+</span><span class="k3">+</span><span class="k2">;</span>
<span class="number"> 278</span>      game_draw<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 279</span>
<span class="number"> 280</span>      <span class="k1">if</span><span class="k2">(</span>iFrameRate<span class="k2">)</span> textprintf<span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, <a href="http://www.allegro.cc/manual/font" target="_blank"><span class="a">font</span></a>, <span class="n">10</span>, <span class="n">10</span>, <span class="k3">-</span><span class="n">1</span>, <span class="s">"%d"</span>, framerate<span class="k2">)</span><span class="k2">;</span>          
<span class="number"> 281</span>    <span class="k2">}</span>
<span class="number"> 282</span>    quit <span class="k3">=</span> <span class="k1">true</span><span class="k2">;</span>
<span class="number"> 283</span>    system_time <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span>
<span class="number"> 284</span>    ticks <span class="k3">=</span> <span class="n">0</span><span class="k2">;</span>
<span class="number"> 285</span>  <span class="k2">}</span>
<span class="number"> 286</span>  
<span class="number"> 287</span><span class="k2">}</span>
<span class="number"> 288</span>
<span class="number"> 289</span>
<span class="number"> 290</span>
<span class="number"> 291</span><span class="k1">int</span> main<span class="k2">(</span><span class="k1">int</span> argc, <span class="k1">char</span> <span class="k3">*</span><span class="k3">*</span>argv<span class="k2">)</span>
<span class="number"> 292</span><span class="k2">{</span>
<span class="number"> 293</span>  init<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>  
<span class="number"> 294</span>
<span class="number"> 295</span>  <span class="k1">if</span><span class="k2">(</span>argc <span class="k3">&lt;</span> <span class="n">2</span><span class="k2">)</span>
<span class="number"> 296</span>  <span class="k2">{</span>
<span class="number"> 297</span>    <a href="http://www.allegro.cc/manual/allegro_message" target="_blank"><span class="a">allegro_message</span></a><span class="k2">(</span><span class="s">"Please enter the path(s) of a bitmap image on the command line."</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 298</span>    <a href="http://www.delorie.com/djgpp/doc/libc/libc_298.html" target="_blank">exit</a><span class="k2">(</span><span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 299</span>  <span class="k2">}</span>
<span class="number"> 300</span>
<span class="number"> 301</span>  <span class="k1">for</span><span class="k2">(</span><span class="k1">int</span> i <span class="k3">=</span> <span class="n">1</span><span class="k2">;</span> i <span class="k3">&lt;</span> argc<span class="k2">;</span> i<span class="k3">+</span><span class="k3">+</span><span class="k2">)</span>
<span class="number"> 302</span>  <span class="k2">{</span>
<span class="number"> 303</span>    over <span class="k3">=</span> <span class="k1">false</span><span class="k2">;</span>
<span class="number"> 304</span>    quit <span class="k3">=</span> <span class="k1">false</span><span class="k2">;</span>
<span class="number"> 305</span>    play_game<span class="k2">(</span>argv<span class="k3">&lt;</span>i&gt;<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 306</span>  <span class="k2">}</span>
<span class="number"> 307</span>  
<span class="number"> 308</span>  game_shutdown<span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
<span class="number"> 309</span>
<span class="number"> 310</span>  <span class="k1">return</span> <span class="n">0</span><span class="k2">;</span>
<span class="number"> 311</span><span class="k2">}</span>
<span class="number"> 312</span><a href="http://www.allegro.cc/manual/END_OF_MAIN" target="_blank"><span class="a">END_OF_MAIN</span></a><span class="k2">(</span><span class="k2">)</span>
</div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sun, 18 Mar 2007 01:34:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Kibiz0r: the new entry is much better. I rank it above BAF&#39;s, for the &quot;revised&quot; competition, which doesn&#39;t exist <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 01:34:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Jakub: can you put together a zip file with the windows binaries? Then drop by the administration page.
</p></div></div><p>

Done. Not sure if it did anything though <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />. I assumed the competition ID was 12, because that&#39;s what is showing in the URL.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 01:36:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Kibiz0r: the new entry is much better. I rank it above BAF&#39;s, for the &quot;revised&quot; competition, which doesn&#39;t exist <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div></div><p>

Well, now that I know there is an easy way to do deletion in a for loop for std::lists, I will do much better next time.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 01:36:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Windows exe zip pack attached.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sun, 18 Mar 2007 01:36:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Anyway, I&#39;ve got level 14 in my game (the revised version, which is easier because it stops the time once you enter everything). Now, beat me <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 01:41:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, zip file downloading or uploading seems to be broken. I don&#39;t know how to store them or load them from the database...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 01:47:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Anyway, I&#39;ve got level 14 in my game (the revised version, which is easier because it stops the time once you enter everything). Now, beat me <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />.
</p></div></div><p>

I got 10 the first time I played it, it&#39;s quite fun. And pretty.</p><div class="quote_container"><div class="title">my sticky note said:</div><div class="quote"><p>
BAF: Pong remake, well done</p><p>CGamesPlay: Asteroids with neat-o movement and nice graphics</p><p>GrantG: Breakout clone that moves too fast with impossible-to-see blue paddle and nothing to obliterate?</p><p>Jakub Wasilewski: Awesome DDR-style game -- fun to play with neat graphics, got to level 10!</p><p>Kikaru: A bit broken, too fast, and confusing as hell... but somehow still fun for the brief time that the stars are aligned properly</p><p>Onewing: It&#39;s not really a game, but... it&#39;s a cool tech demo, I have no idea how to rank it yet</p><p>Simon Parzer: Er, uh... you can&#39;t really &quot;do&quot; anything.... it looks neat, though...</p><p>Zaphos: Flawless Snake clone with a little twist. Great pacing and difficulty, I could imagine playing it on my cell phone!
</p></div></div><p>

Still not sure about rankings, but feedback is always nice, eh? <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 01:49:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Okay, it&#39;s working now. Feast your eyes.</p><p>Kibiz0r: are those sorted form least favorite to favorite?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 01:51:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ok, my vote, in order:
</p><ul><li><p>Jakub - really nice, pretty full game.</p></li><li><p>Zaphos - cool, I like the multiple levels.</p></li><li><p>BAF - it works. you should get some kind of award. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p></li><li><p>GrantG - it also works, but is redundant. Not too fun, unfortunately.</p></li><li><p>CGames - I can&#39;t do anything other than move around. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /></p></li><li><p>Simon - nothing at all to do.</p></li><li><p>Kibz0r - looks neat, but crashes when I click the mouse.</p></li><li><p>Onewing - doesn&#39;t run for me, but looks pretty cool. </p></li></ul><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 01:52:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><s>Nah, it&#39;s alphabetical order. He doesn&#39;t know about his rankings yet.</s> Yeah, it&#39;s ordered by rank, and I win. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sun, 18 Mar 2007 01:53:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My ranking:
</p><ul><li><p><b>Kikaru</b> - nice and original mechanics, too bad the controls are somewhat clunky when throwing stars sideways.</p></li><li><p><b>Zaphos</b> - nice, but I would use the time you spent on multiple levels by adjusting the game&#39;s speed. As it is, it&#39;s simply too slow.</p></li><li><p><b>Onewing</b> - simple but effective, and noone said that Minorhack entries have to be games.</p></li><li><p><b>GrantG</b> - well, it works and is actually quite challenging. Not really original though.</p></li><li><p><b>Kibiz0r</b> - doesn&#39;t seem to have a point, but there is some sort of original idea in there. Feels a little incomplete.</p></li><li><p><b>BAF</b> - complete and does work. But it&#39;s just Pong, and an unwinnable one to boot.</p></li><li><p><b>Simon Parzer</b> - incomplete - but I think it&#39;s cool that you tried to emulate an actual textmode - even the cursor snaps to character boundaries.</p></li><li><p><b>CGamesPlay</b> - cool rotating ship <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />.</p></li></ul><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 02:14:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>My rankings, from favorite to least favorite:</p><p><b>Jakub Wasilewski</b> - It&#39;s just plain fun and polished<br /><b>Kikaru</b> - He took a chance and made something odd, and I appreciate that more than doing what&#39;s already been done, even if it&#39;s done well<br /><b>Zaphos</b> - Not an enormous amount on the originality side, but well-executed<br /><b>BAF</b> - Pong. Not good, not bad. Just Pong.<br /><b>CGamesPlay</b> - You can move, and moving feels pretty cool, but the illusion breaks down when you fly straight over the neat-looking asteroids. And I would rather be able to shoot stuff than have neat-looking asteroids, too...<br /><b>GrantG</b> - The paddle was impossible to see, it moved too fast on my computer, why waste an hour almost making Breakout, anyways? It&#39;s already been done to death.<br /><b>Onewing</b> - Anywhere else, I would probably remark about how neat it is, but for an hour&#39;s work, I would rather be able to do something, <i>anything</i>, than see all the cool tech demos in the world.<br /><b>Simon Parzer</b> - Looks neat, but there&#39;s nothing to do!</p><p>As you can tell, after the Independent Games Summit at GDC, I am infused with indie fury. I yell &quot;Innovation!&quot; as my battle cry as I wage war against publishers. But, whatever, those are my votes and I&#39;m sticking to them.</p><p>Edit: Well, after seeing that voting Kikaru that high up wasn&#39;t as insane as I originally thought, I&#39;m going to go with my original ranking from my sticky...<br />/switch
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 02:17:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OK, I&#39;ve completely forgotten the compo, my bad, better luck next time. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Krzysztof Kluczek)</author>
		<pubDate>Sun, 18 Mar 2007 02:20:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here&#39;s my ranking:
</p><ul><li><p>Jakub -- very fun, with great presentation!</p></li><li><p>Kibiz0r -- interesting -- even though it&#39;s broken, there&#39;s a fair amount that does work ... and I like the little ascii man.</p></li><li><p>Kikaru -- interesting concept, but too chaotic?  But still, basically complete.</p></li><li><p>BAF -- The basic game is there, but without a way to change the spin or angle or speed of the ball, it&#39;s all a bit silly ...</p></li><li><p>GrantG -- Same as BAF&#39;s ... but without a timer to control game speed.</p></li><li><p>CGamesPlay -- Nice graphics; wish shooting were there.  Seems technically interesting.</p></li><li><p>Simon -- Nice graphics; wish shooting were there.</p></li><li><p>Onewing -- Fun utility -- though I wish you&#39;d thought of the stretch_blit trick during the comp.</p></li></ul><p>
edit: decided to prioritize gameplay a bit more ... it&#39;s tricky to rank these games.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zaphos)</author>
		<pubDate>Sun, 18 Mar 2007 02:22:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Me: Anyway, you let me down Krzysztof <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />. I thought we were going to make it the next &quot;Teraz Polska&quot; competition <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.<br />KK: OK, I&#39;ve completely forgotten the compo, my bad, better luck next time.
</p></div></div><p>

Better luck? I did my part <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 02:25:32 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow, I wouldn&#39;t have thought that my movement, which I considered mundane, would be the highlight of my entry <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>[append]<br />Waiting on votes from Onewing and GrantG!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 02:42:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Wow, I wouldn&#39;t have thought that my movement, which I considered mundane, would be the highlight of my entry
</p></div></div><p>

Well, considering that movement is the only thing <i>complete</i> in your entry... <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 02:44:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Better luck? I did my part <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />.
</p></div></div><p>
OK, I&#39;ll win the next one (unless they pick some ridiculous time). <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Krzysztof Kluczek)</author>
		<pubDate>Sun, 18 Mar 2007 02:51:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Okay, check out the revised version of my entry. It&#39;s a working game <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> Took me about an extra hour, but I wasn&#39;t racing.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 03:27:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m back!  Time to vote:  </p><p>(From Best to Not Best)<br /><b>Jakub Wasilewski</b>	- Simple, addicting and well done.  Just the way I like it cooked!<br /><b>Zaphos</b> -  C snakes are apparently slow. <br /><b>BAF</b> - Everything feels and looks pretty good, but the AI continually pwng&#39;ed me.<br /><b>Kikaru</b> - It&#39;s madness!  I did like wall-bouncing however, even if that made me invincible.  <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /> <br /><b>Kibiz0r</b> - Watch out for the seizure numbers!  Seriously, is that all I&#39;m supposed to do?<br /><b>GrantG</b> - Functional, although blazing fast and hard to see. <br /><b>Simon Parzer</b> - Intended to be a Duck Hunt?  I just saw things fly by but I couldn&#39;t figure out what to do with them... <br /><b>CGamesPlay</b> - No worky.  I see somethings but nothing happens.  <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sun, 18 Mar 2007 03:29:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Onewing said:</div><div class="quote"><p>
<b>Kibiz0r</b> - Watch out for the seizure numbers! Seriously, is that all I&#39;m supposed to do?
</p></div></div><p>

</p><div class="quote_container"><div class="title">The Entry Page said:</div><div class="quote"><p>
Revised version works. It&#39;s called Garbage Collector. You have a bunch of memory that you have to clean up, and if you touch it, you get deleted. To delete the memory, however, click on the screen and 2 seconds later, the red box will take any trapped memory along with it. The yellow stars are powerups that give you more deletes to use. If you run out of deletes, you lose. Supposedly there are levels, but I never got that far in testing it.
</p></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 03:33:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">CGamesPlay said:</div><div class="quote"><p>
Okay, check out the revised version of my entry.
</p></div></div><p>It crashes when I press space <img src="http://www.allegro.cc/forums/smileys/undecided.gif" alt=":-/" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zaphos)</author>
		<pubDate>Sun, 18 Mar 2007 03:42:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here is my ranking. It was quite hard, as I&#39;m not very good with this ranking business.</p><p>Jakub Wasilewski - Easy to figure out, and challenging as well as fun<br />Zaphos - Good game, the snake is a bit slow though<br />Kikaru - Fast paced, a bit too hard for me, the wall bug helped though <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /><br />BAF - good pong game, kind of like mine, the computer pwned me though<br />Kibiz0r - couldn&#39;t really figure out how to play this, maybe I&#39;m just incompetent <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" /><br />Simon Parzer - nice start, but not finished<br />CGamesPlay - asteroids, without ammunition!<br />Onewing - cool utility, not a game though
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GrantG)</author>
		<pubDate>Sun, 18 Mar 2007 04:05:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Not a bug. I still need to do some work on it. The end result should be better. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Is it just me, or has <i><u>everyone</u></i> voted now? <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 04:07:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Kibiz0r - couldn&#39;t really figure out how to play this, maybe I&#39;m just incompetent <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div></div><p>

Is it because of the WASD keys? I know some people prefer arrow keys, but I&#39;m so used to WASD, I never think of it until after the fact.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 04:22:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Not quite. BAF needs to rank Kikaru&#39;s entry. Here&#39;s what I have to far:
</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td><span class="n">2981</span> BAF</td></tr><tr><td class="number">2</td><td>  <span class="n">3653</span> Jakub</td></tr><tr><td class="number">3</td><td>  <span class="n">1468</span> Zaphos</td></tr><tr><td class="number">4</td><td>  <span class="n">7616</span> Kikaru</td></tr><tr><td class="number">5</td><td>  <span class="n">6203</span> Kibiz0r</td></tr><tr><td class="number">6</td><td>  <span class="n">6152</span> Onewing</td></tr><tr><td class="number">7</td><td>  <span class="n">8173</span> GrantG</td></tr><tr><td class="number">8</td><td>  <span class="n">2559</span> CGamesPlay</td></tr><tr><td class="number">9</td><td>  <span class="n">3330</span> Simon</td></tr><tr><td class="number">10</td><td><span class="n">6203</span> Kibiz0r</td></tr><tr><td class="number">11</td><td>  <span class="n">3653</span> Jakub</td></tr><tr><td class="number">12</td><td>  <span class="n">7616</span> Kikaru</td></tr><tr><td class="number">13</td><td>  <span class="n">1468</span> Zaphos</td></tr><tr><td class="number">14</td><td>  <span class="n">2981</span> BAF</td></tr><tr><td class="number">15</td><td>  <span class="n">2559</span> CGamesPlay</td></tr><tr><td class="number">16</td><td>  <span class="n">8173</span> GrantG</td></tr><tr><td class="number">17</td><td>  <span class="n">6152</span> Onewing</td></tr><tr><td class="number">18</td><td>  <span class="n">3330</span> Simon</td></tr><tr><td class="number">19</td><td><span class="n">1468</span> Zaphos</td></tr><tr><td class="number">20</td><td>  <span class="n">3653</span> Jakub</td></tr><tr><td class="number">21</td><td>  <span class="n">7616</span> Kikaru</td></tr><tr><td class="number">22</td><td>  <span class="n">6203</span> Kibiz0r</td></tr><tr><td class="number">23</td><td>  <span class="n">2981</span> BAF</td></tr><tr><td class="number">24</td><td>  <span class="n">8173</span> GrantG</td></tr><tr><td class="number">25</td><td>  <span class="n">2559</span> CGamesPlay</td></tr><tr><td class="number">26</td><td>  <span class="n">3330</span> Simon</td></tr><tr><td class="number">27</td><td>  <span class="n">6152</span> Onewing</td></tr><tr><td class="number">28</td><td><span class="n">2559</span> CGamesPlay</td></tr><tr><td class="number">29</td><td>  <span class="n">3653</span> Jakub</td></tr><tr><td class="number">30</td><td>  <span class="n">1468</span> Zaphos</td></tr><tr><td class="number">31</td><td>  <span class="n">7616</span> Kikaru</td></tr><tr><td class="number">32</td><td>  <span class="n">3330</span> Simon</td></tr><tr><td class="number">33</td><td>  <span class="n">8173</span> GrantG</td></tr><tr><td class="number">34</td><td>  <span class="n">2981</span> BAF</td></tr><tr><td class="number">35</td><td>  <span class="n">6203</span> Kibiz0r</td></tr><tr><td class="number">36</td><td>  <span class="n">6152</span> Onewing</td></tr><tr><td class="number">37</td><td><span class="n">7616</span> Kikaru</td></tr><tr><td class="number">38</td><td>  <span class="n">3653</span> Jakub</td></tr><tr><td class="number">39</td><td>  <span class="n">1468</span> Zaphos</td></tr><tr><td class="number">40</td><td>  <span class="n">2981</span> BAF</td></tr><tr><td class="number">41</td><td>  <span class="n">8173</span> GrantG</td></tr><tr><td class="number">42</td><td>  <span class="n">2559</span> CGamesPlay</td></tr><tr><td class="number">43</td><td>  <span class="n">3330</span> Simon</td></tr><tr><td class="number">44</td><td>  <span class="n">6203</span> Kibiz0r</td></tr><tr><td class="number">45</td><td>  <span class="n">6152</span> Onewing</td></tr><tr><td class="number">46</td><td><span class="n">3653</span> Jakub</td></tr><tr><td class="number">47</td><td>  <span class="n">7616</span> Kikaru</td></tr><tr><td class="number">48</td><td>  <span class="n">1468</span> Zaphos</td></tr><tr><td class="number">49</td><td>  <span class="n">6152</span> Onewing</td></tr><tr><td class="number">50</td><td>  <span class="n">8173</span> GrantG</td></tr><tr><td class="number">51</td><td>  <span class="n">6203</span> Kibiz0r</td></tr><tr><td class="number">52</td><td>  <span class="n">2981</span> BAF</td></tr><tr><td class="number">53</td><td>  <span class="n">3330</span> Simon</td></tr><tr><td class="number">54</td><td>  <span class="n">2559</span> CGamesPlay</td></tr><tr><td class="number">55</td><td><span class="n">6152</span> Onewing</td></tr><tr><td class="number">56</td><td>  <span class="n">3653</span> Jakub</td></tr><tr><td class="number">57</td><td>  <span class="n">1468</span> Zaphos</td></tr><tr><td class="number">58</td><td>  <span class="n">2981</span> BAF</td></tr><tr><td class="number">59</td><td>  <span class="n">7616</span> Kikaru</td></tr><tr><td class="number">60</td><td>  <span class="n">6203</span> Kibiz0r</td></tr><tr><td class="number">61</td><td>  <span class="n">8173</span> GrantG</td></tr><tr><td class="number">62</td><td>  <span class="n">3330</span> Simon</td></tr><tr><td class="number">63</td><td>  <span class="n">2559</span> CGamesPlay</td></tr><tr><td class="number">64</td><td><span class="n">8173</span> GrantG</td></tr><tr><td class="number">65</td><td>  <span class="n">3653</span> Jakub</td></tr><tr><td class="number">66</td><td>  <span class="n">1468</span> Zaphos</td></tr><tr><td class="number">67</td><td>  <span class="n">7616</span> Kikaru</td></tr><tr><td class="number">68</td><td>  <span class="n">2981</span> BAF</td></tr><tr><td class="number">69</td><td>  <span class="n">6203</span> Kibiz0r</td></tr><tr><td class="number">70</td><td>  <span class="n">3330</span> Simon</td></tr><tr><td class="number">71</td><td>  <span class="n">2559</span> CGamesPlay</td></tr><tr><td class="number">72</td><td>  <span class="n">6152</span> Onewing</td></tr></tbody></table></div></div><p>

[edit]<br />Added Onewing&#39;s and GrantG&#39;s.</p><p>[append]<br />Kikaru, you should revise the entry with better timing.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 04:27:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oops, forgot rate Kikaru. Kikaru gets one higher than Kibiz0r.</p><p>[edit]<br />Oh, by the way, my pong game isn&#39;t unwinnable. If you can hit the ball to hit the AI&#39;s paddle at the right angle, close enough to the bottom, it will hit my collision detection bug and give you a point. ;P
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sun, 18 Mar 2007 04:35:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oddly enough, I&#39;m having fun dumping all the bitmap images in My Pictures to my program seeing what results I get.  <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /></p><p>This was a great MH, lots of people, great rule, etc.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sun, 18 Mar 2007 04:44:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, the biggest MinorHack yet, with some really great entries. I&#39;m going to change this rule to read &quot;allegro&#39;s text output functions&quot;, since I think that&#39;s what it really means.</p><p>Would someone tally the votes for me, please? I think I have it right, but I don&#39;t want to put them into the database wrong.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 04:50:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Huh? What &#39;timing&#39; are you referring to?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 04:56:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m referring to it going at Mach 55 on my system.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
(19:31:37) Ryan: hey you forgot to rank kikaru&#39;s entry<br />(19:32:56) BAF: i did<br />(19:32:57) BAF: ?<br />(19:33:03) Ryan: yes<br />(19:33:33) BAF: how do you play  it<br />(19:33:54) Ryan: very quickly throw the stars at enemies using space<br />(19:33:58) Ryan: you are the green one<br />(19:34:08) BAF: QUICKLY<br />(19:34:09) BAF: holy <span class="cuss"><span><span class="cuss"><span>shit</span></span></span></span><br />(19:34:12) BAF: it runs at mach 55
</p></div></div><p>BAF agrees with me <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 04:58:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmm... any idea why?</p><p>I used standard Allegro interrupt handler timing, and rest(1) within the waiting loops for less CPU usage. Did you have anything with flash in it running in the background?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 05:01:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Idk, install_int(update_timer, 1) probably.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 05:04:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What should I do instead?</p><p>Tried install_int_ex, and it goes <i>crazy</i> fast. Maybe something to do with that?</p><p>[EDIT]<br />found out why <i>that</i> was acting that way. Maybe replace <tt>install_int(update_timer, 1)</tt> with <tt>install_int_ex(update_timer, MSEC_TO_TIMER(1));</tt>?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 05:06:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The parameter for install_int is in msec. The parameter for install_int_ex is something completely different, consult the manual.</p><p>Anyway, timers are only reliable somewhere around 100 ticks per second. Anywhere below that, it&#39;s a grey zone. On some computers it will work flawlessly, while on others it will behave strangely. 100 ticks are enough for most purposes, especially for one-off things like MH entries.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 05:10:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>install_int_ex(blah, BPS_TO_TIMER(x));</p><p>I used x=60 in my entry.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sun, 18 Mar 2007 05:31:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>But does it run fine with the change?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Sun, 18 Mar 2007 05:32:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Okay, there was some shakiness on the site because I was changing things. However, now votes are listen on the page. Everybody make sure they are correct <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 05:58:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ve gone through about 5 drafts of trying to talk about me liking my game a lot more than how it was ranked, yet each draft comes off incredibly conceited. I&#39;m just happy with how it turned out, but apparently no one else was. I guess all that matters in the end is what I think, but I just wonder where the disconnect is.</p><p>Edit: Although, if you can get past about level 5, it gets way too easy...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 06:59:07 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I&#39;m just happy with how it turned out, but apparently no one else was. I guess all that matters in the end is what I think, but I just wonder where the disconnect is.
</p></div></div><p>Well, we&#39;re not ranking the revised versions, and your un-revised version had a lot missing and was confusing.  It&#39;s not clear what criteria we should be using to make our rankings, but having a &quot;complete&quot; game seems to be important to a lot of us.</p><p>I hope you won&#39;t worry too much about the ranking ... just have a good time, and do something interesting!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Zaphos)</author>
		<pubDate>Sun, 18 Mar 2007 07:56:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t worry about the rankings, I worry that I seem to not know how to make a game that appeals to people.</p><p>As for the revised vs. un-revised, I&#39;ve always used the revised to see what they intended to make, and measured the un-revised against it to see how much of it they got done. I had everything implemented, and the only difference between my unrevised and my revised was deletion.</p><p>I think, in the future, I need to be more in the spirit of hackery. What ended up making my un-revised broken was that I was taking great pains to not leak memory.</p><p>Edit: Also, even though this is my 3rd MinorHack, I&#39;m still not sure exactly what to do about the end of the deadline. When I saw the clock turn 4:00, I just made sure it compiled and dumped it into the site, problems and all.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 08:39:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I worry that I seem to not know how to make a game that appeals to people.
</p></div></div><p>
I think for MinorHack there are three basic rules, in this order:<br />1. Make it playable.<br />2. Make it fun.<br />3. Make it original.<br />(you can add &quot;profit&quot; as fourth) <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>1) Make sure the basic gameplay is there before you start to add features related to anything else. Basic ways to achieve this:<br />- use basic graphics (circles, lines and boxes do well),<br />- don&#39;t bother with title screen,<br />- make sure controls are comfortable (not too slow, not too sensitive),<br />- make ending screen as simple as possible (textout, &quot;while(!key[KEY_ESC])&quot; and exit(0) will do)</p><p>2) Make sure end results are reflecting player&#39;s actions. Don&#39;t make game unbeatable or so easy that player can play it infinitely. This can be done by gradually increasing game difficulty or adding &quot;You Win!&quot; screen. &quot;You Win!&quot; screen can bring life to even most ridiculously easy and boring game if you stop the game before player gets bored. Using some kind of maps (tile maps or wave information) is also good idea if you can get it done because it will add variety to your game that will keep player interested.</p><p>3) Pick an idea you think nobody else is going to pick. You can take first 5 minutes to think about the theme and try to come up with something unusual that will fit the theme.</p><p>And bottom guideline to everything: don&#39;t overshoot, all the time be aware of remaining time, cut features and simplify everything as much as possible when you feel you have too little time. Basically, no matter what you do, you will have to cut some features at one point or submit something unplayable. Whenever you feel you have some time, realize that you are wrong for 99%. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Well, this got a bit longer than I&#39;ve intended it to be, but now it may be worth putting somewhere on the compo site, unless you have different view on how to do the 1h gamedev compo. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Krzysztof Kluczek)</author>
		<pubDate>Sun, 18 Mar 2007 10:09:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Well, this got a bit longer than I&#39;ve intended it to be, but now it may be worth putting somewhere on the compo site
</p></div></div><p>

I would agree, sometimes you need a reminder to just not be an idiot.</p><p>Don&#39;t even bother reading this, I think I need a journal or something.<br />[introspection]</p><p>And, I&#39;m regretting having said anything, earlier. I have a laid-back personality, but I have a type A way of communicating. It usually leads to conversations that give people the wrong impression of me, and I end up being friends with people I&#39;m nothing like and pushing away people I am like. I need to take a speaking class or something.</p><p>My favorite is when I say something that makes me sound conceited, and then prove to them that I really am conceited by trying to explain that I&#39;m not like that, because being conceited is, of course, not a positive character trait.</p><p>Good example: My sister was changing a light bulb, and she joked that she&#39;s being really dumb because there is metal all around the bulb-socket dealie and it continues into the ceiling. I said that it didn&#39;t matter because the switch was off, and she said you can get electrocuted anyways. My curiosity was piqued, and I tried to reason it out, and then went to the internet, all the while telling her what I thought the answer was at the time, and she thought I was just trying to be right. If I wanted to be right, why would I research it and risk being wrong, anyways?</p><p>Hm, I just realized that perhaps it&#39;s just that I&#39;m so curious. With the light bulb thing, I just wanted to know the answer. With MinorHack, I wanted to know why I was voted so low. Well, I guess it&#39;s better to be someone who is trying to know everything, than someone who thinks they know everything...</p><p>[/introspection]
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Sun, 18 Mar 2007 12:42:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
I wanted to know why I was voted so low.
</p></div></div><p>

Everything below is my opinion only, and you&#39;re free not to share these views:</p><p>A 1-hour compo is all about hacking together stuff that works in that 1 hour. We shouldn&#39;t in any way take the revised entries into consideration when judging, and, specifically, we shouldn&#39;t look at what the author <i>tried</i> to achieve. This is the only way to have a fair competition.</p><p>For me, the most important factor is completeness. A complete entry shows that the author correctly judged his abilities and stood up to the challenge. Originality and fun-factor are also important, but only if they&#39;re there in the original entry, and not only in the author&#39;s mind (or the revised entry).</p><p>I saw that you tried to do something original and even tried to have a theme with the &quot;delete&quot;&#39;s and memory and so on. That&#39;s great, and that is why I rated you above BAF who went the easy way and made a pong game. But your entry crashed when I pressed the mouse button, so the gameplay just wasn&#39;t there - I could imagine it, but it wasn&#39;t in the entry. All I could was run around in circles until all the digits melted into one jittery being, and then commit suicide. I would&#39;ve ranked you much higher had the original worked like the revised version does.</p><p>Anyway, my recipe for MinorHack is:</p><p>19:57 - close the door to my room, put on headphones, turn on ambient music, turn off IM<br />19:58 - open the text editor, save an empty file as mhack.cpp.<br />19:58:30 - open the command line, type &quot;g++ mhack.cpp -omhack -lalleg -g3&quot;, press enter<br />19:59 - start refreshing the page <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.<br />20:00-20:05 - coming up with an idea. If I don&#39;t come up with a good idea in that time, I just go with what I have, because there isn&#39;t much time really. During this time I also type up the basic framework with timers, initialization and so on - it&#39;s a routine task, so I can think about the idea while typing the framework.<br />20:05-20:30 - creating something that works.<br />20:30-20:50 - creating something that plays nice.<br />20:50-20:55 - creating something that looks nice.<br />20:55-21:00 - tweaks/submitting.</p><p>I always try to come up with an idea that <i>I think</i> I can do in 40 minutes or less. It always takes longer than you think <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.</p><p>[edit]<br />Oh, and \o/. Unanimous win <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 18 Mar 2007 16:01:31 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
coming up with an idea. If I don&#39;t come up with a good idea in that time, I just go with what I have, because there isn&#39;t much time really. During this time I also type up the basic framework with timers, initialization and so on - it&#39;s a routine task, so I can think about the idea while typing the framework.
</p></div></div><p>I&#39;m the same way! That&#39;s one of the reasons I won&#39;t use a template framework <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>As far as my timing goes, when I saw the clock strike the end, I commented out the collision detection which I had just added and submitted.</p><p>How do you guys feel about not allowing entrants to upload revised versions until after judging is completed?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 18 Mar 2007 18:21:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
How do you guys feel about not allowing entrants to upload revised versions until after judging is completed?
</p></div></div><p>

It&#39;s a great idea.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sun, 18 Mar 2007 23:22:08 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sounds good. Helps keep the games in perspective. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>[EDIT]<br />Third Place! Woo! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Mon, 19 Mar 2007 00:02:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hey, another one scheduled for the 30th. That&#39;s the first day of TINS! Does that mean it&#39;s like an exponential hack or something?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Mon, 19 Mar 2007 03:58:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No, it&#39;s before the first day of TINS.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Mon, 19 Mar 2007 04:43:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s a warmup!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Mon, 19 Mar 2007 06:49:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">TINS said:</div><div class="quote"><p>
TINS 2007 will be held from Friday March 30, 12.00 pm GMT, to Monday April 2, 12.00 pm GMT.
</p></div></div><p>

</p><div class="quote_container"><div class="title">MinorHack said:</div><div class="quote"><p>
March 31st at 1:00 am UTC
</p></div></div><p>

I fail to see how March 31st is before March 30th.</p><p>(they&#39;re both the 30th for me, since I&#39;m in -5 GMT)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Mon, 19 Mar 2007 11:24:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Okay, I seem to have mistaken 12 PM for 12 AM, and then March 31 for March 30. <b>I&#39;ve moved the competition 1 day closer to avoid collision with TINS.</b> If this means you guys who voted for it can&#39;t participate, feel free to propose another one. Personally, I won&#39;t be able to play right before TINS starts (10 am March 30 UTC), but if you European people are, you might want to get together on it <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Mon, 19 Mar 2007 18:49:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Compo in <s>2</s> 8 days. AKA, bump.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Wed, 21 Mar 2007 23:03:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Today is the 21st, and the competition is on the 30th. It starts in <b>8 days and 6 hours</b>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Wed, 21 Mar 2007 23:04:46 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hmmm... What a shame, it&#39;s on 4am.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Ron Ofir)</author>
		<pubDate>Wed, 21 Mar 2007 23:07:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Like I said, if you European ones want to have a different one at like 10 am GMT, feel free to propose it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Wed, 21 Mar 2007 23:08:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>10 AM GMT would even work well for me. I&#39;m generally still up at 5:00 AM here. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Wed, 21 Mar 2007 23:10:52 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>5 AM where? Are you Central time? <a href="http://cgamesplay.com/minorhack/convert">Enjoy this.</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Wed, 21 Mar 2007 23:13:14 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>EDT (-5 GMT)</p><p>Also, neat. Doesn&#39;t beat the convenience of Google, though... <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Wed, 21 Mar 2007 23:14:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Well, 10am still wouldn&#39;t be good as I study on Fridays as well.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Ron Ofir)</author>
		<pubDate>Wed, 21 Mar 2007 23:19:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh. Right, got the dates mixed up. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Thu, 22 Mar 2007 01:01:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Should probably rollover the thread at some point before the next MH.<br /><tt>y/n: ?</tt>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Thu, 22 Mar 2007 01:33:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>&quot;rollover&quot;?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Thu, 22 Mar 2007 02:19:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Eh, make a new thread for the next MinorHack... trying to use some hip terminology and I guess it didn&#39;t quite work out... sorry about that.</p><p>Edit: Though this one was made with 3 days to go, so I guess it would be out of character to remake it already... I&#39;m just anxious.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kibiz0r)</author>
		<pubDate>Thu, 22 Mar 2007 03:32:51 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
trying to use some hip terminology and I guess it didn&#39;t quite work out
</p></div></div><p>

It&#39;s just as well for you that it&#39;s hip to be square.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Thu, 22 Mar 2007 05:32:57 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Actually, hips are vaguely bean-shaped... sort of... <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Kikaru)</author>
		<pubDate>Fri, 23 Mar 2007 04:52:35 +0000</pubDate>
	</item>
</rss>
