<?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>Marius Bancila's Blog &#187; WPF</title>
	<atom:link href="http://mariusbancila.ro/blog/category/it/software/net/wpf-net-software-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://mariusbancila.ro/blog</link>
	<description>Sharing my opinions and ideas!</description>
	<lastBuildDate>Mon, 14 Nov 2011 07:19:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>New Colors Game in WPF</title>
		<link>http://mariusbancila.ro/blog/2011/05/10/new-colors-game-in-wpf/</link>
		<comments>http://mariusbancila.ro/blog/2011/05/10/new-colors-game-in-wpf/#comments</comments>
		<pubDate>Tue, 10 May 2011 20:48:54 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[ColorsGame]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=960</guid>
		<description><![CDATA[Last year I posted a small MFC application on my blog, called Colors Game, about covering with a single color a grid initially colored in six colors. It wasn&#8217;t a big deal of an application, but it was fun and recently I decided to write a WPF version of that MFC game. This is the [...]]]></description>
			<content:encoded><![CDATA[<p>Last year I posted a small MFC application on my blog, called <a href="http://mariusbancila.ro/blog/2010/08/04/colors-game/">Colors Game</a>, about covering with a single color a grid initially colored in six colors. It wasn&#8217;t a big deal of an application, but it was fun and recently I decided to write a WPF version of that MFC game. This is the result:</p>
<p><img alt="" src="http://www.mariusbancila.ro/games/colorsgame/colorsgamescreenshot.png" title="ColorsGame screenshot" class="alignnone" width="800" height="600" /></p>
<p>The game is about covering in a single color a grid that starts with each cell colored randomly with one of six possible colors. You must expand the working region initially defined my the top-left cell throughout the entire grid. You select to color this working region with a new color that should match the color of neighboring cells. These cells are then merged into the working region. The game ends when you covered the grid in a single color. However, each level has a maximum allowed number of moves (or colorings) that you can do, and you only complete (or win) the level if you don’t exceed this number.</p>
<p>The image below shows how the working region expands towards the entire grid.<br />
<img alt="" src="http://www.mariusbancila.ro/games/colorsgame/colorgamesprogress.png" title="ColorsGame progress" class="alignnone" width="612" height="402" /></p>
<p>This new game has a more appealing interface and a richer set of features:</p>
<ul>
<li>can select any of the available levels</li>
<li>you can change color themes for windows and for the grid</li>
<li>view statistics about your previous plays in any level</li>
<li>progress and settings are stored on disk and automatically reloaded when starting the application again</li>
</ul>
<p>The game is described in details on this dedicated <a href="http://mariusbancila.ro/blog/games/colors-game/">page</a>. If you download an install the game, you should read that before playing.</p>
<p>If you find the game too easy, then I propose to use one of the more challenging color themes such as the Back and White one. Here is a screenshot:<br />
<img alt="" src="/blog/wp-content/uploads/2011/05/colorsgameblackandwhite.png" title="Black and White" class="alignnone" width="800" height="600" /></p>
<p>Download the latest version of the game from <a href="http://mariusbancila.ro/blog/games/colors-game/">here</a> and enjoy it!</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2011/05/10/new-colors-game-in-wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alchemy Update: 50 New Elements and Hints</title>
		<link>http://mariusbancila.ro/blog/2010/10/06/alchemy-update-50-new-elements-and-hints/</link>
		<comments>http://mariusbancila.ro/blog/2010/10/06/alchemy-update-50-new-elements-and-hints/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 19:22:15 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[Alchemy]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[alchemy]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=730</guid>
		<description><![CDATA[Alchemy 1.3 is the latest update of Alchemy for Windows that brings 50 new exciting elements (taking the total to 350) and new features such as hints. The new elements in this release are focused on games; they include games such as Starcraft, Warcraft, Need For Speed, Tomb Rider, Resident Evil, characters such as Mario, [...]]]></description>
			<content:encoded><![CDATA[<p>Alchemy 1.3 is the latest update of Alchemy for Windows that brings 50 new exciting elements (taking the total to 350) and new features such as hints. The new elements in this release are focused on games; they include games such as Starcraft, Warcraft, Need For Speed, Tomb Rider, Resident Evil, characters such as Mario, Luigi, Yoshi, Jim Raynor, Zeratul, Queen of Blades, Lich King, and the races Zerg, Protoss, Terran, Fire Elemental.</p>
<p><img alt="Alchemy 1.3 new elements" src="/blog/wp-content/uploads/2010/10/alchemy_13.png" class="alignnone" width="386" height="408" /></p>
<p>The new elements are:</p>
<table border=0 cellpadding=0 cellspacing=0 width=300 style='border-collapse:<br />
 collapse;table-layout:fixed;width:226pt'><br />
<col width=150 span=2 style='mso-width-source:userset;mso-width-alt:5485;<br />
 width:113pt'><br />
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 width=150 style='height:15.0pt;width:113pt'>Aluminium</td>
<td class=xl1519377 width=150 style='width:113pt'>Phoenix</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Ant</td>
<td class=xl1519377>Protoss</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Boo mushroom</td>
<td class=xl1519377>Queen of Blades</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Computer game</td>
<td class=xl1519377>Resident Evil</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Diet</td>
<td class=xl1519377>Robot</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Easter egg</td>
<td class=xl1519377>Rust</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Faberge egg</td>
<td class=xl1519377>Salamander</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Fire elemental</td>
<td class=xl1519377>Sniper</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Frog</td>
<td class=xl1519377>Spinning wheel</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Infestation</td>
<td class=xl1519377>Starcraft</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Insects</td>
<td class=xl1519377>Sushi</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Jim Raynor</td>
<td class=xl1519377>Team</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>King</td>
<td class=xl1519377>Termite</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Lara Croft</td>
<td class=xl1519377>Terran</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Leach</td>
<td class=xl1519377>Tomb Raider</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Lich King</td>
<td class=xl1519377>Undead</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Lighthouse</td>
<td class=xl1519377>Vinegar</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Luigi</td>
<td class=xl1519377>Vulture</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Mantis</td>
<td class=xl1519377>Warcraft</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Mario</td>
<td class=xl1519377>Weevil</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Mosquito</td>
<td class=xl1519377>Yarn</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Need for Speed</td>
<td class=xl1519377>Yoshi</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Obesity</td>
<td class=xl1519377>Yoshi egg</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>OneUP</td>
<td class=xl1519377>Zeratul</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1519377 style='height:15.0pt'>Paint</td>
<td class=xl1519377>Zerg</td>
</tr>
</table>
<p>You can find the list with all the 350 elements in Alchemy 1.3 <a href="http://www.mariusbancila.ro/blog/wp-content/uploads/2010/10/alchemyelementsv13.txt">here</a>.</p>
<p>One new cool feature is the availability of hints. Press the new Hints button and a window pops-up displaying one possible element you can create, indicating also one of the two elements used to create it. To close the hints window, just click anywhere on it.<br />
<img alt="" src="/blog/wp-content/uploads/2010/10/alchemy_hints.png" title="Alchemy 1.3 hints" class="alignnone" width="250" height="170" /></p>
<p>Another feature available in version 1.3 is adding elements to the desktop area by double clicking on them in the unlocked elements list. Terminal elements cannot be added to the desktop.</p>
<p><strong>Note</strong>: if you already played Alchemy, just replace the old executable with the new one. Don’t delete the user settings file having your account name and extension .aus, or you loose the elements and combinations you unlocked so far.</p>
<p>Download the latest version from <a href="http://mariusbancila.ro/blog/games/alchemy/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2010/10/06/alchemy-update-50-new-elements-and-hints/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Alchemy for Windows</title>
		<link>http://mariusbancila.ro/blog/2010/09/20/alchemy-for-windows/</link>
		<comments>http://mariusbancila.ro/blog/2010/09/20/alchemy-for-windows/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 18:44:02 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[Alchemy]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[alchemy]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=675</guid>
		<description><![CDATA[I have played recently a great game on Android, called Alchemy, created by Andrey Zaikin. You start with four basic elements, Fire, Water, Air and Earth and you can combine them to get more and more elements. The game was so catching that after finishing it I decided to write my own version for Windows. [...]]]></description>
			<content:encoded><![CDATA[<p>I have played recently a great game on Android, called <a href="http://www.androidtapp.com/alchemy/">Alchemy</a>, created by <a href="http://zed.0xff.me/">Andrey Zaikin</a>. You start with four basic elements, Fire, Water, Air and Earth and you can combine them to get more and more elements. The game was so catching that after finishing it I decided to write my own version for Windows. I chose WPF because I wanted to learn it and because I realized the stuff I wanted to create was too hard to do in MFC. This is my first real application in WPF, and what you see is the result of 4 days of work; in MFC it could have been 4 months, I believe.</p>
<p><a href="/blog/wp-content/uploads/2010/09/alchemy1.png"><img alt="" src="/blog/wp-content/uploads/2010/09/alchemy1.png" title="Alchemy for Windows" class="alignnone" width="850" /></a></p>
<p>You start with the four basic elements: air, earth, fire and water. You can combine them by dragging onto each other on the central area of the window, &#8220;the desktop&#8221;. When new elements are created they are added to one of the two lists from the left area. The top list has elements that can be combined again. The bottom list contains terminal elements, i.e. elements that can no longer be combined. You can drag elements from the non-terminals list back to the desktop area, but not from the terminals list.</p>
<p>You can quickly bring onto the desktop the four basic elements by double clicking on an empty area of it. Double clicking on an element from the desktop creates a duplicate of it. You can remove an element from the desktop by dragging it over the trash can icon. You can remove all the elements from the desktop by double clicking on the trash can.</p>
<p>When the number of elements gets too big scrolling through the list might be cumbersome. You can use the search textbox to filter the elements in the list. As you type only the elements that contain the typed text are displayed. It you press the X button of the textbox or clear its content, the list displays again all the unlocked elements.</p>
<p><img alt="" src="/blog/wp-content/uploads/2010/09/alchemy3.png" title="Filter the elements list" class="alignnone" width="306" height="176" /></p>
<p>On the right area of the window you find a help pane. When you select an element from one of the two lists on the left side, you can see a list of all the unlocked combinations in which the elements appears (either as input or output). </p>
<p>There are also several buttons: Cheat, Wikipedia, Help and About. Button Cheat opens a new window that displays the list of all available elements. So if you get stuck and don&#8217;t know what elements are left to discover you can cheat and see the list.</p>
<p><img alt="" src="/blog/wp-content/uploads/2010/09/alchemy2.png" title="Cheat window" class="alignnone" width="380" height="502" /></p>
<p>Button Wikipedia starts a search on Wikipedia for the currently selected element. Buttons Help and About display information about the game.</p>
<p>Note that your game progress is saved when you close the game and loaded when you start again. The information is stored in a file with your Windows user name and extension .aus. Don&#8217;t delete the file or you lose your game progress.</p>
<p>Here is the alphabetical list of all the 210 elements available in version 1.0:</p>
<table border=0 cellpadding=0 cellspacing=0 width=657 style='border-collapse:<br />
 collapse;table-layout:fixed;width:494pt'><br />
<col width=134 style='mso-width-source:userset;mso-width-alt:4900;width:101pt'>
<col width=125 style='mso-width-source:userset;mso-width-alt:4571;width:94pt'>
<col width=129 style='mso-width-source:userset;mso-width-alt:4717;width:97pt'>
<col width=142 style='mso-width-source:userset;mso-width-alt:5193;width:107pt'>
<col width=127 style='mso-width-source:userset;mso-width-alt:4644;width:95pt'>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 width=134 style='height:15.0pt;width:101pt'>Air</td>
<td class=xl1516279 width=125 style='width:94pt'>Cochineal</td>
<td class=xl1516279 width=129 style='width:97pt'>Gunpowder</td>
<td class=xl1516279 width=142 style='width:107pt'>Ozone</td>
<td class=xl1516279 width=127 style='width:95pt'>Soldier</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Airplane</td>
<td class=xl1516279>Coffin</td>
<td class=xl1516279>Hippopotamus</td>
<td class=xl1516279>Panda</td>
<td class=xl1516279>Star</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Alcohol</td>
<td class=xl1516279>Combustion engine</td>
<td class=xl1516279>Hourglass</td>
<td class=xl1516279>Paper</td>
<td class=xl1516279>Starfish</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Algae</td>
<td class=xl1516279>Computer</td>
<td class=xl1516279>House</td>
<td class=xl1516279>Pearl</td>
<td class=xl1516279>Steam</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Arable</td>
<td class=xl1516279>Concrete</td>
<td class=xl1516279>Hunter</td>
<td class=xl1516279>Penguin</td>
<td class=xl1516279>Steam engine</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Arm</td>
<td class=xl1516279>Continent</td>
<td class=xl1516279>Hut</td>
<td class=xl1516279>Penicillin</td>
<td class=xl1516279>Steamer</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Ash</td>
<td class=xl1516279>Corpse</td>
<td class=xl1516279>Hydrogen</td>
<td class=xl1516279>Perfume</td>
<td class=xl1516279>Stone</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Assassin</td>
<td class=xl1516279>Country</td>
<td class=xl1516279>Ice</td>
<td class=xl1516279>Petroleum</td>
<td class=xl1516279>Storm</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Bacteria</td>
<td class=xl1516279>Darth Vader</td>
<td class=xl1516279>Jedi</td>
<td class=xl1516279>Pie</td>
<td class=xl1516279>Sulfur</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Barbeque</td>
<td class=xl1516279>Desert</td>
<td class=xl1516279>Kerogen</td>
<td class=xl1516279>Pinocchio</td>
<td class=xl1516279>Sun</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Beach</td>
<td class=xl1516279>Diamond</td>
<td class=xl1516279>Knife</td>
<td class=xl1516279>Pizza</td>
<td class=xl1516279>Swamp</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Bear</td>
<td class=xl1516279>Dinosaur</td>
<td class=xl1516279>Lava</td>
<td class=xl1516279>Planet</td>
<td class=xl1516279>Tequila</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Beast</td>
<td class=xl1516279>Dough</td>
<td class=xl1516279>Library</td>
<td class=xl1516279>Plankton</td>
<td class=xl1516279>The Beatles</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Beer</td>
<td class=xl1516279>Dragon</td>
<td class=xl1516279>Lichen</td>
<td class=xl1516279>Plesiosaur</td>
<td class=xl1516279>Thunderstorm</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Beetle</td>
<td class=xl1516279>Dragonfly</td>
<td class=xl1516279>Life</td>
<td class=xl1516279>Poison</td>
<td class=xl1516279>Tiger</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Bicycle</td>
<td class=xl1516279>Dust</td>
<td class=xl1516279>Light</td>
<td class=xl1516279>Poisoned weapon</td>
<td class=xl1516279>Time</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Bird</td>
<td class=xl1516279>Earth</td>
<td class=xl1516279>Lightbulb</td>
<td class=xl1516279>Polar Bear</td>
<td class=xl1516279>Tom and Jerry</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Bitumen</td>
<td class=xl1516279>Egg</td>
<td class=xl1516279>Lightsaber</td>
<td class=xl1516279>Pressure</td>
<td class=xl1516279>Tool</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Boat</td>
<td class=xl1516279>Electricity</td>
<td class=xl1516279>Lime</td>
<td class=xl1516279>Pterosaur</td>
<td class=xl1516279>Tornado</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Boiler</td>
<td class=xl1516279>Energy</td>
<td class=xl1516279>Limestone</td>
<td class=xl1516279>Radar</td>
<td class=xl1516279>Tortoise</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Book</td>
<td class=xl1516279>Fern</td>
<td class=xl1516279>Livestock</td>
<td class=xl1516279>Radio</td>
<td class=xl1516279>Transistor</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Bread</td>
<td class=xl1516279>Fire</td>
<td class=xl1516279>Lizard</td>
<td class=xl1516279>Rain</td>
<td class=xl1516279>Tree</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Brick</td>
<td class=xl1516279>Firearm</td>
<td class=xl1516279>Locomotive</td>
<td class=xl1516279>Rainbow</td>
<td class=xl1516279>Turtle</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Butterfly</td>
<td class=xl1516279>Fish</td>
<td class=xl1516279>Man</td>
<td class=xl1516279>Sand</td>
<td class=xl1516279>Uncut diamond</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Cactus</td>
<td class=xl1516279>Fisherman</td>
<td class=xl1516279>Manure</td>
<td class=xl1516279>Santa claus</td>
<td class=xl1516279>Universe</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Car</td>
<td class=xl1516279>Flour</td>
<td class=xl1516279>Meat</td>
<td class=xl1516279>Scarab</td>
<td class=xl1516279>Vodka</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Carbon dioxide</td>
<td class=xl1516279>Flower</td>
<td class=xl1516279>Metal</td>
<td class=xl1516279>Scientist</td>
<td class=xl1516279>Volcano</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Carmine</td>
<td class=xl1516279>Flu</td>
<td class=xl1516279>Milk</td>
<td class=xl1516279>Scissors</td>
<td class=xl1516279>Wagon</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Cat</td>
<td class=xl1516279>Fly</td>
<td class=xl1516279>Mite</td>
<td class=xl1516279>Scorpion</td>
<td class=xl1516279>Warrior</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Caviar</td>
<td class=xl1516279>Fondue</td>
<td class=xl1516279>Mold</td>
<td class=xl1516279>Seed</td>
<td class=xl1516279>Water</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Cement</td>
<td class=xl1516279>Forest</td>
<td class=xl1516279>Monkey</td>
<td class=xl1516279>Shark</td>
<td class=xl1516279>Watermelon</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Cheese</td>
<td class=xl1516279>Fossil</td>
<td class=xl1516279>Moon</td>
<td class=xl1516279>Shell</td>
<td class=xl1516279>Whale</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Chicken</td>
<td class=xl1516279>Fruit</td>
<td class=xl1516279>Moss</td>
<td class=xl1516279>Silicon</td>
<td class=xl1516279>Wheat</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Chip</td>
<td class=xl1516279>Fugu</td>
<td class=xl1516279>Motorboat</td>
<td class=xl1516279>Sith</td>
<td class=xl1516279>Wheel</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Christmas tree</td>
<td class=xl1516279>Galaxy</td>
<td class=xl1516279>Motorcycle</td>
<td class=xl1516279>Sky</td>
<td class=xl1516279>Wind</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>City</td>
<td class=xl1516279>Gasoline</td>
<td class=xl1516279>Mouse</td>
<td class=xl1516279>Skyscraper</td>
<td class=xl1516279>Wine</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Clay</td>
<td class=xl1516279>Geyser</td>
<td class=xl1516279>Mud</td>
<td class=xl1516279>Snail</td>
<td class=xl1516279>Wood</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Cloth</td>
<td class=xl1516279>Ghost</td>
<td class=xl1516279>Mushroom</td>
<td class=xl1516279>Snake</td>
<td class=xl1516279>Wooden ship</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Clothing</td>
<td class=xl1516279>Glass</td>
<td class=xl1516279>Ocean</td>
<td class=xl1516279>Snow</td>
<td class=xl1516279>Wool</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Cloud</td>
<td class=xl1516279>Grape</td>
<td class=xl1516279>Old man</td>
<td class=xl1516279>Snowman</td>
<td class=xl1516279>Worm</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Coal</td>
<td class=xl1516279>Grass</td>
<td class=xl1516279>Omelette</td>
<td class=xl1516279>Soda water</td>
<td class=xl1516279>Yeast</td>
</tr>
<tr height=20 style='height:15.0pt'>
<td height=20 class=xl1516279 style='height:15.0pt'>Coca cola</td>
<td class=xl1516279>Grove</td>
<td class=xl1516279>Oxygen</td>
<td class=xl1516279>Solar system</td>
<td class=xl1516279>Yogurt</td>
</tr>
</table>
<p><strong>Note</strong>: In order to run the game you need .NET framework 3.5 SP1.</p>
<p>Stay tuned, updates with more elements are coming!</p>
<p><strong>Update</strong>: Download the latest version from <a href="http://mariusbancila.ro/blog/games/alchemy/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2010/09/20/alchemy-for-windows/feed/</wfw:commentRss>
		<slash:comments>139</slash:comments>
		</item>
		<item>
		<title>Reference a XAML From Another Project</title>
		<link>http://mariusbancila.ro/blog/2009/08/26/reference-a-xaml-from-another-project/</link>
		<comments>http://mariusbancila.ro/blog/2009/08/26/reference-a-xaml-from-another-project/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 08:20:21 +0000</pubDate>
		<dc:creator>Marius Bancila</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XAML]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[URI]]></category>

		<guid isPermaLink="false">http://mariusbancila.ro/blog/?p=363</guid>
		<description><![CDATA[When you create a WPF application, the start-up window is by default one from the same project (by default called Window1.xaml). < Application x:Class="WpfApplication1.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="Window1.xaml" > < Application.Resources > < /Application.Resources > < /Application > But what if you want to use a window from another project (class library)? The pack URI scheme, [...]]]></description>
			<content:encoded><![CDATA[<p>When you create a WPF application, the start-up window is by default one from the same project (by default called Window1.xaml). </p>
<pre class="prettyprint">
< Application x:Class="WpfApplication1.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="Window1.xaml" >
    < Application.Resources >

    < /Application.Resources >
< /Application >
</pre>
<p>But what if you want to use a window from another project (class library)? The pack URI scheme, used by WPF, allows you to identify and load files from:</p>
<ul>
<li>the current assembly</li>
<li>a referenced assembly</li>
<li>a location relative to an assembly</li>
<li>the site of origin for the application</li>
</ul>
<p>The format of the pack URI is <strong><em>pack://authority/path</em></strong>. The authority identifies the type of package and the path the location of a part inside a package. There are two authorities supported by WPF:</p>
<ul>
<li>application:/// identifies application data files (known at compile time)</li>
<li>siteoforigin:/// identifies site of origin files</li>
</ul>
<p>To use resource files from a referenced assembly you need to use the application:/// authority, and the path must have the form <strong><em>AssemblyShortName[;Version][;PublicKey];</em>component/<em>Path</em></strong>. Version and PublicKey are optional.</p>
<p>Let&#8217;s say you want to use a XAML called SampleWindow.xaml from a referenced assembly called WpfDemoLib. The App.xaml file should look like this:</p>
<pre class="prettyprint">
< Application x:Class="WpfApplication1.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="pack://application:,,,/WpfDemoLib;component/SampleWindow.xaml" >
    < Application.Resources >

    < /Application.Resources >
< /Application >
</pre>
<p>You can learn more about pack URIs in WPF from <a href="http://msdn.microsoft.com/en-us/library/aa970069.aspx" target="_blank">MSDN</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mariusbancila.ro/blog/2009/08/26/reference-a-xaml-from-another-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

