<?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>Alberto Alonso Ruibal&#039;s Blog &#187; chess</title>
	<atom:link href="http://www.alonsoruibal.com/tag/chess/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alonsoruibal.com</link>
	<description>Telecommunication Engineer at Vigo (Pontevedra), Galicia</description>
	<lastBuildDate>Fri, 18 Jun 2010 20:31:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tales of a chess engine developer</title>
		<link>http://www.alonsoruibal.com/tales-of-a-chess-engine-developer/</link>
		<comments>http://www.alonsoruibal.com/tales-of-a-chess-engine-developer/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 22:00:19 +0000</pubDate>
		<dc:creator>rui</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.alonsoruibal.com/?p=534</guid>
		<description><![CDATA[Chess engine development is one of the most brain-crushing activities I&#8217;ve been involved on the last years. Last nigths I was working again on my Carballo Chess Engine with some advances.
First of all I decided to leave Negamax and go with Principal Variation Search (PVS). Also decided to implement separate methods for root nodes, PV [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.alonsoruibal.com/wp-content/uploads/2009/09/pawn.png" alt="" title="pawn" width="159" height="125" class="alignleft size-full wp-image-311" />Chess engine development is one of the most brain-crushing activities I&#8217;ve been involved on the last years. Last nigths I was working again on my Carballo Chess Engine with some advances.</p>
<p>First of all I decided to leave Negamax and go with Principal Variation Search (PVS). Also decided to implement separate methods for root nodes, PV nodes and null window searches. On previous experiments PVS was performing worse than Negamax, but I discovered the reason: the aspiration window has some implementation issues with PVS: when the search for a move fails low at the root node the move must be researched enlarging the window.</p>
<p>I was very stranged of why Futiliy Pruning was not working for me, but finally discovered the reason: a simple sign change after evaluation was the reason! Also implemented to store the evaluation values on the Transposition Table (TT).</p>
<p>The next step: why Carballo searched much less depths than other engines, it was due to quiescence search. I was generating checks for the first 4 PLY&#8217;s of quiescence, but some other engines not, so this was the reason. I decide to generate only checks on the first PLY of quiescence and only for PV nodes. Also modified a bit the move generation to optimize for quiescence.</p>
<p>During this time also found many interesting bugs, I was storing on the TT the bound and not the score when failing high/low, also on PV nodes is better to use only the TT for ordering and not to return scores from it, this helps avoiding draws. Also found a serious bugs involving time management (was taking as reference opponent&#8217;s time) and with contempt factor on IID searches corrupting TT entries. Finally added a Pawn Push Extension and removed the Recapture Extension and now some extensions now depend of the node type.</p>
<p>Running some test tournaments, I hope to get some good results soon and add the improved engine to my <a href="http://www.mobialia.com/chess">Mobialia Chess</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonsoruibal.com/tales-of-a-chess-engine-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jim Ablett&#8217;s Carballo packaging</title>
		<link>http://www.alonsoruibal.com/jim_abletts_carballo/</link>
		<comments>http://www.alonsoruibal.com/jim_abletts_carballo/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 21:10:42 +0000</pubDate>
		<dc:creator>rui</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.alonsoruibal.com/?p=521</guid>
		<description><![CDATA[
Jim Ablett has published a packaged executable for my Carballo chess engine. He also made a pretty logo for it, shown here. Check his page to download executables for Carballo and a lot of other chess engines: Jim Ablett&#8217;s Winboard Chess Page. Thanks Jim for your great work!
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.alonsoruibal.com/wp-content/uploads/2010/06/carballo_jim_ablett.gif" alt="" title="carballo_jim_ablett" width="100" height="50" class="alignleft size-full wp-image-523" /></p>
<p>Jim Ablett has published a packaged executable for my Carballo chess engine. He also made a pretty logo for it, shown here. Check his page to download executables for Carballo and a lot of other chess engines: <a href="http://homepages.tesco.net/henry.ablett/jims.html">Jim Ablett&#8217;s Winboard Chess Page</a>. Thanks Jim for your great work!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonsoruibal.com/jim_abletts_carballo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobialia Chess for Android</title>
		<link>http://www.alonsoruibal.com/mobialia_chess/</link>
		<comments>http://www.alonsoruibal.com/mobialia_chess/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 10:12:17 +0000</pubDate>
		<dc:creator>rui</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[chess]]></category>

		<guid isPermaLink="false">http://www.alonsoruibal.com/?p=475</guid>
		<description><![CDATA[The new version 2.0 adds the support to play online on freechess.org (FICS). You can play against people all around the world and compare your chess knowledge. Thousands of hours of entertainment with this new version.
Also has many improvements on the interface and gameplay, which makes Mobialia Chess 2.0 the best chess app for Android.
Try [...]]]></description>
			<content:encoded><![CDATA[<p>The new version 2.0 adds the support to play online on freechess.org (FICS). You can play against people all around the world and compare your chess knowledge. Thousands of hours of entertainment with this new version.</p>
<p>Also has many improvements on the interface and gameplay, which makes Mobialia Chess 2.0 <strong>the best chess app for Android</strong>.</p>
<p>Try it! The LITE version is free, and the complete version is avaiable for only 1.99 EUR at the Android Market.</p>
<p>Check all the Mobialia Chess for Android features at <a href="http://www.mobialia.com/chess">http://www.mobialia.com/chess</a></p>

<div class="ngg-galleryoverview" id="ngg-gallery-3-475">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-292" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/chessdroid_screenshot_intro_3.png" title=" " class="thickbox" rel="set_3" >
								<img title="chessdroid_screenshot_intro_3" alt="chessdroid_screenshot_intro_3" src="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/thumbs/thumbs_chessdroid_screenshot_intro_3.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-291" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/chessdroid_screenshot_prefs_1.png" title=" " class="thickbox" rel="set_3" >
								<img title="chessdroid_screenshot_prefs_1" alt="chessdroid_screenshot_prefs_1" src="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/thumbs/thumbs_chessdroid_screenshot_prefs_1.png" width="97" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-289" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/chessdroid_screenshot3_1.png" title=" " class="thickbox" rel="set_3" >
								<img title="chessdroid_screenshot3_1" alt="chessdroid_screenshot3_1" src="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/thumbs/thumbs_chessdroid_screenshot3_1.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-286" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/chessdroid_screenshot1_0.png" title=" " class="thickbox" rel="set_3" >
								<img title="chessdroid_screenshot1_0" alt="chessdroid_screenshot1_0" src="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/thumbs/thumbs_chessdroid_screenshot1_0.png" width="97" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-283" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/chessdroid_screenshot_online_0.png" title=" " class="thickbox" rel="set_3" >
								<img title="chessdroid_screenshot_online_0" alt="chessdroid_screenshot_online_0" src="http://www.alonsoruibal.com/wp-content/gallery/chessdroid/thumbs/thumbs_chessdroid_screenshot_online_0.png" width="97" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.alonsoruibal.com/mobialia_chess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great GWT UI for Carballo Chess Engine</title>
		<link>http://www.alonsoruibal.com/great-gwt-ui-for-carballo-chess-engine/</link>
		<comments>http://www.alonsoruibal.com/great-gwt-ui-for-carballo-chess-engine/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 10:20:37 +0000</pubDate>
		<dc:creator>rui</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.alonsoruibal.com/?p=414</guid>
		<description><![CDATA[Lukas Laag has written me about his new  GUI for the Carballo Chess Engine  using the Google Web Toolkit (GWT) and his SVG Graphics Library for GWT, libgwtsvg.
GWT is provided from Google to develop applications in Javascript programming in Java. It conterts the Java code to Javascript, and the application is run on the browser, [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-415 alignleft" title="libgwtsvg-chess" src="http://www.alonsoruibal.com/wp-content/uploads/2009/12/libgwtsvg-chess.png" alt="libgwtsvg-chess" width="300" height="252" />Lukas Laag has written me about his new  GUI for the Carballo Chess Engine  using the Google Web Toolkit (GWT) and his SVG Graphics Library for GWT, <a title="libgwtsvg" href="http://www.vectomatic.org/?page_id=8" target="_blank">libgwtsvg</a>.</p>
<p>GWT is provided from Google to develop applications in Javascript programming in Java. It conterts the Java code to Javascript, and the application is run on the browser, without any additional plugin.</p>
<p>This interface is quite better than the sample Applet from Carballo, it has move history, legal move hightlighting, and SVN graphics. It can be used from:</p>
<p><a href="http://www.vectomatic.org/gwt/libgwtsvg-chess/libgwtsvg-chess.html#0" target="_blank">http://www.vectomatic.org/gwt/libgwtsvg-chess/libgwtsvg-chess.html</a></p>
<p>He also wrote an <a href="http://www.vectomatic.org/?p=95" target="_blank">article</a> explaining the difficulties of his project. Thanks Lukas for your work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonsoruibal.com/great-gwt-ui-for-carballo-chess-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carballo Chess Engine 0.3</title>
		<link>http://www.alonsoruibal.com/carballo-chess-engine-0-3/</link>
		<comments>http://www.alonsoruibal.com/carballo-chess-engine-0-3/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 14:44:58 +0000</pubDate>
		<dc:creator>rui</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.alonsoruibal.com/?p=341</guid>
		<description><![CDATA[At last, the first &#8220;stable&#8221; release of my chess engine. The main new features are:

Static Exchange Evaluator (SEE): the biggest change,  affects move ordering introducing more move generation phases, also affects LMR, etc.
New &#8220;experimental&#8221; evaluation function, with King Safety, X-Ray attacks and improved mobility
Recapture extension, also changed a lot the extension mechanics adding fractional extensions
Quiescense [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-311 alignright" title="pawn" src="http://www.alonsoruibal.com/wp-content/uploads/2009/09/pawn.png" alt="pawn" width="159" height="125" />At last, the first &#8220;stable&#8221; release of my chess engine. The main new features are:</p>
<ul>
<li>Static Exchange Evaluator (SEE): the biggest change,  affects move ordering introducing more move generation phases, also affects LMR, etc.</li>
<li>New &#8220;experimental&#8221; evaluation function, with King Safety, X-Ray attacks and improved mobility</li>
<li>Recapture extension, also changed a lot the extension mechanics adding fractional extensions</li>
<li>Quiescense search now only generate checks the first 4 PLYs and follows only good captures</li>
<li>UCI Options: can configure Hash Size, Book, LRM, IID, extensions, the evaluator to use, etc.</li>
<li>Bugs with draw detection by the 50 move rule (I was doing at 50 PLY), and lots of other small bugs solved</li>
</ul>
<p>Finally the Negascout code did not improve results at tournaments, so all the Negascout code is commented in the SearchEngine. I&#8217;ll continue to investigate.</p>
<p>With this release I include an package to run the program from chess GUIs like <a href="http://www.playwitharena.com" target="_blank">Arena</a>, so now it can be included in &#8220;official&#8221; tournaments.</p>
<p>ELO at tests had a big increase from last version. Now scores over 2330 ELO points at BT2630 test (from the 2100 of Carballo 0.2). Also the positions solved of the &#8220;win at chess&#8221; test are now 275 of 300 (from the previous 237/300), well, also helped that the EPD parser had a bug and didn&#8217;t work well with positions with more than one solution. In LCT II also scores 2300 ELO. All the tests results are in the SVN, at the folder &#8220;testresults&#8221;.</p>
<p>But at tournament (playing against other java chess engines), the improvement is not so much. Now I think is over BrembroCE, but remains behind Jonathan Pettersson&#8217;s <a href="http://mediocre.blogspot.com" target="_blank">Mediocre</a>, <a href="http://www.alfchess.dk/" target="_blank">Alf</a> and <a href="http://chess.winkelhagen.com/" target="_blank">Frank Walter</a> chess engines. I will center the next testing in tournament play.</p>
<p><a href="http://www.alonsoruibal.com/chess/">Play Against Carballo Chess Engine</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonsoruibal.com/carballo-chess-engine-0-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carballo Chess Engine</title>
		<link>http://www.alonsoruibal.com/carballo-chess-engine/</link>
		<comments>http://www.alonsoruibal.com/carballo-chess-engine/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 16:01:39 +0000</pubDate>
		<dc:creator>rui</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.alonsoruibal.com/?p=299</guid>
		<description><![CDATA[Two months ago I read a post about Toledo Nanochess in Microsiervos, and remembered my failed attemps to make a chess program in Pascal/Assembler when I was younger. So 13 years later I wrote my chess program from scratch in Java. I did it in two months at after-hours, reading a lot at the Chess [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-311" title="pawn" src="http://www.alonsoruibal.com/wp-content/uploads/2009/09/pawn.png" alt="pawn" width="159" height="125" />Two months ago I read a post about Toledo Nanochess in Microsiervos, and remembered my failed attemps to make a chess program in Pascal/Assembler when I was younger. So 13 years later I wrote my chess program from scratch in Java. I did it in two months at after-hours, reading a lot at the <a href="http://chessprogramming.wikispaces.com">Chess Programming Wiki</a>, and here is the result:</p>
<p><a href="http://www.alonsoruibal.com/chess/" target="_blank">Play Against Carballo Chess Engine</a></p>
<p>It is a work-in progress, but a good framework to test some ideas in chess programming and good enought to play some interesting games against it (well, actually I am not able to win it, but I am a very poor chess player).</p>
<p>Now I&#8217;m mounting my kitchen from Ikea, so I haven&#8217;t time to improve Carballo, but in a near future I&#8217;ll continue working on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonsoruibal.com/carballo-chess-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
