<?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>chess | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/chess/feed/" rel="self" type="application/rss+xml" />
	<link>https://learncgames.com</link>
	<description>A blog about C, programming games and my ebook(s).</description>
	<lastBuildDate>Thu, 24 Dec 2020 10:49:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://learncgames.com/wp-content/uploads/2020/03/cropped-favicon-32x32.png</url>
	<title>chess | Learn C Games Programming Blog</title>
	<link>https://learncgames.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">181446779</site>	<item>
		<title>An amazing repository of articles on Chess programming</title>
		<link>https://learncgames.com/an-amazing-repository-of-articles-on-chess-programming/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=an-amazing-repository-of-articles-on-chess-programming</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Sat, 26 Dec 2020 00:00:10 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[wiki]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=2175</guid>

					<description><![CDATA[<p>When I went to University, I stayed in the halls of residence and there was a final year student there who was into chess programming- heady stuff for a first year student. It&#8217;s always held a bit of a fascination for me &#8211; I&#8217;ve been playing chess since the age of 11 though never particularly [&#8230;]</p>
The post <a href="https://learncgames.com/an-amazing-repository-of-articles-on-chess-programming/">An amazing repository of articles on Chess programming</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:294,&quot;href&quot;:&quot;https:\/\/pixabay.com\/users\/stevepb-282134\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1511866&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260101071619\/https:\/\/pixabay.com\/users\/stevepb-282134\/?utm_source=link-attribution&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:40:46&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-17 02:45:57&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-02 22:19:58&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-02 22:19:58&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:295,&quot;href&quot;:&quot;https:\/\/pixabay.com\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1511866&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260205102120\/https:\/\/pixabay.com\/?utm_source=link-attribution&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:40:52&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-02-17 02:45:59&quot;,&quot;http_code&quot;:403},{&quot;date&quot;:&quot;2026-04-02 22:19:57&quot;,&quot;http_code&quot;:403}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-02 22:19:57&quot;,&quot;http_code&quot;:403},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:296,&quot;href&quot;:&quot;https:\/\/www.chessprogramming.org\/Main_Page&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260203164433\/https:\/\/www.chessprogramming.org\/Main_Page&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:41:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 22:20:01&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-02 22:20:01&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:297,&quot;href&quot;:&quot;https:\/\/www.chessprogramming.org\/Category:Programming_Language&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260206134524\/https:\/\/www.chessprogramming.org\/Category:Programming_Language&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-04-02 22:20:01&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-02 22:20:01&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:298,&quot;href&quot;:&quot;https:\/\/www.chessprogramming.org\/C&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260130143523\/https:\/\/www.chessprogramming.org\/C&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:42:03&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 22:20:02&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-02 22:20:02&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:299,&quot;href&quot;:&quot;https:\/\/www.chessprogramming.org\/CFish&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260112191105\/https:\/\/www.chessprogramming.org\/CFish&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:42:07&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-02 22:20:02&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-02 22:20:02&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:300,&quot;href&quot;:&quot;https:\/\/www.chessprogramming.org\/Stockfish&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260129070003\/https:\/\/www.chessprogramming.org\/Stockfish&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:42:44&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 22:20:03&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-02 22:20:03&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:301,&quot;href&quot;:&quot;https:\/\/www.chessprogramming.org\/AlphaZero&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251230133848\/https:\/\/www.chessprogramming.org\/AlphaZero&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 13:42:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 02:46:07&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-02 22:20:01&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-02 22:20:01&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]'></div>
<figure id="attachment_2176" aria-describedby="caption-attachment-2176" style="width: 300px" class="wp-caption alignleft"><img fetchpriority="high" decoding="async" class="size-medium wp-image-2176" src="https://learncgames.com/wp-content/uploads/2020/12/checkmate-1511866_640-300x200.jpg" alt="Chess pieces" width="300" height="200" srcset="https://learncgames.com/wp-content/uploads/2020/12/checkmate-1511866_640-300x200.jpg 300w, https://learncgames.com/wp-content/uploads/2020/12/checkmate-1511866_640.jpg 640w" sizes="(max-width: 300px) 100vw, 300px" /><figcaption id="caption-attachment-2176" class="wp-caption-text">Image by <a href="https://pixabay.com/users/stevepb-282134/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1511866">Steve Buissinne</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1511866">Pixabay</a></figcaption></figure>
<p>When I went to University, I stayed in the halls of residence and there was a final year student there who was into chess programming- heady stuff for a first year student. It&#8217;s always held a bit of a fascination for me &#8211; I&#8217;ve been playing chess since the age of 11 though never particularly well. I&#8217;ve found most chess programs could beat me unless I take a great deal of care and spend a long time thinking.</p>
<p>The <a title="Link to CHess Programming Wiki" href="https://www.chessprogramming.org/Main_Page" target="_blank" rel="nofollow noopener">Chess Programming Wiki</a> has almost 4,000 articles on all aspects of chess programming across 7500 pages. If you are interested in chess programming and unfamiliar with this then you are missing out.  This uses the mediawiki software (<em>same as Wikipedia</em>) so can be a little opaque. I&#8217;ve found if you click the <strong>Special pages</strong> link on the left then<strong> All pages</strong> that it gives a much wider overview.</p>
<p>A bit of searching found the <a title="Link to programming l;anguages pages on the chess programming Wiki." href="https://www.chessprogramming.org/Category:Programming_Language" target="_blank" rel="nofollow noopener">programming languages page</a> and disappointingly there is no entry for C although there is a<a title="Link to page on C in the Chess programming Wiki.." href="https://www.chessprogramming.org/C" target="_blank" rel="nofollow noopener"> page on C</a> in the Wiki!  This links to <a title="Link to cfish on the chess programming Wiki." href="https://www.chessprogramming.org/CFish" target="_blank" rel="nofollow noopener">CFish</a>, a C port of the <a title="Link to Stockfish on the chess programming Wiki" href="https://www.chessprogramming.org/Stockfish" target="_blank" rel="nofollow noopener">Stockfish</a> open source chess engine which is mostly C++. If you can write a program to beat beat Stockfish then you are indeed an awesome programmer!</p>
<p>Of course, <a title="Link to AlphaZero on the Chess programming Wiki" href="https://www.chessprogramming.org/AlphaZero" target="_blank" rel="nofollow noopener">AlphaZero</a> has recently dominated play in chess, Go and Shogi. What makes this different is that its mostly self taught using an AI technique called reinforcement learning. You just tell it the rules of chess. This contrasts with &#8220;traditional&#8221; chess programming where moves are determined ahead and evaluation routines called.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/an-amazing-repository-of-articles-on-chess-programming/">An amazing repository of articles on Chess programming</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2175</post-id>	</item>
		<item>
		<title>Chess in C</title>
		<link>https://learncgames.com/chess-in-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=chess-in-c</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 11 Sep 2020 23:00:32 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Game]]></category>
		<category><![CDATA[chess]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=1379</guid>

					<description><![CDATA[<p>I noticed that the Covid lockdown had made streaming of chess games very popular and did a search to see if I could find the source of one in C. The first one I found was actually C++ (cout &#60;&#60; is a bit of a giveaway!) but I found this one by a developer called [&#8230;]</p>
The post <a href="https://learncgames.com/chess-in-c/">Chess in C</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></description>
										<content:encoded><![CDATA[<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:526,&quot;href&quot;:&quot;http:\/\/www.tckerrigan.com\/Chess\/TSCP&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260203104611\/https:\/\/www.tckerrigan.com\/Chess\/TSCP\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:46:24&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-10 09:25:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-14 16:10:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-18 16:23:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-21 18:51:21&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-27 13:29:18&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-03 20:35:13&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-07 15:21:37&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-12 22:32:13&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-16 21:36:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-20 03:17:20&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-23 21:23:55&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-30 17:22:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-02 23:11:40&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-07 21:33:59&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-13 12:46:52&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-16 17:08:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-20 09:51:00&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-20 09:51:00&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img decoding="async" class="alignleft size-full wp-image-1380" src="https://learncgames.com/wp-content/uploads/2020/09/tom-kerrigan-chess.png" alt="Tom Kerrigan Chess" width="370" height="375" srcset="https://learncgames.com/wp-content/uploads/2020/09/tom-kerrigan-chess.png 370w, https://learncgames.com/wp-content/uploads/2020/09/tom-kerrigan-chess-296x300.png 296w" sizes="(max-width: 370px) 100vw, 370px" />I noticed that the Covid lockdown had made streaming of chess games very popular and did a search to see if I could find the source of one in C. The first one I found was actually C++ (<em>cout &lt;&lt; is a bit of a giveaway!</em>) but I found this one by a developer called <a title="Link to Tom Kerrigan Chess" href="http://www.tckerrigan.com/Chess/TSCP/" target="_blank" rel="nofollow noopener noreferrer">Tom Kerrigan</a>. It runs from the command line and the exe is just 157 KB in size.</p>
<p>Note it is copyrighted but he has put his source code out there so if you are interested in seeing how a chess program is written this is an excellent place to start. His code also includes a lot of comments and includes an opening book.</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/chess-in-c/">Chess in C</a> first appeared on <a href="https://learncgames.com">Learn C Games Programming Blog</a>.]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1379</post-id>	</item>
	</channel>
</rss>
