<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>TowerLucky</title>
		<link>http://www.allegro.cc/forums/view/618579</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 20 Jan 2022 13:47:53 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><h1>TowerLucky</h1><p>

</p><h4>For KrampusHack 2021</h4><p>

</p><h2>DESCRIPTION:</h2><p>

Apparently I couldn&#39;t think of anything creative for my first game. So I had to choose a different one in order to give GullRaDriel a gift.</p><p>I let you intuit about the rules of the game. If you clear all the pieces, consider that you have won, otherwise, if you cannot advance, then you have lost.</p><h3>How to play?</h3><p>
</p><div class="spoiler"><p>
1) Move from any piece for move a stack of pieces. You must put to another in correct order and correct color.<br />2) Put in the clear column the number 13.<br />3) All numbers from low to high are saved in the box automatically, take careful!<br />4) Reveal gray piece by clean all above.
</p></div><p>

The game also has a hidden secret.</p><h2>ABOUT OF SOURCE CODE:</h2><p>

Built with C++ using C code and Allegro 5 library.</p><p>based on Orchid Adventure, replace almost all the code, so you could find useless residue from the previous game.</p><p>A game that has consumed me 4 hours of programming. And 1 hour of testing.</p><p>Why did I do it so fast this time? Because it didn&#39;t require inspiration or creativity.</p><p>No sound and no animations.</p><h2>IMAGE:</h2><p>

https://0x0.st/os3q.png</p><h2>DOWNLOAD:</h2><p>
<a href="https://tins.amarillion.org/upload/TowerLucky.tar.xz">https://tins.amarillion.org/upload/TowerLucky.tar.xz</a><br /><a href="https://bitbucket.org/rmbeer/towerlucky/src">https://bitbucket.org/rmbeer/towerlucky/src</a></p><p>Only source codes, tested only in GNU/Linux.</p><h2>INSTRUCTIONS:</h2><p>
</p><h3>For tarball:</h3><p>
</p><pre>tar Jxvf TowerLucky.tar.xz
cd TowerLucky</pre><p>

</p><h3>For bitbucket:</h3><p>
</p><pre>git clone <a href="https://bitbucket.org/rmbeer/towerlucky">https://bitbucket.org/rmbeer/towerlucky</a> TowerLucky
cd TowerLucky</pre><p>

</p><h3>For compiling from both sources:</h3><p>
</p><pre>mkdir Build
cd Build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
ln -s ../Datos
./main</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RmBeer2)</author>
		<pubDate>Sun, 02 Jan 2022 03:48:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I didn&#39;t get very far. Nice game... difficult!</p><p><a href="https://i.imgur.com/5tWvIZK.jpg">https://i.imgur.com/5tWvIZK.jpg</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Wed, 05 Jan 2022 15:52:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I didn&#39;t made it to then end yet, but it&#39;s working fine and it&#39;s a nice time killer ^^</p><p>I hope I&#39;ll be able to see the end and find the hidden secret !</p><p>FYI it compiled just fine and without a warning on Debian testing.</p><p>Thanks for the present :-)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Sat, 08 Jan 2022 21:29:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s a nice variation of patience. The game works well. If I could make one change, I would make the boxes a little higher so that the number is easier to read.</p><p>Do you have an idea of what percentage of games can be completed? So far I&#39;ve got stuck two times, so 0 out of 2... </p><p>edit: still 0 out of 8 completed games so far...</p><p>edit: I tried to make a windows version. The odd thing is that I see some weird graphical glitches (see attached PNG)</p><p>Playing around a bit with the code, it suddenly started working fine when I made one small change: moving an ALLEGRO_BITMAP pointer from stack to global memory (see attached patch). </p><p>To me, this points to a problem with variables being overwritten, and changing this one variable changes where variables are laid out in memory. I haven&#39;t been able to spot where memory is written out of bounds though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Sat, 15 Jan 2022 16:07:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Here are some tips to have more chances of winning:</p><div class="spoiler"><p>
</p><ul><li><p>Always draw from the bottom of the stack, so that each turn you always reveal a box.
</p></li><li><p>Keep the columns always empty until you think you can no longer continue and need to move a 13.
</p></li><li><p>Always try to see your duplicate numbers before moving. It may be better to move one number and not the other, which may result in more consecutive connections.
</p></li><li><p>If there are 3 equal numbers below, you can mindlessly place above.
</p></li><li><p>In case you can&#39;t reveal a box, think about making it possible. It always takes you from 2 to 5 turns. The more turns you take without revealing a box, the more chances you have to lose.
</p></li></ul></div><p>

Amarillion has already discovered that my game is based on solitaire. But I don&#39;t remember his name. xD
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (RmBeer2)</author>
		<pubDate>Mon, 17 Jan 2022 22:52:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I did manage to finish it one time (screenshot), I guess 1 out of... 15-20 games?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (amarillion)</author>
		<pubDate>Thu, 20 Jan 2022 13:47:53 +0000</pubDate>
	</item>
</rss>
