<?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>maze | Learn C Games Programming Blog</title>
	<atom:link href="https://learncgames.com/tag/maze/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>Mon, 22 Mar 2021 19:46:12 +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>maze | 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>Another maze generator and solver in C</title>
		<link>https://learncgames.com/another-maze-generator-and-solver-in-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=another-maze-generator-and-solver-in-c</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Wed, 24 Mar 2021 00:00:23 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Source code]]></category>
		<category><![CDATA[maze]]></category>
		<category><![CDATA[solver]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=2944</guid>

					<description><![CDATA[<p>I liked this one; it compiled perfectly without any changes and ran perfectly. It produces a maze of the specified size with a route. That&#8217;s not bad for a program written over 20 years ago. By developer Joe Wingbermuehle. You can view the source code here. It runs in a terminal, just supply width and [&#8230;]</p>
The post <a href="https://learncgames.com/another-maze-generator-and-solver-in-c/">Another maze generator and solver 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;:84,&quot;href&quot;:&quot;https:\/\/raw.githubusercontent.com\/joewing\/maze\/master\/maze.c&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20250512213511\/https:\/\/raw.githubusercontent.com\/joewing\/maze\/master\/maze.c&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 11:47:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-12 14:28:00&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-17 13:54:06&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-21 14:42:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-26 01:05:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-01 14:50:05&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-04 18:50:33&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-08 05:20:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-12 08:08:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-17 15:26:03&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-22 05:35:14&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-27 18:52:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-01 14:25:39&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-05 00:44:49&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-10 15:04:07&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-13 20:30:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-17 17:47:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-21 01:46:28&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-26 01:54:07&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-26 01:54:07&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img fetchpriority="high" decoding="async" class="alignleft size-medium wp-image-2945" src="https://learncgames.com/wp-content/uploads/2021/03/solved-maze-298x300.png" alt="Solved maze" width="298" height="300" srcset="https://learncgames.com/wp-content/uploads/2021/03/solved-maze-298x300.png 298w, https://learncgames.com/wp-content/uploads/2021/03/solved-maze-150x150.png 150w, https://learncgames.com/wp-content/uploads/2021/03/solved-maze.png 596w" sizes="(max-width: 298px) 100vw, 298px" />I liked this one; it compiled perfectly without any changes and ran perfectly. It produces a maze of the specified size with a route. That&#8217;s not bad for a program written over 20 years ago. By developer Joe Wingbermuehle. You can v<a title="Link to Maze generator and solver" href="https://raw.githubusercontent.com/joewing/maze/master/maze.c" target="_blank" rel="nofollow noopener">iew the source code here</a>.</p>
<p>It runs in a terminal, just supply width and height characters like this. I compiled it into a file ex1.</p>
<pre>./ex1 15 15 s</pre>
<p>If you provide the s parameter, it will solve it as the screenshot shows using &lt;&gt; for the solved route. off for just the maze.</p>The post <a href="https://learncgames.com/another-maze-generator-and-solver-in-c/">Another maze generator and solver 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">2944</post-id>	</item>
		<item>
		<title>Creating a maze in C</title>
		<link>https://learncgames.com/creating-a-maze-in-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-a-maze-in-c</link>
		
		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 09 Oct 2020 23:00:21 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[maze]]></category>
		<guid isPermaLink="false">https://learncgames.com/?p=1570</guid>

					<description><![CDATA[<p>The internet is well not quite awash with maze generators but there certainly are plenty of them about. This one is 100% written in C. There&#8217;s a #define, commented out by default that enables prim&#8217;s algorithm. The default is to use depth-first search instead. If you uncomment the #define movie,. it will save out the [&#8230;]</p>
The post <a href="https://learncgames.com/creating-a-maze-in-c/">Creating a maze 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;:461,&quot;href&quot;:&quot;https:\/\/en.wikipedia.org\/wiki\/User:Dllu\/Maze&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20241212160046\/https:\/\/en.wikipedia.org\/wiki\/User:Dllu\/Maze&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:15:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-13 12:37:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 13:54:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-22 05:50:40&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-26 17:49:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-04 12:25:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 21:00:37&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-11 23:21:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-16 17:58:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-20 04:47:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-27 17:48:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-30 20:53:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-03 10:58:29&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-04-06 18:54:20&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-10 23:43:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-14 06:06:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-17 13:08:45&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-04-22 17:48:41&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-22 17:48:41&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:462,&quot;href&quot;:&quot;https:\/\/en.wikipedia.org\/wiki\/Prim%27s_algorithm&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20260204230226\/https:\/\/en.wikipedia.org\/wiki\/Prim%27s_algorithm&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:15:03&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-02-06 15:15:03&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:463,&quot;href&quot;:&quot;https:\/\/en.wikipedia.org\/wiki\/Depth-first_search&quot;,&quot;archived_href&quot;:&quot;http:\/\/web-wp.archive.org\/web\/20251229051444\/https:\/\/en.wikipedia.org\/wiki\/Depth-first_search&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-02-06 15:15:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 16:49:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-19 19:56:45&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-23 09:25:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-26 17:49:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-04 12:25:20&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 21:00:37&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-12 10:30:30&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-16 17:58:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-20 04:47:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-27 17:48:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-30 20:53:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-03 10:58:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-07 23:12:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-10 23:43:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-14 06:06:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-18 19:20:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-22 17:48:41&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-22 17:48:41&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]'></div>
<p><img decoding="async" class="alignleft size-medium wp-image-1571" src="https://learncgames.com/wp-content/uploads/2020/10/backtracking-maze-300x202.jpg" alt="Backtracking maze" width="300" height="202" srcset="https://learncgames.com/wp-content/uploads/2020/10/backtracking-maze-300x202.jpg 300w, https://learncgames.com/wp-content/uploads/2020/10/backtracking-maze.jpg 440w" sizes="(max-width: 300px) 100vw, 300px" />The internet is well not quite awash with maze generators but there certainly are plenty of them about. <a title="Link to maze generator in C" href="https://en.wikipedia.org/wiki/User:Dllu/Maze" target="_blank" rel="nofollow noopener noreferrer">This one</a> is 100% written in C.</p>
<p>There&#8217;s a #define, commented out by default that enables <a title="Link to Wikipedia about prim's algorithm" href="https://en.wikipedia.org/wiki/Prim%27s_algorithm" target="_blank" rel="nofollow noopener noreferrer">prim&#8217;s algorithm</a>. The default is to use <a title="Link to Wikioedia about depth-first search" href="https://en.wikipedia.org/wiki/Depth-first_search" target="_blank" rel="nofollow noopener noreferrer">depth-first search</a> instead. If you uncomment the #define movie,. it will save out the maze as a series of .bmp files.</p>
<p>I&#8217;ve added the link on to the C Code Links page.</p>
<p>&nbsp;</p>The post <a href="https://learncgames.com/creating-a-maze-in-c/">Creating a maze 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">1570</post-id>	</item>
	</channel>
</rss>
