<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Rrabarg's Weblog</title>
	<atom:link href="http://rrabarg.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rrabarg.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 21 Sep 2011 13:18:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rrabarg.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Rrabarg's Weblog</title>
		<link>http://rrabarg.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rrabarg.wordpress.com/osd.xml" title="Rrabarg&#039;s Weblog" />
	<atom:link rel='hub' href='http://rrabarg.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Bloxorz Solution</title>
		<link>http://rrabarg.wordpress.com/2008/05/12/bloxorz-solution/</link>
		<comments>http://rrabarg.wordpress.com/2008/05/12/bloxorz-solution/#comments</comments>
		<pubDate>Mon, 12 May 2008 11:37:44 +0000</pubDate>
		<dc:creator>rrabarg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rrabarg.wordpress.com/?p=3</guid>
		<description><![CDATA[Bloxorz Solution Bloxorz is a single player &#8216;casual&#8217; game written in Flash by DX Interactive that came out in 2007. It caught my interest as a challenge to implement a software algorithm to complete it &#8211; and as it turns out, I reckon that the optimum path through all 33 levels is determinable by brute [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rrabarg.wordpress.com&amp;blog=3705896&amp;post=3&amp;subd=rrabarg&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>Bloxorz Solution</h1>
<p><a title="Bloxorz" href="http://www.albinoblacksheep.com/games/bloxorz" target="_blank">Bloxorz</a> is a single player &#8216;casual&#8217; game written in Flash by <a title="DX Interactive" href="http://www.dxinteractive.com/" target="_blank">DX Interactive</a> that came out in 2007.</p>
<p>It caught my interest as a challenge to implement a software algorithm to complete it &#8211; and as it turns out, I reckon that the optimum path through all 33 levels is determinable by brute force.</p>
<p>Since the game doesn&#8217;t (to my knowledge) provide any external interfaces I had to model the game rules &#8211; and so my solution is only as accurate as my model of the real game.   The model and search algorithm is written in Java, the software is freely available on request.</p>
<h4>Algorithm Design</h4>
<p>I used <a title="A*" href="http://en.wikipedia.org/wiki/A*_search_algorithm" target="_blank">A*</a> with a simple heuristic based on the straight line distance to the goal.  As it turns out, for most cases, although <a href="http://en.wikipedia.org/wiki/Admissible_heuristic" target="_blank">admissible</a>, this heuristic was fairly ineffective compared to a straight <a href="http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm" target="_blank">Dijkstra algorithm</a>.</p>
<p>The interesting challenges were dealing with the &#8216;switches&#8217; &#8211; which change layout of the grid in the middle of a game, and the &#8216;teleports&#8217; which break to block up in to 2 pieces on different squares.    Switches were dealt with by encapsulating the hash of the grid state in each search node.    Teleports were dealt with by encapsulating the location of both blocks in a single search node; the ensuing combinatorial explosion turned out to be manageable without any bespoke pruning.  Teleports also required that the heuristic be made more sophisticated in order to remain <a href="http://en.wikipedia.org/wiki/Admissible_heuristic" target="_blank">admissible </a>because a teleport could provide a shorter path to the target than a straight line.</p>
<h4>Game Suggestions</h4>
<p>The game could be extended to make it more difficult to solve via brute force in a number of ways:</p>
<ul>
<li>Make the grid much larger</li>
<li>Complex interactions between the grid &#8216;controls&#8217; &#8211; e.g. teleport 1 goes to site 2 and 3 if switch 1 is activated but not if switch 2 is.</li>
<li>Add grid &#8216;controls&#8217; with a timing element &#8211; e.g. swing bridges</li>
<li>More complex blocks &#8211; specifically, a 3&#215;1 block teleported to 3 1&#215;1 blocks would cause an almighty combinatorial explosion.</li>
</ul>
<p>The game author notes that creating the levels is very time consuming and tedious.  A search algorithm could be used &#8216;in reverse&#8217; so to speak to automatically generate very difficult levels.  The algorithm would work as follows:</p>
<ol>
<li>generate a set of random grids</li>
<li>search them to find the subset which are completable</li>
<li>loop:
<ol>
<li>create a new set as mutations of input set</li>
<li>search them to find the subset which are completable</li>
<li>break if set contains solution of required difficulty ( e.g. require number of moves )</li>
</ol>
</li>
</ol>
<h4>Solutions</h4>
<p>level1.txt : [R2, D, R3, D] : 7 : 7<br />
level2.txt : [U, R, D, R4, U2, D, R, D, R2, U, R, U] : 17 : 24<br />
level3.txt : [R, U, R3, U, L, D, R, U2, R3, D3, R, U] : 19 : 43<br />
level4.txt : [U, L, U, R2, U, R6, D, R, D5, R, U, L6, D] : 28 : 71<br />
level5.txt : [L3, R, L5, D, R, D2, R4, D, R4, L4, D, L6] : 33 : 104<br />
level6.txt : [R3, D2, R, D2, R, D, R, U, L3, U2, L, U3, R2, D, R2, U, L, D2, R2, D2, R] : 35 : 139<br />
level7.txt : [D, L, U, R5, D, R, L, U, L5, D, R, D, R, D, R3, U2, R, D, L, U, R, U2, R3, D, R, D, R, D, L, U] : 44 : 183<br />
level8.txt : [R2, D5, U, R, U, R] : 11 : 194<br />
level9.txt : [R, D, R6, U, R, L, D, L4, U, S, R, D, R4, D] : 24 : 218<br />
level10.txt : [R2, L, D3, R, D5, L4, U, L3, D, U, R3, D, R3, U, S, R, D, R, D2, R, D3, L, D, U, R, U4, L2, U, L, D, L5] : 57 : 275<br />
level11.txt : [R4, U, L, D3, R3, D, L, U, L3, U2, R, U, R2, D, R, U, L3, D2, L3, U2, R, U2, L, D, R, U, R, D, L] : 47 : 322<br />
level12.txt : [L, D, R, U, R, U, R, U, L, D, R, U, R, U, R3, D3, L, U, R, U3, L3, R3, D3, L, D, R, U, R, D, L, U, R, U2, R, U, D, L, D3, L, U, R, U, L, U, L3, D2, L] : 65 : 387<br />
level13.txt : [U2, L, D, R, D, R, D, L, U4, L7, D3, R, U, L, D, R, D2, R, D2, R, U, R5, U, L, D, L, U2] : 46 : 433<br />
level14.txt : [R4, U, L2, D, R3, D4, L3, D, R, U, R2, U2, D, R, D, L2, D2, R2, L2, U, L2, U, R3, U4, L6, U, R, D, L5, D3, R, D, R] : 67 : 500<br />
level15.txt : [R4, U2, S, U5, R3, U2, R4, D2, U, L, U, S, L4, D, L, D, U, S, L3, D, S, U, L4, D, L2, D3, L, D, R, U, R7] : 59 : 559<br />
level16.txt : [R4, S, R, D, S, R, U, S, R, L3, R4, L5, D, S, R, U, S, R4] : 28 : 587<br />
level17.txt : [D5, L, U, R5, U, R3, L3, D, L5, U4, R5, D, R4, D, L, U, R, D, U, R, D, L, U2, R, D, L2, U, R, D, L4, U, L5, D4, R5, U, R3, D2, U, L, U, L3, D, L3, U, L, U3, R5, D, R3] : 106 : 693<br />
level18.txt : [U, L, D, R4, U2, D2, L3, U, R, D, L2, U, R, D, R3, D2, U2, L3, U, L, D, R, U, L2, D4, R2, L2, U4, R2, D, L, U, R, D2, L, U, R, D, R, U, R5, D3, R, U, L, D2, R, U, L, D, L, U, R] : 85 : 778<br />
level19.txt : [R8, D, R, U, L6, D, R, U, R5, D5, L5, D, L, U, R6, U, L, D, L5, D4, R3, L6, U2] : 67 : 845<br />
level20.txt : [D, L, D, R, D, L, U2, R, U2, L4, D2, R, U, L2, D3, L, D, U, R, U2, R, U2, R3, D, L, D, L4, D3, S, U, L, D, S, D2, R4, D] : 56 : 901<br />
level21.txt : [R, D, L, U, L, D, R, U, R2, U, R3, U, L, D3, U3, R, D, L3, D, L2, D, L, U, R, D, R, U, L, D, R, U, L, D, R, D2, R, D2, R3, U, R, D, L4, U, R, D, R3, U4, R3] : 72 : 973<br />
level22.txt : [R, U, R4, D, R, D3, L, D, U, R, U3, L, U, R, D, L, U, L, U, L2, D, L3, D, R, U, R, D, L, D3, R, D, U, L, U3, R, U, L, D, R, U, R, U, R3, D, R4, U] : 65 : 1038<br />
level23.txt : [R, D2, R, U, R5, U, L, D, R, L, U, L2, U4, R4, U, L, D, L3, D3, L, D, L8, U3, R2, U, D, L, U, R, D2, R, D3, R2, D, R, U6, R, D, L, U] : 75 : 1113<br />
level24.txt : [D, L, D, R, D, L, U2, D2, R, U, L, U, R, D, R2, U2, R, U, L, D, R, U, R4, L5, D, R, L, U, R, D, L, U, R7, D, L, R, U, R3] : 57 : 1170<br />
level25.txt : [U, R, D, L, U, R, D, L, U, R4, U, L, U, L2, U, R, L, D, R2, D, R, D, L4, D, R, U, R3, U2, R3, U, R, D, L, U2, R, D, L, U, R, D, L] : 55 : 1225<br />
level26.txt : [U2, L3, D, L3, D, R, U, R2, U2, R2, D, R2, D, R2, U2, L2, U, L5, D, L3, D, L, D2, S, U3, L6, D, L2, D2, L, D, U2, R, U, R3, U, R3, D, R2, U2, L2, U, L3, D, L, D3, R2, D, R, S, U3, L3, D, L, D3, R2, D, L] : 104 : 1329<br />
level27.txt : [R5, U, L, D, R, U, R, D, L6, U, R, D, L2, U, R, D, R4, U, R4, D3, L, D3, L3, D, L, U4, R, D, L7, U, L, D2, R, U, L, D, R, U, L] : 71 : 1400<br />
level28.txt : [L, D3, R, D, L, U, R, D2, R2, D2, R3, U3, L, U, L, U, L, U, L, D, R2, D, R, D, R, D, R2, D, L, D, L2, U3, L, U, L, U, L2, U, L2, D, L, U, R3, D, R, D, R, D, R, D, R, L4, D3, L4, U, L, U, L3, D, S, L6, U, L, U, L3, U] : 100 : 1500<br />
level29.txt : [R, U, L, D, L, U, R, D, R, D2, R2, L2, U2, L, U, R, D, L, U, L, D, L, U2, L2, R2, D2, R, U, R, D, R, U, L, D, R, U2, R2, L2, D6, R2, L2, U4, L6, R4, D, L, U, R6, L5, U, L, D4, L3, D, R, U, L, D, R, U, L] : 104 : 1604<br />
level30.txt : [D, R, D2, R2, U, R2, D, R4, U, D, L4, U, L3, D2, L, U, R6, U3, R3, U, R, D3, L2, D, L, D, R, U2, R, D, L, D, L4, U, L2, D, L2, U, L, D, L, U, R, U, D, L, D, R, U, R, D, R2, U, L, D2, L, U, R7, U, L, U3, R3, U, R, U, L5, D, L] : 114 : 1718<br />
level31.txt : [U, L, D, L2, U4, D4, R3, U, L, D, R, U4, R, U, L, D2, R, U, L, D, L3, D3, L, D2, U2, R, U3, L4, D, R, U, L, D5, L, U, R, L, U, R, D, R, U, R2, U, R2, D, R3, U, L, D, R, U5, R, D, L] : 91 : 1809<br />
level32.txt : [U2, L, D, R, U, R, U, R, D, L, R, U, L, D, L, D, L, U, R, D, L, U, R, U, R, U, R, D, L2, D3, L, D, L2, U, L, D, R3, U5, R, U, R2, U, D, L2, D, L, D5, L4, U, R, L, D, R4, U5, R, U, R2, U, D, L2, D, L, D5, L3, U, R, D, R2, U, R, U3, R2, U, L, D, L, D, L, D, R, U, L2, U, L5, D] : 129 : 1938<br />
level33.txt : [R4, U, L, D2, L, U, R, U2, R2, D, R, D, R, U, L2, U, R, D, R, D2, R, D, L, D2, R2, U, D, L2, U2, R, U, L, U2, L, U, L, D, R, U, L3, D3, L, D, L2, D, L, U] : 65 : 2003</p>
<h4>Level Description Key</h4>
<p>Below I&#8217;ve included the description file used to model each level. These descriptions are interpreted according to the following key:</p>
<ul>
<li>x = missing (i.e. no tile)</li>
<li>p = plain tile</li>
<li>s = starting point</li>
<li>e = end point (target)</li>
<li>t = teleport</li>
<li>S = strong switch ( i.e. block needs to be end-on)</li>
<li>W = weak switch (i.e. any contact will trigger)</li>
<li>w = weak tile (i.e. will break if arrived at end on)</li>
</ul>
<p>Where a tile type is followed immediately by another character (e.g. W1) that tile can be uniquely identified &#8211; this is necessary for defining rules.</p>
<p>Rules are defined after the grid, after a line containing dashes ( i.e. &#8216;&#8212;-&#8217; )</p>
<p>Example:</p>
<pre>x  x  p  p  x  x  x  x  x  x  x  x  x  x
x  x  p  p  x  x  x  x  x  x  x  x  x  x
x  x  p  p  p  x  x  x  x  x  x  x  x  x
x  x  p  p  W1 x  x  x  x  x  p  p  p  x4
x  x  x  p  p  p  p  x3 x  x  p  e  p  x4
x  x  x  x  x  x  p  p  x2 x2 p  p  p  x
x  p  p  x  x  x  p  p  x  x  x  x  x  x
p  p  S1 p  p1 p1 p  p  x  x  x  x  x  x
p  s  p2 x  x  x  p  p  x  x  x  p  p  p
p  p  p2 x  x  x  p  p  W2 p  p  p  p  p
x  x  x  x  x  x  x  x  x  x  x  p  p  p
--------
W1 toggles x2, x4
W2 closes p1
W2 opens x3
S1 opens x2</pre>
<p>Levels</p>
<p>level 1<br />
p p p x x x x x x x x x x x x x x<br />
p s p p p p x x x x x x x x x x x<br />
p p p p p p p p p x x x x x x x x<br />
x p p p p p p p p p x x x x x x x<br />
x x x x x p p e p p x x x x x x x<br />
x x x x x x p p p x x x x x x x x</p>
<p>level 10<br />
p  p  p  x  x  x  x  x  p  p  p  p  p  p<br />
p  e  p  x1 x1 p  x2 x2 p  s1 p  p  t1 p<br />
p  p  p  x  x  x  x  x  p  p  p  p  x2 x<br />
x  x  x  x  x  x  x  x  x  p  p  p  x2 x<br />
x  x  x  x  x  x  x  x  x  x  x  p  p  x<br />
x  x  x  x  x  x  x  x  x  x  x  x  p  x<br />
x  x  x  x  x  x  x  x  x  x  x  x  p  x<br />
x  x  x  x  x  x  x  x  x  x  x  p  p  x<br />
x  x  x  x  p  p  p  p  p  x  x  p  p  x<br />
x  x  x  x  p  W1 x  x  p  p  p  S1 p  x<br />
&#8212;&#8211;<br />
t1 teleports t1, s1<br />
W1 toggles x1<br />
S1 toggles x2</p>
<p>level 11<br />
x p p p p1 x x x x x x x<br />
x p e p p1 x x x x x x x<br />
x p p p x x x x x x x x<br />
x p x x x p p p p p p x<br />
x p x x x p p x x p p x<br />
s p p p p p p x x p p p<br />
x x x x x p W1 x x x x p<br />
x x x x x p p p p x x p<br />
x x x x x p p p p p p p<br />
x x x x x x x x p p p x<br />
&#8212;&#8211;<br />
W1 closes p1</p>
<p>level 12<br />
x x x x x x x x x x x x S2<br />
x x x x x p p p x x p p p<br />
x x x x x p S1 p p p p p x2<br />
x x x p p p p p x x p p x<br />
x x x p e p x1 x x x p p x<br />
x p p p p p x x x p p p p<br />
p p s p x x x x x p p p p<br />
p p p p x x p p p p p x x<br />
x x x x x p p p x x x x x<br />
x x x x x p p p x x x x x<br />
&#8212;&#8212;&#8211;<br />
S1 toggles x2<br />
S2 toggles x1</p>
<p>level 13<br />
p p p w p p p p w p p p p x<br />
p p x x x x x x x x p p p x<br />
p p x x x x x x x x x p p p<br />
p p p x x x p p p x x p s p<br />
p p p w w w p e p x x p p p<br />
p p p x x w p p p x x p x x<br />
x x p x x w w w w w p p x x<br />
x x p p p w w p w w w x x x<br />
x x x p p w w w w w w x x x<br />
x x x p p p x x p p x x x x</p>
<p>level 14<br />
x x x x x x x x p p p x x x<br />
x x x p p p x x p p p x x x<br />
p x1 x1 p s p p p p p p p p p<br />
p x2 x2 p p p x x x x x x S1 p<br />
p x x x x x x x x x x x p p<br />
p x x x x x x x x x x x p p<br />
p x x x x x x x p p p p p p<br />
p p p p p x x x p p p x x x<br />
x p p e p x x x p p p x x x<br />
x x p p p x x x p p p p p S2<br />
&#8212;&#8212;<br />
S1 toggles x1<br />
S2 toggles x2</p>
<p>level 15<br />
x x  x  x  x x  x  p  p  p  x  x  p  p  p<br />
x x  x  x  p p2 p2 p  p  p  x2 x2 S4 p1 p<br />
p p  x3 x3 p x  x  p  p  p  x  x  p  p  p<br />
p p  p  p  p x  x  x  W1 x  x  x  x  x  x<br />
p p  x  x  x x  x  x  x  x  x  x  x  x  x<br />
x p  x  x  x x  x  t1 x  x  x  x  x  x  x<br />
x p  x  x  x x  x  p  x  x  x  x  x  x  x<br />
p p  p  x  x x  p  p  p  x  x  W2 p  p  x<br />
p s1 p  p  p p  p  p  p  p3 p3 p  e  p  x<br />
p p  p  x  x x  p  p  p  x x   W3 p  p  x<br />
&#8212;&#8212;-<br />
t1 teleports p1, s1<br />
W1 toggles x2, p2<br />
W2 closes p3<br />
W3 closes p3<br />
S4 toggles p2, x3</p>
<p>level 16<br />
x  t1 x  x  x  x   x  x  x  x  p p p<br />
t2 p  t3 x1 x1 S1  S2 p1 x2 x2 p e p<br />
x  t4 x  x  x  x   x  x  x  x  p p p<br />
x  x  x  x  x  x   x  x  x  x  x x x<br />
x  x  p  p  p  x   x  x  p  p  p x x<br />
x  x  p  s  p  p   p  p  p  t5 p x x<br />
x  x  p  p  p  x   x  x  p  p  p x x<br />
&#8212;&#8212;<br />
t1 teleports p1, S1<br />
t2 teleports t3, t1<br />
t3 teleports t2, t3<br />
t4 teleports t4, t2<br />
t5 teleports t1, t2<br />
S1 opens x1<br />
S2 opens x2</p>
<p>level 17<br />
p p  p x x x x  x  x  x  x x x  x  x<br />
p s  p p p p p  p  p  x4 x x p  p  p<br />
p p  p x x x x  x1 p  p  p p p  e  p<br />
p p  p x x x x  x  x  x  x x S1 S2 p<br />
p p  p x x x x  x  x  x  x x x  x  x<br />
p p  p x x x x  x  x  x  x x x  x  x<br />
p p  p x x x x2 p  p  p  p p S3 x  x<br />
p p  p p p p p  p  x3 x  x p p  x  x<br />
p W1 p x x x x  x  x  x  x p p  x  x<br />
p p  p x x x x  x  x  x  x p S4 x  x<br />
&#8212;&#8212;<br />
S1 closes x2<br />
S2 opens x2<br />
S4 closes x3<br />
S4 opens x4<br />
S3 opens x1<br />
W1 toggles x3</p>
<p>level 18<br />
x  x  x  x  x  x  x  W1 x  x  x  x  x  x  x<br />
p  p  W6 p  x  x  x  p  x  x  x  x  x  x  x<br />
p  p  p  p  p  x  x  p  x  x  x  x  x  x  x<br />
p  W2 s  p  p  p  p  p  x1 x1 p  p  x3 x3 p<br />
p  p  p  p  p  x5 x  x  p  x  x  x  p  x  x<br />
p  p  W3 p  x  x  x  x  p  x  x  x  p  x  x<br />
p  x  x  x  x  x  x  x  W4 x  x  p  p  p  x<br />
p  x  x  x  x  x  x  x  x  x  p  p  e  p  x<br />
p  x6 x6 S5 x  x  x  x  x  x  p  p  p  p  x<br />
&#8212;&#8212;-<br />
W6 closes x6, x3<br />
W3 closes x6, x3<br />
W1 opens x1<br />
W2 closes x1<br />
W4 opens x6, x3<br />
S5 toggles x5</p>
<p>level 19<br />
x s p p p p p p p p W1 p p p p<br />
x x x x x p p x x x x  x x p p<br />
x x x x x p p x x x x  x x p p<br />
x x x x x x x x x x x  x x p p<br />
x x x x x x x x x x x  x x p p<br />
p p p x x p p x1 x1 p W2 p p p p<br />
p e p x x p p x x x x  x x x x<br />
p p p x x p p x x x x  x x x x<br />
x p p x x p p x x x x  x x x x<br />
x p p2 p2 p p p p p p W3 p p p x<br />
&#8212;&#8211;<br />
W1 toggles x1<br />
W2 closes p2<br />
W3 opens p2</p>
<p>level 2<br />
x x x  x  x  x  p p p  p x  x  p p p<br />
p p p  p  x  x  p p S2 p x  x  p e p<br />
p p W1 p  x  x  p p p  p x  x  p p p<br />
p p p  p  x  x  p p p  p x  x  p p p<br />
p s p  p  x1 x1 p p p  p x2 x2 p p p<br />
p p p  p  x  x  p p p  p x  x  x x x<br />
&#8212;-<br />
W1 toggles x1<br />
S2 toggles x2</p>
<p>level 20<br />
x x  x x  x x  x  x  x x  x  x  p  p  p<br />
x x  p p  p p3 p3 p  p p  x1 x1 p  l5 p<br />
x x  p p  p x  x  W1 s p  x  x  p  p  p<br />
x x  p p  p x  x  p  p p  x  x  x  x  x<br />
x x  p W2 p x  x  t1 p W3 x  x  x  x  x<br />
x x  p p  p x  x  p  p p  x  x  x  x  x<br />
p p  p p  x x  x  p  p p  x2 x2 W4 p  p<br />
p W5 x x  x x  x  x  x x  x  x  p  l4 p<br />
x x  x x  x x  x  x  x x  x  x  p  e  p<br />
x x  x x  x x  x  x  x x  x  x  p  p  p<br />
&#8212;-<br />
W3 closes p3<br />
W1 closes p3<br />
W2 closes p3<br />
t1 teleports l5, l4<br />
W4 toggles x2<br />
W5 opens x1</p>
<p>level 21<br />
x x x x  x x x x p  p x x x x x<br />
x x x x  x x x p p  p x x x x x<br />
p p x x  p p p p p  p x x x x x<br />
p s p p  p p x x p  x x x x x x<br />
p p p p  x x x x p  x x x p p p<br />
x p p x  p p p p S1 p p p p e p<br />
x x p x  x x x x S1 p x x p p p<br />
x x p p  p x x x p  p x x x x x<br />
x x x p  p p x2 x p  p x x x x x<br />
x x x x1 p p p p p  p x x x x x<br />
&#8212;-<br />
S1 toggles x1<br />
S2 toggles x2</p>
<p>level 22<br />
x x x  x x  p p  x x x  x p p  p<br />
x x x  p p  p p  p p x  x p e  p<br />
p p p  p p  p W1 p p p  p p p  p<br />
p s p  p W2 x x  p p p  p p x2 x<br />
p p p  x x  x x  x x p  p p x  x<br />
x p x  x x  x x  x x x  p x x  x<br />
x p x  x x  x x  x x x  p x x  x<br />
x p x1 x x  x x  x x p1 p x x  x<br />
x p p  x x  x x  x x p  p x x  x<br />
x x S3 x x  x x  x x S4 x x x  x<br />
&#8212;&#8212;-<br />
W2 closes x2, x1<br />
W1 closes x2, x1<br />
S4 toggles x1<br />
S3 toggles x2</p>
<p>level 23<br />
x  p  p  p  x  x  x  x  x  x  x  x  p  p  p<br />
x  p  S1 p  x  x  x  x  x  x  x  x  p  W1 p<br />
x  p  p2 p  x  x  x  p  p  p  p1 p1 p  p  p<br />
x3 p  p  p  x4 x  x  p  e  p  x  x  p  p  W2<br />
p  x  x  x  p  x  x  p  p  p  x  x  x  x  p1<br />
W3 x  x  x  p  x  x  w  w  w  x  x  x  x  p<br />
p  x2 x2 p  p  p  w  w  w  w  w  p  p  p  p<br />
x  x  x  p  s  p  w  w  w  w  w  p  t1 p  x<br />
x  x  x  p  p  p  w  w  w  w  w  p  p  p  x<br />
x  x  x  p  p  p  p  p  x1 x  x  x  x  x  x<br />
&#8212;&#8212;&#8211;<br />
W2 closes p1<br />
W1 toggles x1<br />
W1 opens x2<br />
t1 teleports t1, p2<br />
W3 opens x3<br />
W3 closes x2<br />
S1 opens x4</p>
<p>level 24<br />
x  x  x  x  x  x  x  x  x  x  p  p  p  p<br />
x  x  x  x2 p  p  p  p  p  p  p  S1 p  t1<br />
x  s  x1 x1 p  S2 p  x  x  x  p  p  p  p<br />
S3 p  x  x  p  p  x  x  x  x  x  x  p  x<br />
p  p  x  x  p  x  x  x  x  x  x  x  p  x<br />
p  p  p  p  p  x  x  x  x  x  p  p  p  x<br />
p  p  p  x  x  l1 p  l2 x4 x4 p  e  p  x<br />
x  x  x  x  x  S4 p  x3 x  x  p  p  p  x<br />
x  x  x  x  x  x  x  x  x  x  x  x  x  x<br />
&#8212;&#8211;<br />
t1 teleports l1, l2<br />
S1 toggles x1<br />
S3 opens x2<br />
S2 opens x3<br />
S4 opens x4</p>
<p>level 25<br />
x  x  p  p  x  x  x  x  x  x  x  x  x  x<br />
x  x  p  p  x  x  x  x  x  x  x  x  x  x<br />
x  x  p  p  p  x  x  x  x  x  x  x  x  x<br />
x  x  p  p  W1 x  x  x  x  x  p  p  p  x4<br />
x  x  x  p  p  p  p  x3 x  x  p  e  p  x4<br />
x  x  x  x  x  x  p  p  x2 x2 p  p  p  x<br />
x  p  p  x  x  x  p  p  x  x  x  x  x  x<br />
p  p  S1 p  p1 p1 p  p  x  x  x  x  x  x<br />
p  s  p2 x  x  x  p  p  x  x  x  p  p  p<br />
p  p  p2 x  x  x  p  p  W2 p  p  p  p  p<br />
x  x  x  x  x  x  x  x  x  x  x  p  p  p<br />
&#8212;&#8212;&#8211;<br />
W1 toggles x2, x4<br />
W2 closes p1<br />
W2 opens x3<br />
S1 opens x2</p>
<p>level 26<br />
x  x  x  x  x  p  p  p  p  x  x  x  x  t1<br />
x  x  x  x  x  p  p  W1 p  p  p  x  x  p<br />
x  x  x  x  p  p  p  p  p  p  p  x  x  p<br />
p  p  p1 p1 p  p  p  p  x  x  p  p  p2 p<br />
p  p  p  x3 x  x  p  x  x  x  p  p  x  x<br />
p  p  p  x  x  x  p  x  x  x  s1 x  x  x<br />
x  p  x  x  x  x  p  p  p  x  x  x  x  x<br />
x  S1 x  x  x  x  p  e  p  x3 x  x  x  x<br />
x  x  x  x  x  x  p  p  p  x  x  x  x  x<br />
&#8212;&#8212;-<br />
W1 closes p1<br />
t1 teleports p2, s1<br />
S1 opens x3</p>
<p>level 27<br />
p  p  p  x  x  x  x  p  p  p  p  p  p  p  p<br />
p  s  p  p  p  p  p  p  p  p  p  x  x  p  p<br />
p  p  p  x  x  x  x  p  p  x  x  x  x  p  p<br />
x  x  x  x  x  x  x  x  x  x  x  x  p  S1 p<br />
x  x  x  x  x  x  x  x  x  x  x  x  p  p  x<br />
p  p  p  x  x  w  w  w  w  p  x  x  W1 W2 x<br />
p  e  p  w  w  w  w  w  w  w  x  x  p  p  p<br />
p  p  p  w  w  w  w  w  w  w  w  w  p  p  p<br />
x  x  x  x  x  w  w  w  w  w  w  w  p  p  p<br />
x  x  x  x  x  x  p1 p  p  p2 x  x  x  x  x<br />
&#8212;<br />
S1 closes p1, p2<br />
W2 closes p2<br />
W1 closes p1</p>
<p>level 28<br />
x  p  p  p1 p1 p  p  x  x  x  x  x  x  x  x<br />
x  p  p  x  x  p  p  p  x  x  x  x  x  x  x<br />
w  w  s  x  x  p  p  p  p  x  x  x  x  x  x<br />
w  w  x  x  x  x  x  p  p  p  x  x  x  x  x<br />
w  w  x  x  x  x  x  x  p  p  p  x  x  x  x<br />
w  p  p  p  x  x  x  x  x  p  p  t1 x  x  x<br />
x  p  e  p  x  x  x  x  x  x  p  p  p  p  p2<br />
x  p  p  p  p  p  p  x  x  x  p  W1 p  p  p<br />
x  x  p  x  x  p  p  x  x  x  p  p  p  x  x<br />
x  x  p  x  x  p  p  p  p1 p1 p  p  p3 x  x<br />
&#8212;&#8212;<br />
W1 closes p1<br />
t1 teleports p2, p3</p>
<p>level 29<br />
x  x  W1 p1 p1 p  x  x  x  p  x1 x1 S1 x  x<br />
x  x  x  x  x  p  x  x  x  p  x  x  x  x  x<br />
x  x  x  x  x  p  p  p  p  p  x  x  x  x  x<br />
S2 x2 x2 p  p  p  p  s  p  p  p  p  x3 x3 S3<br />
x  x  x  x  x  p  p  p  p  p  x  x  x  x  x<br />
x  x  x  x  x  x6 p  x  x  p  x  x  x  x  x<br />
x  x  x  x  x  x6 p  x  x  p  p2 p2 W2 x  x<br />
p  p  p  x  x  p  p  x  x  p  x  x  x  x  x<br />
p  e  p  x4 x4 p  x  x  x  p  x  x  x  x  x<br />
p  p  p  x5 x  x  x  x  x  p  p3 p3 W3 x  x<br />
&#8212;&#8211;<br />
W2 opens x2<br />
W3 opens x3<br />
W3 closes p2, x1, p1<br />
S2 opens x4<br />
W1 closes p2<br />
S2 closes p3<br />
S3 opens x5<br />
W1 opens x1<br />
S1 opens x6</p>
<p>level 3<br />
x x x x x x p p p p p p p x x<br />
p p p p x x p p p x x p p x x<br />
p p p p p p p p p x x p p p p<br />
p s p p x x x x x x x p p e p<br />
p p p p x x x x x x x p p p p<br />
x x x x x x x x x x x x p p p<br />
x x x x x x x x x x x x x x x</p>
<p>level 30<br />
x  x  x  p  p  p  p  p  w  w  p  p  p  p  x<br />
x  x  x  p  e  p  p  x  x  x  x  x  w  p  x<br />
x  x  x  p  p  p  x  x  x  x  x  x  w  p  S1<br />
x  x  x  x  x  x  x  w  p  p  p1 p1 p  p  p<br />
x  x  s  x  x  x  x  w  w  x  x  x  x  x  p<br />
x  S2 p  w  x  x  x  w  w  x  x  x  x  x  p<br />
w  w  w  w  x  x  x  p  p  x2 x  x  x2 p  p<br />
w  w  w  p  w  p  w  w  p  w  x  x  S3 p  x1<br />
p  w  w  w  w  w  w  w  w  w  w  w  p  x  x<br />
x  w  p  w  w  w  x  x  w  w  w  w  p  x  x<br />
&#8212;&#8211;<br />
S3 toggles x1<br />
S1 closes p1<br />
S1 opens x2<br />
S2 opens p1</p>
<p>level 31<br />
x  x  x  x  x  x  x  x  x  x  x  p  p  p x1<br />
x  p  p  p  x  x  x  x  S1 x  x  p  e  p x1<br />
x  p  p  p  p3 p3 p  p  p  x3 x3 p  p  p x1<br />
x  p  p  p  x  x  p  p  p  x  x  x  p  x x<br />
x  w  w  w  x  x  W1 p  p  x  x  x  w  x x<br />
x  x  w  x  x  x  p  p  p  x  x  w  w  w x<br />
x  x  p  x  x  x  p  p  p  x  x  p  p  p x<br />
p2 p  p  p  x2 x2 p  W2 p  p1 p1 p  s  p x<br />
p2 p  S2 p  x  x  S3 x  x  x  x  p  p  p x<br />
p2 p  p  p  x  x  x  x  x  x  x  x  x  x x<br />
&#8212;&#8211;<br />
W2 closes p1, x2, p3, x3<br />
W1 closes p1, x2, p3, x3<br />
S1 toggles x3<br />
S3 toggles x2<br />
S2 opens x1<br />
S2 closes p3</p>
<p>level 32<br />
x  x  x  x  x  x  x  x  x  x  x  x  p  S1<br />
x  x  p  p  p1 p1 p  p  x  x  x  p  p  p<br />
x  p  p  p  x3 x3 p  p  x  x  p  S2 p  p<br />
x  p  e  p  x  x  x  p  p  p  p  p  x  x<br />
x  p  p  p  x  x  x  x  p  p  p  x  x  x<br />
x  x  x  x  x  x  x  x  x  p  p  x  x  x<br />
x  x  x  x  p  p  p  x  x  p  s  x  x  x<br />
p  p  x1 x1 p  S3 p  x  x  p  p  x  x  x<br />
p  p  x2 x2 p  p  p  p  p  p  p  x  x  x<br />
&#8212;&#8211;<br />
S1 toggles p1, x1<br />
S2 toggles x2<br />
S3 toggles x3</p>
<p>level 33<br />
x  x  x  x  x  p  p  W1 p  p  p  x  x  x  x<br />
x  x  x  x  x  p  p  p  p  p  p  x1 x  x  x<br />
p  p  p  x  x  W2 p  p  W3 p  p  p  p  p  x<br />
p  s  p  p1 p1 p  p  p  p  W4 W5 p  p  W6 x<br />
x  x  x  x  x  p  p  W7 p  p  W8 p  p  p  x<br />
x  x  x  x  x  p  p  p  p  p  p  W9 p  p  x<br />
p  p  p  x  x  p  p  p  p  p  p  Wa p  p  p<br />
p  e  p  p2 p2 p  Wc p  x  x  p  p  p  Wb S1<br />
p  p  p  x  x  p  p  p  x  x  x  p  p  p  p<br />
p  p  p  x  x  x  x  x  x  x  x  x  p  p  p<br />
&#8212;-<br />
S1 opens x1<br />
W1 closes p2<br />
W2 closes p2<br />
W3 closes p2<br />
W4 closes p2<br />
W5 closes p2<br />
W6 closes p2<br />
W7 closes p2<br />
W8 closes p2<br />
W9 closes p2<br />
Wa closes p2<br />
Wb closes p2<br />
Wc closes p2</p>
<p>level 4<br />
x x x w w w w w w w x x x x<br />
x x x w w w w w w w x x x x<br />
p p p p x x x x x p p p x x<br />
p p p x x x x x x x p p x x<br />
p p p x x x x x x x p p x x<br />
p s p x x p p p p w w w w w<br />
p p p x x p p p p w w w w w<br />
x x x x x p e p x x w w p w<br />
x x x x x p p p x x w w w w</p>
<p>level 5<br />
x x x x  x  x  x  x  x  x  x p p p p<br />
x p p p  p  p1 p1 p  W1 p  p p p s p<br />
x p p W2 p  x  x  x  x  x  x x p p p<br />
p p p p  p  x  x  x  x  x  x x x x x<br />
x p p p  p  x  x  x  x  x  x x x x x<br />
x x x p  p  p  W3 p  p  p  p p p x x<br />
x x x x  x  x  x  x  x  x  p p p p W4<br />
p p p  x x  x  x  x  x  x  p p p p p<br />
p e p  p p  p4 p4 p  p  p  p p p x x<br />
&#8212;-<br />
W4 toggles p4<br />
W3 closes p4<br />
W2 opens p4<br />
W1 toggles p1</p>
<p>level 6<br />
x x x x x p p p p p p x x x x<br />
x x x x x p x x p p p x x x x<br />
x x x x x p x x p p p p p x x<br />
s p p p p p x x x x x p p p p<br />
x x x x p p p x x x x p p e p<br />
x x x x p p p x x x x x p p p<br />
x x x x x x p x x p p x x x x<br />
x x x x x x p p p p p x x x x<br />
x x x x x x p p p p p x x x x<br />
x x x x x x x p p p x x x x x</p>
<p>level 7<br />
x x x x x x x x p p p p x x x<br />
x x x x x x x x p p p p x x x<br />
p p p x x x x x p x x p p p p<br />
p s p p p p p p p x x x p e p<br />
p p p x x x x p p S1 x x p p p<br />
p p p x x x x p p p x x p p p<br />
x p p x1 x x x p x x x x x x x<br />
x x p p p p p p x x x x x x x<br />
&#8212;&#8212;<br />
S1 toggles x1</p>
<p>level 8<br />
x x x x x  x x x x p p  p x x x<br />
x x x x x  x x x x p l1 p x x x<br />
x x x x x  x x x x p p  p x x x<br />
p p p p p  p x x x p p  p p p p<br />
p s p p t1 p x x x p p  p p e p<br />
p p p p p  p x x x p p  p p p p<br />
x x x x x  x x x x p p  p x x x<br />
x x x x x  x x x x p l1 p x x x<br />
x x x x x  x x x x p p  p x x x<br />
&#8212;&#8212;<br />
t1 teleports l1</p>
<p>level 9<br />
p p p p x x x p x x x p p p p<br />
p s l2 p x x x p x x x p l1 t1 p<br />
p p p p p p p p p p p p p p p<br />
x x x x x x p e p x x x x x x<br />
x x x x x x p p p x x x x x x<br />
&#8212;&#8212;&#8211;<br />
t1 teleports l1, l2</p>
<p>&#8212;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rrabarg.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rrabarg.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rrabarg.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rrabarg.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rrabarg.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rrabarg.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rrabarg.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rrabarg.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rrabarg.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rrabarg.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rrabarg.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rrabarg.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rrabarg.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rrabarg.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rrabarg.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rrabarg.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rrabarg.wordpress.com&amp;blog=3705896&amp;post=3&amp;subd=rrabarg&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rrabarg.wordpress.com/2008/05/12/bloxorz-solution/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b42cf6dfc87a7f4f2b1edce6ea29e496?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rrabarg</media:title>
		</media:content>
	</item>
	</channel>
</rss>
