<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Joe Wong&#039;s website</title>
	<atom:link href="http://www.joe-wong.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joe-wong.co.uk</link>
	<description></description>
	<lastBuildDate>Mon, 09 Aug 2010 15:43:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A Strategy for Cube Crasher</title>
		<link>http://www.joe-wong.co.uk/2010/08/a-strategy-for-cube-crasher/</link>
		<comments>http://www.joe-wong.co.uk/2010/08/a-strategy-for-cube-crasher/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 11:58:47 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://joe-wong.co.uk/?p=10</guid>
		<description><![CDATA[Recently I have been playing cube crasher on facebook which is an intuitive yet pretty difficult game to play. Like many games this one in particular has the following features that make it an ideal toy example to solve on &#8230; <a href="http://www.joe-wong.co.uk/2010/08/a-strategy-for-cube-crasher/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_68" class="wp-caption aligncenter" style="width: 310px"><a href="http://joe-wong.co.uk/wp-content/uploads/2010/07/cube-crasher-screenshot.png"><img class="size-medium wp-image-68" title="cube-crasher-screenshot" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/cube-crasher-screenshot-300x219.png" alt="Cube crasher screenshot" width="300" height="219" /></a><p class="wp-caption-text">Cube crasher screen shot</p></div>
<p>Recently I have been playing cube crasher on facebook which is an intuitive yet pretty difficult game to play. Like many games this one in particular has the following features that make it an ideal toy example to solve on the computer:</p>
<ul>
<li>It is deterministic. All moves are performed in discrete time steps and their side effects can be evaluated.</li>
<li>There is no time limit, or at least none that I have found yet.</li>
<li>The game is simple to understand with few rules.</li>
</ul>
<p>The aim of the game is to clear the board by clicking on a minimum number of blocks and progressing through the levels. Blocks can be cleared if they form chains of 3 or more of the same colour. In the screen shot above 126 blocks are required to complete level 1. A higher score is achieved by progressing through the levels and clearing larger chains of blocks.</p>
<p>So why is this game interesting? Well having played it through for more then a day and getting through several levels I decided this could be an interesting problem if solved with a computer. I can create grids, move blocks and run algorithms, what else could be required?</p>
<p>Before playing simulated games on my computer I had to get comfortable with the basics of the game by playing it. The first few games I played were quite random, they taught me about the basics such as how to win/lose and how to gain more points/level. After about a day of playing I started to formulate a strategy. The strategy is simple: chose one colour on the board and clear this, then play as normal. When clearing out the inital blocks a few clusters start to emerge out of the other colours. After clearing the clusters the game is left with a significantly smaller and easier set of blocks to clear.</p>
<p>The first few attempts at playing the game left me with what I would call a random strategy. Just getting to know the game involved clicking about without thinking in too much detail as to how this would affect the game several steps ahead. This random strategy left me with an average score (after several games) of between 30 &#8211; 40k points. Using the strategy just mentioned I now manage to achieve scores between 50 and 60k points which I would consider a significant improvement.</p>
<p>What&#8217;s next? I&#8217;m currently finishing off a simulated version of the game which may contain a limited amount of features like the real game. The lack of features is mostly due to not having completed the whole game yet. I am using the A* search algorithm to find a good path through the solution space, I will blog about this in a post soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joe-wong.co.uk/2010/08/a-strategy-for-cube-crasher/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Penang February 2010 Holiday Snaps</title>
		<link>http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/</link>
		<comments>http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 15:02:23 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[images]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://joe-wong.co.uk/?p=19</guid>
		<description><![CDATA[A small selection of images from my Malaysia trip during this February. All images were taken on my phone. The evening images weren&#8217;t great due to the lack of a flash.]]></description>
			<content:encoded><![CDATA[<p>A small selection of images from my Malaysia trip during this February. All images were taken on my phone. The evening images weren&#8217;t great due to the lack of a flash.</p>

<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-05-22-56-04/' title='2010-02-05 22.56.04'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-05-22.56.04-150x150.jpg" class="attachment-thumbnail" alt="Drink" title="2010-02-05 22.56.04" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-07-21-33-55/' title='2010-02-07 21.33.55'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-07-21.33.55-150x150.jpg" class="attachment-thumbnail" alt="Durian close up" title="2010-02-07 21.33.55" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-10-09-06-26/' title='2010-02-10 09.06.26'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-10-09.06.26-150x150.jpg" class="attachment-thumbnail" alt="Hawker stalls" title="2010-02-10 09.06.26" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-10-09-31-41/' title='2010-02-10 09.31.41'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-10-09.31.41-150x150.jpg" class="attachment-thumbnail" alt="Veg stall" title="2010-02-10 09.31.41" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-07-15-41-52/' title='2010-02-07 15.41.52'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-07-15.41.52-150x150.jpg" class="attachment-thumbnail" alt="Chinese new year cake" title="2010-02-07 15.41.52" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-11-11-29-05/' title='2010-02-11 11.29.05'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-11-11.29.05-150x150.jpg" class="attachment-thumbnail" alt="Repair shop" title="2010-02-11 11.29.05" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-13-09-42-16/' title='2010-02-13 09.42.16'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-13-09.42.16-150x150.jpg" class="attachment-thumbnail" alt="Goldfish" title="2010-02-13 09.42.16" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-12-12-16-33/' title='2010-02-12 12.16.33'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-12-12.16.33-150x150.jpg" class="attachment-thumbnail" alt="Prangin Mall display" title="2010-02-12 12.16.33" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-13-23-57-19/' title='2010-02-13 23.57.19'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-13-23.57.19-150x150.jpg" class="attachment-thumbnail" alt="Inside temple" title="2010-02-13 23.57.19" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-14-00-02-00/' title='2010-02-14 00.02.00'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-14-00.02.00-150x150.jpg" class="attachment-thumbnail" alt="Temple outside view" title="2010-02-14 00.02.00" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-16-09-42-40/' title='2010-02-16 09.42.40'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-16-09.42.40-150x150.jpg" class="attachment-thumbnail" alt="Char Koay Teow" title="2010-02-16 09.42.40" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-16-10-31-07/' title='2010-02-16 10.31.07'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-16-10.31.07-150x150.jpg" class="attachment-thumbnail" alt="Starbucks advert" title="2010-02-16 10.31.07" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-16-10-56-17/' title='2010-02-16 10.56.17'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-16-10.56.17-150x150.jpg" class="attachment-thumbnail" alt="Chew Jetty" title="2010-02-16 10.56.17" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-19-19-18-36/' title='2010-02-19 19.18.36'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-19-19.18.36-150x150.jpg" class="attachment-thumbnail" alt="Char Koay Kak" title="2010-02-19 19.18.36" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-09-21-18/' title='2010-02-20 09.21.18'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-09.21.18-150x150.jpg" class="attachment-thumbnail" alt="Plant at Camerron highlands" title="2010-02-20 09.21.18" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-10-16-38/' title='2010-02-20 10.16.38'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-10.16.38-150x150.jpg" class="attachment-thumbnail" alt="Butterfly in butterfly farm" title="2010-02-20 10.16.38" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-10-32-52/' title='2010-02-20 10.32.52'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-10.32.52-150x150.jpg" class="attachment-thumbnail" alt="On the way to the tea farm in Cameroon highlands" title="2010-02-20 10.32.52" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-10-52-34/' title='2010-02-20 10.52.34'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-10.52.34-150x150.jpg" class="attachment-thumbnail" alt="Tea" title="2010-02-20 10.52.34" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-11-20-39/' title='2010-02-20 11.20.39'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-11.20.39-150x150.jpg" class="attachment-thumbnail" alt="Tea tarik" title="2010-02-20 11.20.39" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-11-23-42/' title='2010-02-20 11.23.42'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-11.23.42-150x150.jpg" class="attachment-thumbnail" alt="Tea plantation" title="2010-02-20 11.23.42" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-11-53-13/' title='2010-02-20 11.53.13'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-11.53.13-150x150.jpg" class="attachment-thumbnail" alt="Hive" title="2010-02-20 11.53.13" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-11-56-30/' title='2010-02-20 11.56.30'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-11.56.30-150x150.jpg" class="attachment-thumbnail" alt="Hive 2" title="2010-02-20 11.56.30" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-20-14-12-28/' title='2010-02-20 14.12.28'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-20-14.12.28-150x150.jpg" class="attachment-thumbnail" alt="Traditional Malay house" title="2010-02-20 14.12.28" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-21-13-23-06/' title='2010-02-21 13.23.06'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-21-13.23.06-150x150.jpg" class="attachment-thumbnail" alt="Yon Yin Meal" title="2010-02-21 13.23.06" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-22-09-15-12/' title='2010-02-22 09.15.12'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-22-09.15.12-150x150.jpg" class="attachment-thumbnail" alt="Koay Kak" title="2010-02-22 09.15.12" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-22-14-22-36/' title='2010-02-22 14.22.36'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-22-14.22.36-150x150.jpg" class="attachment-thumbnail" alt="Chinese tea" title="2010-02-22 14.22.36" /></a>
<a href='http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/2010-02-22-14-31-55/' title='2010-02-22 14.31.55'><img width="150" height="150" src="http://joe-wong.co.uk/wp-content/uploads/2010/07/2010-02-22-14.31.55-150x150.jpg" class="attachment-thumbnail" alt="Crispy noodles" title="2010-02-22 14.31.55" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.joe-wong.co.uk/2010/07/penang-february-2010-holiday-snaps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://www.joe-wong.co.uk/2010/07/welcome/</link>
		<comments>http://www.joe-wong.co.uk/2010/07/welcome/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 22:18:12 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://joe-wong.co.uk/?p=7</guid>
		<description><![CDATA[Hi there, welcome to my word press powered website! I work with computers and technology and now in my spare time I shall be reaching out and blogging on as much as I can. This site will document thoughts, ideas &#8230; <a href="http://www.joe-wong.co.uk/2010/07/welcome/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi there, welcome to my word press powered website! I work with computers and technology and now in my spare time I shall be reaching out and blogging on as much as I can. This site will document thoughts, ideas and other interesting stuff that I have found.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joe-wong.co.uk/2010/07/welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
